|
@@ -1,10 +1,9 @@
|
|
|
package com.hfln.portal.common.dto.data.user;
|
|
|
|
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
|
|
|
-import java.util.Date;
|
|
|
+import java.time.LocalDateTime;
|
|
|
|
|
|
@Data
|
|
|
@Schema(description = "用户信息")
|
|
@@ -26,12 +25,10 @@ public class UserDto {
|
|
|
private String avatar;
|
|
|
|
|
|
@Schema(description = "创建时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
- private Date createTime;
|
|
|
+ private LocalDateTime createTime;
|
|
|
|
|
|
@Schema(description = "更新时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
- private Date updateTime;
|
|
|
+ private LocalDateTime updateTime;
|
|
|
|
|
|
@Schema(description = "用户token")
|
|
|
private String token;
|