添加字段

This commit is contained in:
2024-02-25 10:15:52 +08:00
parent ca6ff5c060
commit e1de4beda3
4 changed files with 10 additions and 1 deletions

View File

@@ -42,6 +42,9 @@ public class CreateEmployeeDto extends OrgCommonDto {
@Comment("手机号")
private String phone;
private String headImage;
@Comment("身份证照片")
private List<String> idImages;

View File

@@ -59,6 +59,9 @@ public class EmployeeDto extends OrgCommonDto {
@Comment("手机号")
private String phone;
@ManyToOne
private FileEntity headImage;
@Comment("身份证照片")
@OneToMany
private List<FileEntity> idImages;

View File

@@ -44,7 +44,7 @@ public class UpdateEmployeeDto extends OrgCommonDto {
@Comment("照片")
private String image;
private String headImage;
@Comment("身份证照片")
private List<String> idImages;

View File

@@ -94,6 +94,9 @@ public class EmployeeEntity extends OrgCommonEntity {
@Comment("手机号")
private String phone;
@ManyToOne
private FileEntity headImage;
@Comment("身份证照片")
@OneToMany
private List<FileEntity> idImages;