import { Expose } from 'class-transformer';
import { IsEnum, IsOptional, IsString, MaxLength } from 'class-validator';
import { TimeTrackingCategorizedHourStatus } from '../../../infrastructure/constants/timeTracking/categorizedHourStatus';

export class UpdateCategorizedHourVC {
    @IsOptional()
    @IsEnum(TimeTrackingCategorizedHourStatus)
    @Expose()
    status?: TimeTrackingCategorizedHourStatus;

    @IsOptional()
    @IsString()
    @MaxLength(256)
    @Expose()
    note?: string;
}
