14 lines
343 B
TypeScript
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
|
|
} |