"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    AddOrUpdatePrinterDto: function() {
        return AddOrUpdatePrinterDto;
    },
    CreateFloorDto: function() {
        return CreateFloorDto;
    },
    FloorDto: function() {
        return FloorDto;
    },
    PositionDto: function() {
        return PositionDto;
    },
    PrinterInFloorDto: function() {
        return PrinterInFloorDto;
    },
    UpdateFloorDto: function() {
        return UpdateFloorDto;
    }
});
const _classvalidator = require("class-validator");
function _ts_decorate(decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
}
function _ts_metadata(k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
}
class PositionDto {
    x;
    y;
    printerId;
    floorId;
}
class PrinterInFloorDto {
    id;
    x;
    y;
    printerId;
}
class FloorDto {
    id;
    name;
    floor;
    printers;
}
class CreateFloorDto {
    printers;
    name;
    floor;
}
_ts_decorate([
    (0, _classvalidator.IsOptional)(),
    _ts_metadata("design:type", Array)
], CreateFloorDto.prototype, "printers", void 0);
_ts_decorate([
    (0, _classvalidator.IsNotEmpty)(),
    _ts_metadata("design:type", String)
], CreateFloorDto.prototype, "name", void 0);
_ts_decorate([
    (0, _classvalidator.IsDefined)(),
    (0, _classvalidator.IsNumber)(),
    _ts_metadata("design:type", Number)
], CreateFloorDto.prototype, "floor", void 0);
class UpdateFloorDto {
    printers;
    name;
    floor;
}
_ts_decorate([
    (0, _classvalidator.IsOptional)(),
    _ts_metadata("design:type", Array)
], UpdateFloorDto.prototype, "printers", void 0);
_ts_decorate([
    (0, _classvalidator.IsDefined)(),
    _ts_metadata("design:type", String)
], UpdateFloorDto.prototype, "name", void 0);
_ts_decorate([
    (0, _classvalidator.IsDefined)(),
    (0, _classvalidator.IsNumber)(),
    _ts_metadata("design:type", Number)
], UpdateFloorDto.prototype, "floor", void 0);
class AddOrUpdatePrinterDto {
    printerId;
}

//# sourceMappingURL=floor.dto.js.map