mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-10 20:57:14 +08:00
修复:解决 Jackson2ObjectMapperBuilderCustomizer 配置不生效的问题,同时优化所有 Date 类型为对应 Java 8 日期、时间类型
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
package top.charles7c.cnadmin.system.model.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -38,7 +38,7 @@ public class SysUser extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 用户 ID
|
||||
* 用户ID
|
||||
*/
|
||||
@TableId
|
||||
private Long userId;
|
||||
@@ -91,5 +91,5 @@ public class SysUser extends BaseEntity {
|
||||
/**
|
||||
* 最后一次修改密码的时间
|
||||
*/
|
||||
private Date pwdResetTime;
|
||||
private LocalDateTime pwdResetTime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user