cecon-interfaces
Version:
Interfaces de Projetos Cecon
26 lines (25 loc) • 862 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayioPreparationPlaceEntity = void 0;
var mode_enum_1 = require("../enums/mode.enum");
var PayioPreparationPlaceEntity = /** @class */ (function () {
function PayioPreparationPlaceEntity(data) {
this.createdAt = new Date();
this.id = '';
this.mode = mode_enum_1.EPayioPreparationPlaceMode.IP;
this.name = '';
this.notes = '';
this.tags = [];
this.updatedAt = new Date();
this.url = '';
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return PayioPreparationPlaceEntity;
}());
exports.PayioPreparationPlaceEntity = PayioPreparationPlaceEntity;