From a180c14ebe5560244f451831d4009423f392369f Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 30 十月 2024 21:53:59 +0800 Subject: [PATCH] bug --- src/main/java/com/ycl/jxkg/domain/vo/admin/user/UserCreateVO.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/vo/admin/user/UserCreateVO.java b/src/main/java/com/ycl/jxkg/domain/vo/admin/user/UserCreateVO.java index e08e212..6558624 100644 --- a/src/main/java/com/ycl/jxkg/domain/vo/admin/user/UserCreateVO.java +++ b/src/main/java/com/ycl/jxkg/domain/vo/admin/user/UserCreateVO.java @@ -2,9 +2,11 @@ +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import javax.validation.constraints.NotBlank; +import java.util.Date; @Data public class UserCreateVO { @@ -19,13 +21,14 @@ @NotBlank private String realName; - private String age; + private Integer age; private Integer status; private Integer sex; - private String birthDay; + @JsonFormat(pattern = "yyyy-MM-dd") + private Date birthDay; private String phone; -- Gitblit v1.8.0