forked from wangziqi/gongxue-base
refactor: replace UserDingMapping with StudentDingMapping entity
This commit is contained in:
@@ -80,20 +80,12 @@ export class UpdateProfileDto {
|
||||
qualifications?: string;
|
||||
}
|
||||
|
||||
export class CreateUserDingMappingDto {
|
||||
export class CreateStudentDingMappingDto {
|
||||
@IsInt()
|
||||
@IsNotEmpty()
|
||||
userId: number;
|
||||
studentId: number;
|
||||
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
dingUserId: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
dingName?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
dingMobile?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user