import { LeaveTypes, Prisma } from "@prisma/client";


export type Normalized = { 
    date: Date; 
    start_time: Date; 
    end_time: Date; 
    bank_code_id: number;
};

export type NormalizedExpense = { 
    date: Date; 
    comment: string; 
    supervisor_comment?: string; 
    amount?: number | Prisma.Decimal | null; 
    mileage?: number | Prisma.Decimal | null; 
    attachment?: number;
    // bank_code_id: number;
};

export type NormalizedLeaveRequest = {
    comment: string;
    dates: Date[];
    bank_code_id: number;
    leave_type: LeaveTypes;
}