forked from wangziqi/gongxue-base
feat: auto-populate department_id on create + seed default campus with backfill
This commit is contained in:
@@ -60,6 +60,10 @@ export class CreateScheduleDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
notes?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsInt()
|
||||
departmentId?: number;
|
||||
}
|
||||
|
||||
export class UpdateScheduleDto {
|
||||
|
||||
Reference in New Issue
Block a user