longz
2026-04-27 25df88d0ab9d7444ed1d162b9efa1259ac2f6f66
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
}