export interface LeaveRequest {
    approvalRequestId: number
    referenceId: number
    leaveType: string
    leaveMode: string
    leaveFrom: string
    leaveTo: string
    description: string
    appliedBy: string
    coveringPerson: string
    appliedOn: string
}

export interface LeaveTableData extends LeaveRequest {
    key: React.Key
}

export interface LeaveListExpadTable {
    expandData: LeaveTableData
}

export interface LeaveRequestPayloadInterface {
    data: LeaveRequest[]
    noOfRecords: number
}

export interface LeaveRequestStateIntrface {
    leaveApproveList: LeaveRequest[]
    leaveApproveListCount: number
}
