17 lines
421 B
TypeScript
17 lines
421 B
TypeScript
import { Employee } from '../employee/employee';
|
|
import { EmployeeAttendanceItem } from './employee-attendance-item';
|
|
|
|
export class EmployeeAttendance {
|
|
startDate: string;
|
|
finishDate: string;
|
|
employee?: Employee;
|
|
body: EmployeeAttendanceItem[];
|
|
|
|
public constructor(init?: Partial<EmployeeAttendance>) {
|
|
this.startDate = '';
|
|
this.finishDate = '';
|
|
this.body = [];
|
|
Object.assign(this, init);
|
|
}
|
|
}
|