UNPKG

cecon-interfaces

Version:
28 lines (27 loc) 814 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClientEntity = void 0; var general_1 = require("../../general"); var ClientEntity = /** @class */ (function () { // #endregion Properties (7) // #region Constructors (1) function ClientEntity(data) { // #region Properties (7) this.address = null; this.aplications = []; this.doc = null; this.docType = general_1.EDocType.CPF; this.email = null; this.id = ''; this.name = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return ClientEntity; }()); exports.ClientEntity = ClientEntity;