Agent.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. package com.fdkankan.manage.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. import java.util.Date;
  8. import lombok.Getter;
  9. import lombok.Setter;
  10. /**
  11. * <p>
  12. * 代理商表
  13. * </p>
  14. *
  15. * @author
  16. * @since 2022-05-27
  17. */
  18. @Getter
  19. @Setter
  20. @TableName("t_agent")
  21. public class Agent implements Serializable {
  22. private static final long serialVersionUID = 1L;
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Long id;
  25. /**
  26. * 代理商Id
  27. */
  28. @TableField("agent_id")
  29. private String agentId;
  30. /**
  31. * 代理商公司名称
  32. */
  33. @TableField("agent_name")
  34. private String agentName;
  35. /**
  36. * 代理商密码
  37. */
  38. @TableField("agent_password")
  39. private String agentPassword;
  40. /**
  41. * 代理商区域
  42. */
  43. @TableField("agent_area")
  44. private String agentArea;
  45. /**
  46. * 代理商邮箱
  47. */
  48. @TableField("agent_email")
  49. private String agentEmail;
  50. /**
  51. * 代理商电话
  52. */
  53. @TableField("agent_phone")
  54. private String agentPhone;
  55. /**
  56. * 状态:1-正常,0-冻结
  57. */
  58. @TableField("state")
  59. private Integer state;
  60. /**
  61. * 代理数量
  62. */
  63. @TableField("agent_num")
  64. private Integer agentNum;
  65. /**
  66. * 代理商所在的国家
  67. */
  68. @TableField("agent_country")
  69. private String agentCountry;
  70. /**
  71. * 创建时间
  72. */
  73. @TableField("create_time")
  74. private Date createTime;
  75. /**
  76. * 更新时间
  77. */
  78. @TableField("update_time")
  79. private Date updateTime;
  80. /**
  81. * 记录的状态,A: 生效,I: 禁用
  82. */
  83. @TableField("rec_status")
  84. private String recStatus;
  85. }