refactor: 个人中心个人信息完善

This commit is contained in:
ray
2024-08-16 18:20:54 +08:00
parent 6c6a4c6e34
commit 13156e9440
5 changed files with 44 additions and 2 deletions

View File

@@ -1,8 +1,11 @@
package com.youlai.system.model.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;
/**
* 个人中心用户信息
*
@@ -34,5 +37,14 @@ public class UserProfileVO {
@Schema(description = "邮箱")
private String email;
@Schema(description = "部门名称")
private String deptName;
@Schema(description = "角色名称")
private String roleNames;
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private Date createTime;
}