mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 23:57:12 +08:00
添加字段
This commit is contained in:
@@ -42,6 +42,9 @@ public class CreateEmployeeDto extends OrgCommonDto {
|
||||
@Comment("手机号")
|
||||
private String phone;
|
||||
|
||||
|
||||
private String headImage;
|
||||
|
||||
@Comment("身份证照片")
|
||||
private List<String> idImages;
|
||||
|
||||
|
||||
@@ -59,6 +59,9 @@ public class EmployeeDto extends OrgCommonDto {
|
||||
@Comment("手机号")
|
||||
private String phone;
|
||||
|
||||
@ManyToOne
|
||||
private FileEntity headImage;
|
||||
|
||||
@Comment("身份证照片")
|
||||
@OneToMany
|
||||
private List<FileEntity> idImages;
|
||||
|
||||
@@ -44,7 +44,7 @@ public class UpdateEmployeeDto extends OrgCommonDto {
|
||||
|
||||
@Comment("照片")
|
||||
private String image;
|
||||
|
||||
private String headImage;
|
||||
@Comment("身份证照片")
|
||||
private List<String> idImages;
|
||||
|
||||
|
||||
@@ -94,6 +94,9 @@ public class EmployeeEntity extends OrgCommonEntity {
|
||||
@Comment("手机号")
|
||||
private String phone;
|
||||
|
||||
@ManyToOne
|
||||
private FileEntity headImage;
|
||||
|
||||
@Comment("身份证照片")
|
||||
@OneToMany
|
||||
private List<FileEntity> idImages;
|
||||
|
||||
Reference in New Issue
Block a user