机构加盟日期增加格式化处理

This commit is contained in:
1378012178@qq.com 2025-06-11 14:52:10 +08:00
parent a9e9464398
commit b69cf6e7cd
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,8 @@ public class OrgApplyInfoApiEntity implements Serializable {
/**民族*/ /**民族*/
private String national; private String national;
/**出生日期*/ /**出生日期*/
@JsonFormat(pattern = "yyyy年MM月dd日")
@DateTimeFormat(pattern = "yyyy年MM月dd日")
private Date birthDate; private Date birthDate;
/**住址(身份证上)*/ /**住址(身份证上)*/
private String idCardAddress; private String idCardAddress;
@ -63,8 +65,12 @@ public class OrgApplyInfoApiEntity implements Serializable {
/**签发机关*/ /**签发机关*/
private String issuingAuthority; private String issuingAuthority;
/**有效开始日期*/ /**有效开始日期*/
@JsonFormat(pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern = "yyyy.MM.dd")
private Date startTime; private Date startTime;
/**有效结束日期*/ /**有效结束日期*/
@JsonFormat(pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern = "yyyy.MM.dd")
private Date endTime; private Date endTime;
/**身份证正面*/ /**身份证正面*/
private String cardZmPath; private String cardZmPath;