UNPKG

cannoli-interfaces

Version:
33 lines (32 loc) 975 B
"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;