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

3 years ago
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>
3 years ago
*
3 years ago
* </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;
3 years ago
/**
*
*/
3 years ago
@TableField("realName")
3 years ago
private String realName;
3 years ago
/**
* 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;
/**
3 years ago
* id','
*/
@TableField("roleIds")
3 years ago
private Integer roleIds;
3 years ago
}