You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.attendance.entity ;
import com.baomidou.mybatisplus.annotation.TableName ;
import com.fasterxml.jackson.annotation.JsonIgnore ;
import io.swagger.v3.oas.annotations.media.Schema ;
import lombok.Data ;
import lombok.EqualsAndHashCode ;
import java.time.LocalDateTime ;
@Data
@EqualsAndHashCode ( callSuper = true )
@TableName ( "sys_user" )
@Schema ( description = "系统用户实体" )
public class SysUser extends BaseEntity {
@Schema ( description = "登录账号" )
private String username ;
@JsonIgnore
@Schema ( description = "登录密码" )
private String password ;
@Schema ( description = "真实姓名" )
private String realName ;
@Schema ( description = "头像URL" )
private String avatar ;
@Schema ( description = "角色ID" )
private Long roleId ;
@Schema ( description = "所属学校ID" )
private Long schoolId ;
@Schema ( description = "手机号" )
private String phone ;
@Schema ( description = "邮箱" )
private String email ;
@Schema ( description = "最后登录时间" )
private LocalDateTime lastLoginTime ;
@Schema ( description = "最后登录IP" )
private String lastLoginIp ;
@Schema ( description = "状态: 0-禁用 1-启用" )
private Integer status ;
}