更新用户导入的model

yun-zuoyi
nies 4 years ago
parent 0aa24fb812
commit 0a36e83fd5

@ -17,8 +17,8 @@ import javax.persistence.Column;
* @create 2021/7/21 0021 10:20 * @create 2021/7/21 0021 10:20
*/ */
@Data @Data
@ApiModel @ApiModel(value = "userImportTemplate")
public class UserInfoImportModel extends BaseBean { public class UserInfoImportModel {
private static final long serialVersionUID = -6597413958814715617L; private static final long serialVersionUID = -6597413958814715617L;
@ApiModelProperty(value = "姓名", access = "名称") @ApiModelProperty(value = "姓名", access = "名称")
@ -29,26 +29,24 @@ public class UserInfoImportModel extends BaseBean {
@AnnoOutputColumn() @AnnoOutputColumn()
private String infoEmpNo; private String infoEmpNo;
@ApiModelProperty(value = "员工类型", access = "实习、试用期、正式") @ApiModelProperty(value = "员工类型", access = "实习、试用期、正式")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_EMPLOYEE_TYPE) @AnnoOutputColumn(required = false, name = "员工类型", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_EMPLOYEE_TYPE)
private Integer infoEmployeeType; private Integer infoEmployeeType;
@ApiModelProperty(value = "员工等级") @ApiModelProperty(value = "员工等级")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_EMPLOYEE_GRADE) @AnnoOutputColumn(required = false, name = "员工等级", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_EMPLOYEE_GRADE)
private Integer infoGrade; private Integer infoGrade;
@ApiModelProperty(value = "性别1.男2.女)", example = "1", access = "性别1.男2.女)") @ApiModelProperty(value = "性别", example = "1", access = "性别1.男2.女)")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_SEX) @AnnoOutputColumn(required = false,name = "性别", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_SEX)
private Integer infoSex; private Integer infoSex;
@ApiModelProperty(value = "婚姻", example = "1", access = "性别1.未知2.已婚,3未婚") @ApiModelProperty(value = "婚姻", example = "1", access = "性别1.未知2.已婚,3未婚")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_MARRIAGE) @AnnoOutputColumn(required = false, name = "婚姻",refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_MARRIAGE)
private Integer infoMarriage; private Integer infoMarriage;
@ApiModelProperty(value = "证件类型") @ApiModelProperty(value = "证件类型")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_CERTIFICATE_TYPE) @AnnoOutputColumn(required = false, name = "证件类型", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_CERTIFICATE_TYPE)
private Integer infoCardType; private Integer infoCardType;
@ApiModelProperty(value = "证件编号") @ApiModelProperty(value = "证件编号")
@ -61,27 +59,25 @@ public class UserInfoImportModel extends BaseBean {
private String infoSchool; private String infoSchool;
@ApiModelProperty(value = "学历") @ApiModelProperty(value = "学历")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_EDUCATION) @AnnoOutputColumn(required = false,name = "学历", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_EDUCATION)
private Integer infoSchoolEducation; private Integer infoSchoolEducation;
@ApiModelProperty(value = "毕业时间") @ApiModelProperty(value = "毕业时间")
private String infoSchoolLeaveDate; private String infoSchoolLeaveDate;
@ApiModelProperty(value = "籍贯") @ApiModelProperty(value = "籍贯")
private String infoBirthplace; private String infoBirthplace;
@ApiModelProperty(value = "种族") @ApiModelProperty(value = "种族")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_NATIONALITY) @AnnoOutputColumn(required = false,name = "种族", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_NATIONALITY)
private Integer infoRace; private Integer infoRace;
@ApiModelProperty(value = "紧急联系人") // @ApiModelProperty(value = "紧急联系人")
private String userEmergencyContact; // private String userEmergencyContact;
//
@ApiModelProperty(value = "紧急联系人-电话") // @ApiModelProperty(value = "紧急联系人-电话")
private String userEmergencyPhone; // private String userEmergencyPhone;
@ApiModelProperty(value = "紧急联系人") @ApiModelProperty(value = "紧急联系人")
@ -90,28 +86,28 @@ public class UserInfoImportModel extends BaseBean {
@ApiModelProperty(value = "紧急联系人-电话") @ApiModelProperty(value = "紧急联系人-电话")
private String infoEmergencyPhone; private String infoEmergencyPhone;
@ApiModelProperty(value = "入职日期", access = "默认当前时间") @ApiModelProperty(value = "入职日期")
private String infoJoinDate; private String infoJoinDate;
@ApiModelProperty(value = "离职日期", access = "默认当前时间") @ApiModelProperty(value = "离职日期")
private String infoResignationDate; private String infoResignationDate;
@ApiModelProperty(value = "政治面貌") @ApiModelProperty(value = "政治面貌")
@AnnoOutputColumn(required = false, refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_POLITICAL_STATUS) @AnnoOutputColumn(required = false, name = "政治面貌", refClass = SysDictionary.class, value = "name", refForeignKey = BaseConstWords.DICTIONARY_POLITICAL_STATUS)
private Integer infoPoliticalStatus; private Integer infoPoliticalStatus;
@ApiModelProperty(value = "出生日期") @ApiModelProperty(value = "出生日期")
private String infoBornDate; private String infoBornDate;
@ApiModelProperty(value = "部门名称", access = "部门名称") @ApiModelProperty(value = "部门", access = "部门")
private String infoDepartmentNameRdds; private String infoDepartmentNameRdds;
@ApiModelProperty(value = "岗位", access = "岗位")
private String positionNameRdds;
@ApiModelProperty(value = "主部门", access = "主部门") @ApiModelProperty(value = "主部门", access = "主部门")
private String infoDepartmentNameRdd; private String infoDepartmentNameRdd;
@ApiModelProperty(value = "岗位", access = "岗位")
private String positionNameRdds;
@ApiModelProperty(value = "主岗位", access = "主岗位") @ApiModelProperty(value = "主岗位", access = "主岗位")
private String positionNameRdd; private String positionNameRdd;
@ -130,9 +126,9 @@ public class UserInfoImportModel extends BaseBean {
@ApiModelProperty(value = "用户语言") @ApiModelProperty(value = "用户语言")
private String languageCode; private String languageCode;
@ApiParam(value = "登陆密码") // @ApiParam(value = "登陆密码")
@AnnoOutputColumn // @AnnoOutputColumn
private String userLoginPassword; // private String userLoginPassword;
@ApiModelProperty(value = "角色名称", access = "角色名称") @ApiModelProperty(value = "角色名称", access = "角色名称")
@ -156,8 +152,5 @@ public class UserInfoImportModel extends BaseBean {
@ApiModelProperty(value = "微信号") @ApiModelProperty(value = "微信号")
private String userWeChatNo; private String userWeChatNo;
@ApiModelProperty(value = "组织名称", access = "组织名称")
private String organizeNameRdd;
} }

Loading…
Cancel
Save