export interface TimeSheetData {
    timeSheetId: number
    approvalRequestId: number
    userName: string
    dateTime: string
    duration: string
    description: string
    submissionStatus: number
    approvalStatus: number
    createdDate: string
    submitedDate: string
    approvalHistoryList: ApprovalHistory[]
    currentApprovalStatus: number
}

export interface ApprovalHistory {
    workFlowId: number
    workflowName: string
    workFlowDetailId: number
    levelName: string
    approverName: string
    approvedBy: string
    approvedByDepartment: string
    approvedByDesignation: string
    approvedDate: string
    approvalStatus: string
    remarks: string
    sequenceNo: number
}

export interface TimesheetApprovelTableInterface extends TimeSheetData {
    key: React.Key
}

export interface TimesheetApprovelExpandView {
    expandData: TimesheetApprovelTableInterface
}

export interface TimesheetApprovalPayloadInterface {
    data: TimeSheetData[]
    noOfRecords: number
}

export interface TimsheetApproveStateInterfcae {
    timeSheetApproveList: TimeSheetData[]
    timesheetApproveListCount: number
}
