fix(schedules): support editable schedule notes

This commit is contained in:
2026-07-13 12:09:53 +08:00
parent dfd3cf6772
commit 6396d3e934
5 changed files with 70 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import {
Matches,
Min,
Max,
MaxLength,
} from 'class-validator';
import { Type } from 'class-transformer';
@@ -59,6 +60,7 @@ export class CreateScheduleDto {
@IsOptional()
@IsString()
@MaxLength(500)
notes?: string;
@IsOptional()
@@ -115,6 +117,7 @@ export class UpdateScheduleDto {
@IsOptional()
@IsString()
@MaxLength(500)
notes?: string;
}