49 lines
1.5 KiB
TypeScript
49 lines
1.5 KiB
TypeScript
import {NominationPurpose} from '../HRBasic/nomination-purpose';
|
|
import {Relation} from '../HRBasic/relation';
|
|
import {Occupation} from '../HRBasic/occupation';
|
|
import {EnumProfileStatus} from '../enums';
|
|
import {BaseObject} from '../Basic/baseObject';
|
|
import {empFileuploads} from './hrEmployee';
|
|
|
|
export class EmpNominee extends BaseObject {
|
|
employeeID: number;
|
|
nominationPurposeID: number;
|
|
nominationPurpose: NominationPurpose;
|
|
nominationDate: Date;
|
|
name: string;
|
|
relationID: number;
|
|
relation: Relation;
|
|
percentage: number;
|
|
birthDate: Date;
|
|
occupationID: number;
|
|
occupation: Occupation;
|
|
address: string;
|
|
telePhone: string;
|
|
nomineeMobileNo: string;
|
|
photograph: empFileuploads;
|
|
signature: empFileuploads;
|
|
emailAddress: string;
|
|
profileStatus: EnumProfileStatus;
|
|
hasPicture: boolean;
|
|
hasSignature: boolean;
|
|
constructor() {
|
|
super();
|
|
this.employeeID = null;
|
|
this.nominationPurposeID = null;
|
|
this.nominationDate = new Date();
|
|
this.name = '';
|
|
this.relationID = null;
|
|
this.percentage = null;
|
|
this.birthDate = new Date();
|
|
this.occupationID = null;
|
|
this.address = '';
|
|
this.telePhone = '';
|
|
this.photograph = new empFileuploads();
|
|
this.signature = new empFileuploads();
|
|
this.emailAddress = '';
|
|
this.nomineeMobileNo = '';
|
|
this.hasSignature = false;
|
|
this.hasPicture = false;
|
|
}
|
|
}
|