19 lines
457 B
TypeScript
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);
|
|
}
|
|
}
|