EchoTex_Payroll/HRM.UI/ClientApp/src/app/_models/HREmployee/empContact.ts

78 lines
2.6 KiB
TypeScript
Raw Normal View History

2024-10-14 10:01:49 +06:00
import {District} from '../HRBasic/district';
import {Thana} from '../HRBasic/thana';
import {Relation} from '../HRBasic/relation';
import {EnumProfileStatus} from '../enums';
import {BaseObject} from '../Basic/baseObject';
export class EmpContact extends BaseObject {
employeeID: number;
permanentAddress: string;
profileStatus: EnumProfileStatus;
permanentDistrictID: number;
permanentDistrict: District;
permanentThanaID: number;
permanentThana: Thana;
permanentTelephone: string;
permanentMobile: string;
presentAddress: string;
presentDistrictID: number;
presentDistrict: District;
presentThanaID: number;
presentThana: Thana;
presentTelephone: string;
presentMobile: string;
mobile: string;
personalTelephone: string;
personalEmail: string;
officalEmail: string;
fax: string;
emergencyContactAddress: string;
emergencyContactPerson: string;
emergencyTelephone: string;
emergencyMobile: string;
contactPersonRelationId: number;
contactPersonRelation: Relation;
permanentAddressInBangla: string;
presentAddressInBangla: string;
permanentPostCodeNo: string;
presentPostCodeNo: string;
presentPOInBangla: string;
parmanentPOInBangla: string;
constructor() {
super();
this.employeeID = undefined;
this.permanentAddress = '';
this.permanentAddressInBangla = '';
this.profileStatus = EnumProfileStatus.Approve;
this.permanentDistrictID = undefined;
this.permanentDistrict = new District();
this.permanentThanaID = undefined;
this.permanentThana = new Thana();
this.permanentTelephone = '';
this.permanentMobile = '';
this.permanentPostCodeNo ='';
this.presentAddress = '';
this.presentAddressInBangla = '';
this.presentDistrictID = undefined;
this.presentDistrict = new District();
this.presentThanaID = undefined;
this.presentThana = new Thana();
this.presentTelephone = '';
this.presentMobile = '';
this.presentPostCodeNo = '';
this.mobile = '';
this.personalTelephone = '';
this.personalEmail = '';
this.officalEmail = '';
this.fax = '';
this.emergencyContactAddress = '';
this.emergencyContactPerson = '';
this.emergencyTelephone = '';
this.emergencyMobile = '';
this.contactPersonRelationId = undefined;
this.contactPersonRelation = new Relation();
this.presentPOInBangla ='';
this.parmanentPOInBangla = '';
}
}