perf: 支持课程补录

This commit is contained in:
richarjiang
2026-09-08 15:08:29 +08:00
parent d1f193e13e
commit b4b3caac70
24 changed files with 1074 additions and 945 deletions

View File

@@ -0,0 +1,23 @@
import { IsInt, IsOptional, IsString, Matches, Max, MaxLength, Min } from 'class-validator'
export class CreateLessonSupplementDto {
@IsString()
@Matches(/^[a-zA-Z0-9_-]{16,80}$/)
readonly requestId!: string
@IsInt()
@Min(1)
@Max(999)
readonly quantity!: number
@IsOptional()
@IsString()
@Matches(/\S/)
@MaxLength(191)
readonly membershipId?: string
@IsOptional()
@IsString()
@MaxLength(200)
readonly remark?: string
}