import { DatabaseField } from "../../../core/entity/database-field.decorator" ; import { AttendanceStatus } from "./attendance-status" ; deprecated export class AttendanceDay { @ DatabaseField ( { dataType : "date-only" } ) date : Date ; @ DatabaseField ( ) status : AttendanceStatus ; @ DatabaseField ( ) remarks : string = "" ; constructor ( date , status = AttendanceStatus . UNKNOWN ) { this . date = date ; this . status = status ; } }