fix: 归档删除改为软删除

This commit is contained in:
2026-07-17 14:13:17 +08:00
parent 3131d2e141
commit f7328d670d
49 changed files with 520 additions and 354 deletions

View File

@@ -9,6 +9,7 @@ import {
Min,
Max,
MaxLength,
IsIn,
} from 'class-validator';
import { Type } from 'class-transformer';
@@ -133,6 +134,11 @@ export class UpdateScheduleDto {
@IsString()
@MaxLength(500)
notes?: string;
@IsOptional()
@IsString()
@IsIn(['active', 'inactive', 'cancelled'])
status?: string;
}
export class QueryScheduleDto {