TInvoiceUserUnit.java 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. package com.ruoyi.project.invoice.domain;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  5. import com.ruoyi.framework.web.domain.BaseEntity;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. import java.util.Date;
  9. /**
  10. * 用户单位管理对象 t_invoice_user_unit
  11. *
  12. * @author ruoyi
  13. * @date 2022-09-07
  14. */
  15. public class TInvoiceUserUnit extends BaseEntity
  16. {
  17. private static final long serialVersionUID = 1L;
  18. /** 唯一标识ID */
  19. private Long id;
  20. /** 单位 */
  21. @Excel(name = "单位")
  22. private String userUnit;
  23. /** 用户 */
  24. @Excel(name = "用户")
  25. private String userIds;
  26. /** 状态 0 :正常 ;-1:删除 */
  27. private Long delFlag;
  28. /** 创建人 */
  29. @Excel(name = "创建人")
  30. private String createrCode;
  31. /** 创建时间 */
  32. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  33. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
  34. private Date createdate;
  35. /** 修改人 */
  36. @Excel(name = "修改人")
  37. private Long updaterCode;
  38. /** 修改时间 */
  39. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  40. @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  41. private Date updatedate;
  42. /** 部门编号 */
  43. @Excel(name = "部门编号")
  44. private Long deptId;
  45. /** 备注 */
  46. @Excel(name = "备注")
  47. private String remarks;
  48. @TableField(exist = false)
  49. private String deptName;
  50. public String getDeptName() {
  51. return deptName;
  52. }
  53. public void setDeptName(String deptName) {
  54. this.deptName = deptName;
  55. }
  56. public void setId(Long id)
  57. {
  58. this.id = id;
  59. }
  60. public Long getId()
  61. {
  62. return id;
  63. }
  64. public void setUserUnit(String userUnit)
  65. {
  66. this.userUnit = userUnit;
  67. }
  68. public String getUserUnit()
  69. {
  70. return userUnit;
  71. }
  72. public void setUserIds(String userIds)
  73. {
  74. this.userIds = userIds;
  75. }
  76. public String getUserIds()
  77. {
  78. return userIds;
  79. }
  80. public void setDelFlag(Long delFlag)
  81. {
  82. this.delFlag = delFlag;
  83. }
  84. public Long getDelFlag()
  85. {
  86. return delFlag;
  87. }
  88. public void setCreaterCode(String createrCode)
  89. {
  90. this.createrCode = createrCode;
  91. }
  92. public String getCreaterCode()
  93. {
  94. return createrCode;
  95. }
  96. public void setCreatedate(Date createdate)
  97. {
  98. this.createdate = createdate;
  99. }
  100. public Date getCreatedate()
  101. {
  102. return createdate;
  103. }
  104. public void setUpdaterCode(Long updaterCode)
  105. {
  106. this.updaterCode = updaterCode;
  107. }
  108. public Long getUpdaterCode()
  109. {
  110. return updaterCode;
  111. }
  112. public void setUpdatedate(Date updatedate)
  113. {
  114. this.updatedate = updatedate;
  115. }
  116. public Date getUpdatedate()
  117. {
  118. return updatedate;
  119. }
  120. public void setDeptId(Long deptId)
  121. {
  122. this.deptId = deptId;
  123. }
  124. public Long getDeptId()
  125. {
  126. return deptId;
  127. }
  128. public void setRemarks(String remarks)
  129. {
  130. this.remarks = remarks;
  131. }
  132. public String getRemarks()
  133. {
  134. return remarks;
  135. }
  136. @Override
  137. public String toString() {
  138. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  139. .append("id", getId())
  140. .append("userUnit", getUserUnit())
  141. .append("userIds", getUserIds())
  142. .append("delFlag", getDelFlag())
  143. .append("createrCode", getCreaterCode())
  144. .append("createdate", getCreatedate())
  145. .append("updaterCode", getUpdaterCode())
  146. .append("updatedate", getUpdatedate())
  147. .append("deptId", getDeptId())
  148. .append("remarks", getRemarks())
  149. .toString();
  150. }
  151. }