Files
Client_Fe/src/lib/models/attendance.ts
T
Dhananjaya99 a1b870fa8a first commit
2026-09-28 11:48:14 +05:30

32 lines
764 B
TypeScript

/** Attendance entity rows from GET client/attendance. */
export interface AttendanceRecord {
attendanceId: string
fkCustomerId?: string
fkUserId?: string
fkAccessProfileId?: number
deviceUserId: number
eventTime: string
eventType: string
customer?: { cusId: string; cusName: string } | null
user?: { userId: string; userName?: string | null } | null
accessProfile?: {
accessProfileId: number
displayName: string
personType: string
} | null
}
/** Mirrors TodayAttendanceDTO. */
export interface TodayAttendance {
customerName: string
eventTime: string
eventType?: string | null
}
/** Mirrors AttendanceCountDTO. */
export interface AttendanceCount {
customerId: string
customerName: string
attendanceCount: number
}