package com.taoke.autopay.entity;
|
|
import org.springframework.data.annotation.Id;
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import java.util.Date;
|
|
/**
|
* @author hxh
|
* @title: ClientInfo
|
* @description: TODO
|
* @date 2024/6/14 18:09
|
*/
|
@Table("table_user")
|
public class ClientInfo {
|
// 管理员
|
public static final int RULE_ADMIN = 1;
|
//普通用户
|
public static final int RULE_COMMON = 0;
|
@Id
|
@Column(name ="id")
|
private Long id;
|
@Column(name ="name")
|
private String name;
|
@Column(name ="account")
|
private String account;
|
@Column(name ="pwd")
|
private String pwd;
|
@Column(name ="create_time")
|
private Date createTime;
|
@Column(name ="active_time")
|
private Date activeTime;
|
@Column(name ="rule")
|
private Integer rule;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getPwd() {
|
return pwd;
|
}
|
|
public void setPwd(String pwd) {
|
this.pwd = pwd;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getActiveTime() {
|
return activeTime;
|
}
|
|
public void setActiveTime(Date activeTime) {
|
this.activeTime = activeTime;
|
}
|
|
public Integer getRule() {
|
return rule;
|
}
|
|
public void setRule(Integer rule) {
|
this.rule = rule;
|
}
|
}
|