Files
brewman/overlord/src/app/employee-attendance/employee-attendance-item.ts
T
2020-11-23 16:42:54 +05:30

19 lines
457 B
TypeScript

import { AttendanceType } from '../attendance/attendance-type';
export class EmployeeAttendanceItem {
date: string;
attendanceType: AttendanceType;
prints: string;
hoursWorked: string;
fullDay: boolean;
public constructor(init?: Partial<EmployeeAttendanceItem>) {
this.date = '';
this.attendanceType = new AttendanceType();
this.prints = '';
this.hoursWorked = '';
this.fullDay = true;
Object.assign(this, init);
}
}