| | |
| | | */ |
| | | @ExcelExport(value = "姓名",sort =0) |
| | | @ExcelImport(value = "姓名", required = true) |
| | | @Excel(name = "姓名",sort = 0) |
| | | @ApiModelProperty("姓名") |
| | | private String name; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "性别",kv = "0-男;1-女;2-未知",sort =1) |
| | | @ExcelImport(value = "性别", kv = "0-男;1-女;2-未知", required = true) |
| | | @Excel(name = "性别",sort = 1,dictType = "sys_user_sex",readConverterExp = "0-男;1-女;2-未知") |
| | | @ApiModelProperty("性别") |
| | | private Integer sex; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "年龄",sort =7) |
| | | @ExcelImport(value = "年龄", required = true) |
| | | @Excel(name = "年龄",sort = 7) |
| | | @ApiModelProperty("年龄") |
| | | private String age; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "身份证号",sort =3) |
| | | @ExcelImport(value = "身份证号", required = true, maxLength = 18, unique = true) |
| | | @Excel(name = "身份证号",sort = 3,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("身份证号") |
| | | private String idCard; |
| | | |
| | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ExcelExport(value = "出生日期",sort =6) |
| | | @ExcelImport("出生日期") |
| | | @Excel(name = "出生日期",sort = 6,dateFormat = "yyyy/MM/dd") |
| | | @ApiModelProperty("出生日期") |
| | | private Date birthday; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "联系电话",sort =4) |
| | | @ExcelImport(value = "联系电话", maxLength = 11, required = true) |
| | | @Excel(name = "联系电话",sort = 4,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("联系电话") |
| | | private String phoe; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "邮箱",sort =5) |
| | | @ExcelImport("联系邮箱") |
| | | @Excel(name = "邮箱",sort = 5,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("联系邮箱") |
| | | private String email; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "户口地址",sort =13) |
| | | @ExcelImport("户口地址") |
| | | @Excel(name = "户口地址",sort = 13,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("户口地址") |
| | | private String address; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "现地址",sort =14) |
| | | @ExcelImport("现地址") |
| | | @Excel(name = "现地址",sort = 14,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("现地址") |
| | | private String cusaddr; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "婚姻状况",kv = "1-未婚;2-已婚;4-离婚;3-丧偶",sort =8) |
| | | @ExcelImport(value = "婚姻状况", kv = "1-未婚;2-已婚;4-离婚;3-丧偶",required = true) |
| | | @Excel(name = "婚姻状况",sort = 8,dictType = "dict_user_marry",readConverterExp = "1-未婚;2-已婚;4-离婚;3-丧偶") |
| | | @ApiModelProperty("婚姻") |
| | | private Integer marriage; |
| | | |
| | |
| | | "18-傣族;19-黎族;20-傈傈族;21-佤族;22-畲族;23-高山族;24-拉祜族;25-水族;26-东乡族;27-纳西族;28-景颇族;29-柯尔克孜族;30-土族;31-达斡尔族;32-仫佬族;33-羌族;34-布朗族;34-撒拉族;35-毛南族" + |
| | | "37-仡佬族;38-锡伯族;39-阿昌族;40-普米族;41-塔吉克族;42-怒族;43-乌孜别克族;44-俄罗斯族;45-鄂温克族;46-德昂族;47-保安族;48-裕固族;49-京族;50-塔塔尔族;51-独龙族;52-鄂伦春族;53-赫哲族;" + |
| | | "54-门巴族;55-珞巴族;56-基诺族;57-其他民族或外国友人;99-未说明") |
| | | @Excel(name = "民族",sort = 2,dictType = "dict_user_national",readConverterExp="1-汉族;2-蒙古族;3-回族;4-藏族;5-维吾尔族;6-苗族;7-彝族;8-壮族;9-布依族;10-朝鲜族;11-满族;12-侗族;13-瑶族;14-白族;15-土家族;16-哈尼族;17-哈萨克族;\" +\n" + |
| | | " \"18-傣族;19-黎族;20-傈傈族;21-佤族;22-畲族;23-高山族;24-拉祜族;25-水族;26-东乡族;27-纳西族;28-景颇族;29-柯尔克孜族;30-土族;31-达斡尔族;32-仫佬族;33-羌族;34-布朗族;34-撒拉族;35-毛南族\" +\n" + |
| | | " \"37-仡佬族;38-锡伯族;39-阿昌族;40-普米族;41-塔吉克族;42-怒族;43-乌孜别克族;44-俄罗斯族;45-鄂温克族;46-德昂族;47-保安族;48-裕固族;49-京族;50-塔塔尔族;51-独龙族;52-鄂伦春族;53-赫哲族;\" +\n" + |
| | | " \"54-门巴族;55-珞巴族;56-基诺族;57-其他民族或外国友人;99-未说明") |
| | | @ApiModelProperty("民族") |
| | | private Integer nation; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "单位名称",sort =-4) |
| | | @ExcelImport("单位名称") |
| | | @Excel(name = "单位名称",sort = -4,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("单位名称") |
| | | private String company; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "工号",sort =-3) |
| | | @ExcelImport("工号") |
| | | @Excel(name = "工号",sort = 3,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("工号") |
| | | private String jobNo; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "部门",sort =-2) |
| | | @ExcelImport("部门") |
| | | @Excel(name = "部门",sort = 2,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("部门") |
| | | private String department; |
| | | |
| | |
| | | */ |
| | | @ExcelExport(value = "职位",sort =-1) |
| | | @ExcelImport("职位") |
| | | @Excel(name = "职位",sort = -1,cellType = Excel.ColumnType.STRING) |
| | | @ApiModelProperty("职位") |
| | | private String position; |
| | | |