package com.sinata.appointment.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@TableName("sys_user")
|
@Schema(description = "系统用户")
|
public class SysUser extends BaseEntity {
|
|
@Schema(description = "登录名")
|
private String username;
|
|
@Schema(description = "密码哈希")
|
private String passwordHash;
|
|
@Schema(description = "姓名")
|
private String realName;
|
|
@Schema(description = "手机号")
|
private String mobile;
|
|
@Schema(description = "头像 URL")
|
private String avatarUrl;
|
|
@Schema(description = "状态 1 启用 0 禁用")
|
private Integer status;
|
}
|