package com.ruoyi.company.api.model;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDateTime;
|
|
@Data
|
@Schema(description = "用户详情")
|
public class UserDetail {
|
|
@Schema(description = "用户id")
|
private Long userId;
|
|
@Schema(description = "公司名称")
|
private String companyName;
|
|
/** 统一社会信用代码 */
|
@Schema(description = "统一社会信用代码")
|
private String socialCode;
|
|
/** 联系人姓名 */
|
@Schema(description = "联系人姓名")
|
private String contactName;
|
|
/** 联系人手机号 */
|
@Schema(description = "联系人手机号")
|
private String contactPhone;
|
|
/** 联系人邮箱 */
|
@Schema(description = "联系人邮箱")
|
private String email;
|
|
/** 账号 */
|
@Schema(description = "账号")
|
private String accountName;
|
|
/** 用户名称 */
|
@Schema(description = "用户名称")
|
private String userName;
|
|
/** 头像 */
|
@Schema(description = "头像")
|
private String avatar;
|
|
/** 注册时间 */
|
@Schema(description = "注册时间")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime registerTime;
|
|
/** 绑定手机号 */
|
@Schema(description = "绑定手机号")
|
private String phone;
|
|
/** 账号ID */
|
@Schema(description = "账号ID")
|
private Long accountId;
|
|
/** 登录密码 */
|
@Schema(description = "登录密码")
|
private String password;
|
|
}
|