mirror of https://gitee.com/stylefeng/roses
【7.0.4】更新日期格式化
parent
01d2d1d92b
commit
e55c88e106
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
package cn.stylefeng.roses.kernel.system.api.pojo.user;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
@ -66,6 +67,7 @@ public class SysUserDTO {
|
|||
/**
|
||||
* 生日
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date birthday;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue