30 lines
838 B
TypeScript
30 lines
838 B
TypeScript
import {BaseObject} from '../Basic/baseObject';
|
|
import {Employee} from '../Employee/employee';
|
|
import {OutsideDuty} from './outsideDuty';
|
|
|
|
export class EmployeeOutsideDuty extends BaseObject {
|
|
employeeID: number;
|
|
employee: Employee;
|
|
employeeNo: string;
|
|
employeeName: string;
|
|
entryDate: Date;
|
|
startDate: Date;
|
|
endDate: Date;
|
|
comments: string;
|
|
outsideDutyID: number;
|
|
outsideDuty: OutsideDuty;
|
|
constructor() {
|
|
super();
|
|
this.employeeID = undefined;
|
|
this.employeeNo = '';
|
|
this.employeeName = '';
|
|
this.employee = new Employee();
|
|
this.entryDate = new Date();
|
|
this.startDate = new Date();
|
|
this.endDate = new Date();
|
|
this.comments = '';
|
|
this.outsideDutyID = undefined;
|
|
this.outsideDuty = new OutsideDuty();
|
|
}
|
|
}
|