targo-backend/src/time-and-attendance/expenses/dtos/expense-create.dto.ts
2025-11-17 15:05:32 -05:00

14 lines
343 B
TypeScript

import { IsBoolean, IsInt, IsOptional, IsString, MaxLength } from "class-validator";
export class ExpenseDto {
id: number;
type!: string;
timesheet_id!: number;
attachment?: number;
date!: string;
amount?: number;
mileage?: number;
comment!: string;
is_approved!: boolean;
supervisor_comment?: string
}