hrms-user/src/modules/05_leave/interface/index/main.ts

42 lines
739 B
TypeScript
Raw Normal View History

import type { S } from "@fullcalendar/core/internal-common"
interface OptionData {
id: string | undefined
name: string | undefined
code: string | undefined
}
interface FormLeavetMainData {
type: string
numDate: string
extend: string
use: string
numAll: string
numDone: string
numNot: string
numCancel: string
}
interface formListLeaveData {
no: string
date: string | null
type: string
status: string
year: string
}
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 }