package com.ruoyi.common.core.domain.entity; import com.baomidou.mybatisplus.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.util.Date; /** * 用户信息表 * * @author zhuo * @since 2025-02-13 */ @Data @TableName("user") public class User { @Schema(description = "主键") @TableId(type = IdType.AUTO) private Long id; @Schema(description = "部门ID") private Long deptId; @Schema(description = "用户账号") private String account; @Schema(description = "用户昵称") private String name; @Schema(description = "英文名") private String nameEn; @Schema(description = "用户类型(00系统用户)") private String userType; @Schema(description = "用户邮箱") private String email; @Schema(description = "手机号码") private String phone; @Schema(description = "用户性别(0男 1女 2未知)") private String sex; @Schema(description = "年龄") private Integer age; @Schema(description = "签名地址") private String signatureUrl; @Schema(description = "头像地址") private String pictureUrl; @Schema(description = "密码") private String password; @Schema(description = "帐号状态(0正常 1停用)") private String status; @Schema(description = "删除标志(0代表存在 2代表删除)") private String delFlag; @Schema(description = "最后登录IP") private String loginIp; @Schema(description = "最后登录时间") private Date loginDate; @Schema(description = "cnas实验室id") private String departLimsId; @Schema(description = "单位id") private String company; @Schema(description = "是否客户 0: 否, 1:是") private Integer isCustom; @TableField(fill = FieldFill.INSERT) @Schema(description = "创建者") private String createBy; @TableField(fill = FieldFill.INSERT) @Schema(description = "创建时间") private Date createTime; @TableField(fill = FieldFill.INSERT_UPDATE) @Schema(description = "更新者") private String updateBy; @TableField(fill = FieldFill.INSERT_UPDATE) @Schema(description = "更新时间") private Date updateTime; @Schema(description = "备注") private String remark; }