cannoli-interfaces
Version:
Interfaces de Projetos Cannoli
33 lines (32 loc) • 975 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OperatorEntity = void 0;
var OperatorEntity = /** @class */ (function () {
function OperatorEntity(data) {
this.active = true;
this.id = '';
this.companies = [];
this.name = '';
this.doc = null;
this.email = null;
this.internationalCode = '+55';
this.phoneNumber = '';
this.phoneNumberVerified = false;
this.phoneNumberVerifiedAt = null;
this.imageUrl = null;
this.tags = [];
this.username = '';
this.password = '';
this.createdAt = new Date();
this.updatedAt = new Date();
if (data) {
for (var key in data) {
if (data.hasOwnProperty(key) && key in this) {
this[key] = data[key];
}
}
}
}
return OperatorEntity;
}());
exports.OperatorEntity = OperatorEntity;