6b5b66c55588cfd70b591948169932309e24e51c.svn-base 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. package cn.com.goldenwater.dcproj.param;
  2. import java.io.Serializable;
  3. import java.util.Date;
  4. import cn.com.goldenwater.core.model.BaseBean;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import io.swagger.annotations.ApiParam;
  8. import org.apache.commons.lang3.builder.ToStringBuilder;
  9. import org.apache.commons.lang3.builder.ToStringStyle;
  10. /**
  11. * 问题反馈附件对象 gw_pblm_rect_file
  12. *
  13. * @author ruoyi
  14. * @date 2023-04-18
  15. */
  16. public class GwPblmRectFileParam extends BaseBean implements Serializable
  17. {
  18. private static final long serialVersionUID = 1L;
  19. @ApiModelProperty("ID")
  20. private String id;
  21. @ApiModelProperty("问题反馈ID")
  22. private String pblmId;
  23. @ApiModelProperty("后缀名")
  24. private String fileExt;
  25. @ApiModelProperty("大小")
  26. private Double fileSize;
  27. @ApiModelProperty("路径(全路径)")
  28. private String filePath;
  29. @ApiModelProperty("名称")
  30. private String fileName;
  31. @JsonFormat(pattern = "yyyy-MM-dd")
  32. @ApiModelProperty("插入时间")
  33. private Date createDate;
  34. @ApiParam(
  35. name = "pageNum",
  36. value = "页码",
  37. defaultValue = "1"
  38. )
  39. private int pageNum = 1;
  40. @ApiParam(
  41. name = "pageSize",
  42. value = "每页记录数",
  43. defaultValue = "10"
  44. )
  45. private int pageSize = 10;
  46. @ApiParam(
  47. name = "orderBy",
  48. value = "排序语句(例如:id desc, create_time desc)"
  49. )
  50. private String orderBy;
  51. @ApiParam(
  52. name = "count",
  53. value = "是否查询总数(默认不)",
  54. defaultValue = "false"
  55. )
  56. private boolean count = false;
  57. @ApiParam(
  58. name = "offset",
  59. value = "偏移量:上页最后一条记录标识"
  60. )
  61. private String offset;
  62. public void setId(String id)
  63. {
  64. this.id = id;
  65. }
  66. public String getId()
  67. {
  68. return id;
  69. }
  70. public void setPblmId(String pblmId)
  71. {
  72. this.pblmId = pblmId;
  73. }
  74. public String getPblmId()
  75. {
  76. return pblmId;
  77. }
  78. public void setFileExt(String fileExt)
  79. {
  80. this.fileExt = fileExt;
  81. }
  82. public String getFileExt()
  83. {
  84. return fileExt;
  85. }
  86. public void setFileSize(Double fileSize)
  87. {
  88. this.fileSize = fileSize;
  89. }
  90. public Double getFileSize()
  91. {
  92. return fileSize;
  93. }
  94. public void setFilePath(String filePath)
  95. {
  96. this.filePath = filePath;
  97. }
  98. public String getFilePath()
  99. {
  100. return filePath;
  101. }
  102. public void setFileName(String fileName)
  103. {
  104. this.fileName = fileName;
  105. }
  106. public String getFileName()
  107. {
  108. return fileName;
  109. }
  110. public void setCreateDate(Date createDate)
  111. {
  112. this.createDate = createDate;
  113. }
  114. public Date getCreateDate()
  115. {
  116. return createDate;
  117. }
  118. public int getPageNum() {
  119. return pageNum;
  120. }
  121. public void setPageNum(int pageNum) {
  122. this.pageNum = pageNum;
  123. }
  124. public int getPageSize() {
  125. return pageSize;
  126. }
  127. public void setPageSize(int pageSize) {
  128. this.pageSize = pageSize;
  129. }
  130. public String getOrderBy() {
  131. return orderBy;
  132. }
  133. public void setOrderBy(String orderBy) {
  134. this.orderBy = orderBy;
  135. }
  136. public boolean isCount() {
  137. return count;
  138. }
  139. public void setCount(boolean count) {
  140. this.count = count;
  141. }
  142. public String getOffset() {
  143. return offset;
  144. }
  145. public void setOffset(String offset) {
  146. this.offset = offset;
  147. }
  148. @Override
  149. public String toString() {
  150. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  151. .append("id", getId())
  152. .append("pblmId", getPblmId())
  153. .append("fileExt", getFileExt())
  154. .append("fileSize", getFileSize())
  155. .append("filePath", getFilePath())
  156. .append("fileName", getFileName())
  157. .append("createDate", getCreateDate())
  158. .toString();
  159. }
  160. }