123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- package com.fdkankan.manage.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableLogic;
- import com.baomidou.mybatisplus.annotation.TableName;
- import java.io.Serializable;
- import java.util.Date;
- import lombok.Getter;
- import lombok.Setter;
- /**
- * <p>
- * 代理商表
- * </p>
- *
- * @author
- * @since 2022-05-27
- */
- @Getter
- @Setter
- @TableName("t_agent")
- public class Agent implements Serializable {
- private static final long serialVersionUID = 1L;
- @TableId(value = "id", type = IdType.AUTO)
- private Long id;
- /**
- * 代理商Id
- */
- @TableField("agent_id")
- private String agentId;
- /**
- * 代理商公司名称
- */
- @TableField("agent_name")
- private String agentName;
- /**
- * 代理商密码
- */
- @TableField("agent_password")
- private String agentPassword;
- /**
- * 代理商区域
- */
- @TableField("agent_area")
- private String agentArea;
- /**
- * 代理商邮箱
- */
- @TableField("agent_email")
- private String agentEmail;
- /**
- * 代理商电话
- */
- @TableField("agent_phone")
- private String agentPhone;
- /**
- * 状态:1-正常,0-冻结
- */
- @TableField("state")
- private Integer state;
- /**
- * 代理数量
- */
- @TableField("agent_num")
- private Integer agentNum;
- /**
- * 代理商所在的国家
- */
- @TableField("agent_country")
- private String agentCountry;
- /**
- * 创建时间
- */
- @TableField("create_time")
- private String createTime;
- /**
- * 更新时间
- */
- @TableField("update_time")
- private String updateTime;
- /**
- * 记录的状态,A: 生效,I: 禁用
- */
- @TableField("rec_status")
- @TableLogic(value = "A",delval = "I")
- private String recStatus;
- }
|