2023-11-30 13:36:01 +07:00
|
|
|
import type { S } from "@fullcalendar/core/internal-common";
|
2023-10-31 15:36:13 +07:00
|
|
|
|
2023-10-27 09:32:57 +07:00
|
|
|
interface OptionData {
|
2023-11-30 13:36:01 +07:00
|
|
|
id: string | undefined;
|
|
|
|
|
name: string | undefined;
|
2023-10-27 09:32:57 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface FormLeavetMainData {
|
2023-11-30 13:36:01 +07:00
|
|
|
type: string;
|
|
|
|
|
numDate: string;
|
|
|
|
|
extend: string;
|
|
|
|
|
use: string;
|
|
|
|
|
numAll: string;
|
|
|
|
|
numDone: string;
|
|
|
|
|
numNot: string;
|
|
|
|
|
numCancel: string;
|
2023-10-27 09:32:57 +07:00
|
|
|
}
|
|
|
|
|
|
2023-10-31 15:36:13 +07:00
|
|
|
interface formListLeaveData {
|
2023-11-30 13:36:01 +07:00
|
|
|
no: string;
|
|
|
|
|
date: string | null;
|
|
|
|
|
type: string;
|
|
|
|
|
status: string;
|
|
|
|
|
year: string;
|
2023-10-31 15:36:13 +07:00
|
|
|
}
|
|
|
|
|
|
2023-11-30 13:36:01 +07:00
|
|
|
interface TypeLeave {
|
|
|
|
|
code: string;
|
|
|
|
|
createdAt: Date;
|
|
|
|
|
createdFullName: string;
|
|
|
|
|
createdUserId: string;
|
|
|
|
|
id: string;
|
|
|
|
|
lastUpdateFullName: string;
|
|
|
|
|
lastUpdateUserId: string;
|
|
|
|
|
lastUpdatedAt: Date | null;
|
|
|
|
|
limit: number;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type { OptionData, FormLeavetMainData, formListLeaveData, TypeLeave };
|