TInvoiceUserUnit.java 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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. @TableField(exist = false)
  25. @Excel(name = "用户")
  26. private String nickName;
  27. private String userIds;
  28. /** 状态 0 :正常 ;-1:删除 */
  29. private Long delFlag;
  30. /** 创建人 */
  31. @Excel(name = "创建人")
  32. private String createrCode;
  33. /** 创建时间 */
  34. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  35. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
  36. private Date createdate;
  37. /** 修改人 */
  38. //@Excel(name = "修改人")
  39. private Long updaterCode;
  40. /** 修改时间 */
  41. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  42. // @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  43. private Date updatedate;
  44. /** 部门编号 */
  45. @Excel(name = "部门编号")
  46. private Long deptId;
  47. @Excel(name = "部门名称")
  48. @TableField(exist = false)
  49. private String deptName;
  50. /** 备注 */
  51. @Excel(name = "备注")
  52. private String remarks;
  53. public String getNickName() {
  54. return nickName;
  55. }
  56. public void setNickName(String nickName) {
  57. this.nickName = nickName;
  58. }
  59. public String getDeptName() {
  60. return deptName;
  61. }
  62. public void setDeptName(String deptName) {
  63. this.deptName = deptName;
  64. }
  65. public void setId(Long id)
  66. {
  67. this.id = id;
  68. }
  69. public Long getId()
  70. {
  71. return id;
  72. }
  73. public void setUserUnit(String userUnit)
  74. {
  75. this.userUnit = userUnit;
  76. }
  77. public String getUserUnit()
  78. {
  79. return userUnit;
  80. }
  81. public void setUserIds(String userIds)
  82. {
  83. this.userIds = userIds;
  84. }
  85. public String getUserIds()
  86. {
  87. return userIds;
  88. }
  89. public void setDelFlag(Long delFlag)
  90. {
  91. this.delFlag = delFlag;
  92. }
  93. public Long getDelFlag()
  94. {
  95. return delFlag;
  96. }
  97. public void setCreaterCode(String createrCode)
  98. {
  99. this.createrCode = createrCode;
  100. }
  101. public String getCreaterCode()
  102. {
  103. return createrCode;
  104. }
  105. public void setCreatedate(Date createdate)
  106. {
  107. this.createdate = createdate;
  108. }
  109. public Date getCreatedate()
  110. {
  111. return createdate;
  112. }
  113. public void setUpdaterCode(Long updaterCode)
  114. {
  115. this.updaterCode = updaterCode;
  116. }
  117. public Long getUpdaterCode()
  118. {
  119. return updaterCode;
  120. }
  121. public void setUpdatedate(Date updatedate)
  122. {
  123. this.updatedate = updatedate;
  124. }
  125. public Date getUpdatedate()
  126. {
  127. return updatedate;
  128. }
  129. public void setDeptId(Long deptId)
  130. {
  131. this.deptId = deptId;
  132. }
  133. public Long getDeptId()
  134. {
  135. return deptId;
  136. }
  137. public void setRemarks(String remarks)
  138. {
  139. this.remarks = remarks;
  140. }
  141. public String getRemarks()
  142. {
  143. return remarks;
  144. }
  145. @Override
  146. public String toString() {
  147. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  148. .append("id", getId())
  149. .append("userUnit", getUserUnit())
  150. .append("userIds", getUserIds())
  151. .append("delFlag", getDelFlag())
  152. .append("createrCode", getCreaterCode())
  153. .append("createdate", getCreatedate())
  154. .append("updaterCode", getUpdaterCode())
  155. .append("updatedate", getUpdatedate())
  156. .append("deptId", getDeptId())
  157. .append("remarks", getRemarks())
  158. .toString();
  159. }
  160. }