import { IsString, IsBoolean, IsOptional, IsNumber } from 'class-validator';

export class DepartmentApprovalDto {
  @IsString()
  departmentCode: string;

  @IsString()
  departmentName: string;

  @IsBoolean()
  canDelegate: boolean;

  @IsOptional()
  @IsNumber()
  timeoutDays?: number;
}
