import { Base } from './base'; import { DeviceInformation } from './deviceInformation'; import { BankInformation } from './bankInformation'; import { WorkInformation } from './workInformation'; export class Employee extends Base { uid?: string; imageURL?: string; taxationIdentificationNumber?: string; nationalIdentificationNumber?: string; socialSecurityNumber?: string; retirementSaving?: string; firstName?: string; middleName?: string; firstLastName?: string; secondLastName?: string; maritalStatus?: string; birthDate?: Date; modificationDate?: Date; updatedOn?: Date; deviceInformation?: DeviceInformation; bankInformation?: BankInformation; workInformation?: WorkInformation; constructor(data: any | null = null) { super(); this.uid = ''; this.imageURL = ''; this.taxationIdentificationNumber = ''; this.nationalIdentificationNumber = ''; this.socialSecurityNumber = ''; this.retirementSaving = ''; this.firstName = ''; this.middleName = ''; this.firstLastName = ''; this.secondLastName = ''; this.maritalStatus = ''; this.birthDate = new Date(); this.modificationDate = new Date(); this.updatedOn = new Date(); this.deviceInformation = new DeviceInformation(); this.bankInformation = new BankInformation(); this.workInformation = new WorkInformation(); this.load(data); } }