You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
1.7 KiB

This file contains ambiguous Unicode characters!

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.zh.project0512.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
*
* </p>
*
* @author zh
* @since 2022-06-10
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Admin extends Model {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 账号名称
*/
private String name;
/**
* 手机号
*/
private String tel;
/**
* 密码
*/
private String password;
/**
* 真实名称
*/
@TableField("realName")
private String realName;
/**
* 是否删除1.非删0.删除
*/
@TableField("isDelete")
private Integer isDelete;
/**
* 创建人id
*/
@TableField("creatId")
private Integer creatId;
/**
* 即时token
*/
private String token;
/**
* 创建时间
*/
@TableField("creatAt")
private LocalDateTime creatAt;
/**
* 更新时间
*/
@TableField("updateAt")
private LocalDateTime updateAt;
/**
* 上次登录时间
*/
@TableField("lastLoginAt")
private LocalDateTime lastLoginAt;
/**
* 状态1.启用2.禁用
*/
private Integer status;
/**
* 角色id'用,分隔'
*/
@TableField("roleIds")
private String roleIds;
}