| | |
| | | package com.taoke.autopay.entity; |
| | | |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | import lombok.experimental.Tolerate; |
| | | import org.springframework.data.annotation.Id; |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | |
| | | * @description: TODO |
| | | * @date 2024/6/14 18:09 |
| | | */ |
| | | @Data |
| | | @Builder |
| | | @Table("table_user") |
| | | public class ClientInfo { |
| | | // 管理员 |
| | | public static final int RULE_ADMIN = 1; |
| | | //普通用户 |
| | | public static final int RULE_COMMON = 0; |
| | | |
| | | // 代付-默认值 |
| | | public static final int CLIENT_TYPE_AGENT_PAYMENT = 0; |
| | | |
| | | // 订单场景 |
| | | public static final int CLIENT_TYPE_ORDER = 1; |
| | | |
| | | @Tolerate |
| | | public ClientInfo(){ |
| | | |
| | | } |
| | | |
| | | @Id |
| | | @Column(name ="id") |
| | | private Long id; |
| | |
| | | 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; |
| | | } |
| | | @Column(name = "client_type") |
| | | private Integer clientType; |
| | | } |