CustomerFavorites.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. package com.ruoyi.mingxue.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.ruoyi.common.annotation.Excel;
  4. import com.ruoyi.common.core.domain.BaseEntity;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import java.util.Date;
  8. /**
  9. * 客户收藏对象 b_customer_favorites
  10. *
  11. * @author mingxue
  12. * @date 2021-07-25
  13. */
  14. public class CustomerFavorites extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** $column.columnComment */
  18. private Long id;
  19. /** 客户 */
  20. @Excel(name = "客户")
  21. private String customercode;
  22. /** 类型 */
  23. @Excel(name = "类型")
  24. private String type;
  25. /** 科目 */
  26. @Excel(name = "科目")
  27. private String course;
  28. /** 关联ID */
  29. @Excel(name = "关联ID")
  30. private String refid;
  31. /** 题型 */
  32. @Excel(name = "题型")
  33. private String reftype;
  34. /** 收藏时间 */
  35. @JsonFormat(pattern = "yyyy-MM-dd")
  36. @Excel(name = "收藏时间", width = 30, dateFormat = "yyyy-MM-dd")
  37. private Date time;
  38. /** 状态(0:无效,1:有效) */
  39. @Excel(name = "状态(0:无效,1:有效)")
  40. private Integer status;
  41. public void setId(Long id)
  42. {
  43. this.id = id;
  44. }
  45. public Long getId()
  46. {
  47. return id;
  48. }
  49. public void setCustomercode(String customercode)
  50. {
  51. this.customercode = customercode;
  52. }
  53. public String getCustomercode()
  54. {
  55. return customercode;
  56. }
  57. public void setType(String type)
  58. {
  59. this.type = type;
  60. }
  61. public String getType()
  62. {
  63. return type;
  64. }
  65. public void setCourse(String course)
  66. {
  67. this.course = course;
  68. }
  69. public String getCourse()
  70. {
  71. return course;
  72. }
  73. public void setRefid(String refid)
  74. {
  75. this.refid = refid;
  76. }
  77. public String getRefid()
  78. {
  79. return refid;
  80. }
  81. public void setReftype(String reftype)
  82. {
  83. this.reftype = reftype;
  84. }
  85. public String getReftype()
  86. {
  87. return reftype;
  88. }
  89. public void setTime(Date time)
  90. {
  91. this.time = time;
  92. }
  93. public Date getTime()
  94. {
  95. return time;
  96. }
  97. public void setStatus(Integer status)
  98. {
  99. this.status = status;
  100. }
  101. public Integer getStatus()
  102. {
  103. return status;
  104. }
  105. @Override
  106. public String toString() {
  107. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  108. .append("id", getId())
  109. .append("customercode", getCustomercode())
  110. .append("type", getType())
  111. .append("course", getCourse())
  112. .append("refid", getRefid())
  113. .append("reftype", getReftype())
  114. .append("time", getTime())
  115. .append("status", getStatus())
  116. .toString();
  117. }
  118. }