7958167320deb388c8812c6a108251ea1ea63f66.svn-base 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.core.model.BaseBean;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import io.swagger.annotations.ApiParam;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. import java.io.Serializable;
  9. import java.util.Date;
  10. /**
  11. * 共享整改问题对象 gw_pblm_shr
  12. *
  13. * @author ruoyi
  14. * @date 2023-04-18
  15. */
  16. public class GwPblmShrParam extends BaseBean implements Serializable
  17. {
  18. private static final long serialVersionUID = 1L;
  19. @ApiModelProperty("问题ID")
  20. private String id;
  21. @ApiModelProperty("对象代码(水库大坝注册号)")
  22. private String code;
  23. @ApiModelProperty("对象名称")
  24. private String name;
  25. @ApiModelProperty("对象所属行政区代码")
  26. private String adCode;
  27. @ApiModelProperty("问题类别")
  28. private String pblmNameBz;
  29. @ApiModelProperty("检查项目")
  30. private String checkPointBz;
  31. @ApiModelProperty("问题描述")
  32. private String pblmDescBz;
  33. @ApiModelProperty("详细描述")
  34. private String inspPblmDesc;
  35. @ApiModelProperty("备注")
  36. private String note;
  37. @JsonFormat(pattern = "yyyy-MM-dd")
  38. @ApiModelProperty("发现时间")
  39. private Date pblmTm;
  40. @JsonFormat(pattern = "yyyy-MM-dd")
  41. @ApiModelProperty("插入时间")
  42. private Date intm;
  43. @ApiParam(
  44. name = "pageNum",
  45. value = "页码",
  46. defaultValue = "1"
  47. )
  48. private int pageNum = 1;
  49. @ApiParam(
  50. name = "pageSize",
  51. value = "每页记录数",
  52. defaultValue = "10"
  53. )
  54. private int pageSize = 10;
  55. @ApiParam(
  56. name = "orderBy",
  57. value = "排序语句(例如:id desc, create_time desc)"
  58. )
  59. private String orderBy;
  60. @ApiParam(
  61. name = "count",
  62. value = "是否查询总数(默认不)",
  63. defaultValue = "false"
  64. )
  65. private boolean count = false;
  66. @ApiParam(
  67. name = "offset",
  68. value = "偏移量:上页最后一条记录标识"
  69. )
  70. private String offset;
  71. public String getId() {
  72. return id;
  73. }
  74. public void setId(String id) {
  75. this.id = id;
  76. }
  77. public String getCode() {
  78. return code;
  79. }
  80. public void setCode(String code) {
  81. this.code = code;
  82. }
  83. public String getName() {
  84. return name;
  85. }
  86. public void setName(String name) {
  87. this.name = name;
  88. }
  89. public String getAdCode() {
  90. return adCode;
  91. }
  92. public void setAdCode(String adCode) {
  93. this.adCode = adCode;
  94. }
  95. public String getPblmNameBz() {
  96. return pblmNameBz;
  97. }
  98. public void setPblmNameBz(String pblmNameBz) {
  99. this.pblmNameBz = pblmNameBz;
  100. }
  101. public String getCheckPointBz() {
  102. return checkPointBz;
  103. }
  104. public void setCheckPointBz(String checkPointBz) {
  105. this.checkPointBz = checkPointBz;
  106. }
  107. public String getPblmDescBz() {
  108. return pblmDescBz;
  109. }
  110. public void setPblmDescBz(String pblmDescBz) {
  111. this.pblmDescBz = pblmDescBz;
  112. }
  113. public String getInspPblmDesc() {
  114. return inspPblmDesc;
  115. }
  116. public void setInspPblmDesc(String inspPblmDesc) {
  117. this.inspPblmDesc = inspPblmDesc;
  118. }
  119. public String getNote() {
  120. return note;
  121. }
  122. public void setNote(String note) {
  123. this.note = note;
  124. }
  125. public Date getPblmTm() {
  126. return pblmTm;
  127. }
  128. public void setPblmTm(Date pblmTm) {
  129. this.pblmTm = pblmTm;
  130. }
  131. public Date getIntm() {
  132. return intm;
  133. }
  134. public void setIntm(Date intm) {
  135. this.intm = intm;
  136. }
  137. public int getPageNum() {
  138. return pageNum;
  139. }
  140. public void setPageNum(int pageNum) {
  141. this.pageNum = pageNum;
  142. }
  143. public int getPageSize() {
  144. return pageSize;
  145. }
  146. public void setPageSize(int pageSize) {
  147. this.pageSize = pageSize;
  148. }
  149. public String getOrderBy() {
  150. return orderBy;
  151. }
  152. public void setOrderBy(String orderBy) {
  153. this.orderBy = orderBy;
  154. }
  155. public boolean isCount() {
  156. return count;
  157. }
  158. public void setCount(boolean count) {
  159. this.count = count;
  160. }
  161. public String getOffset() {
  162. return offset;
  163. }
  164. public void setOffset(String offset) {
  165. this.offset = offset;
  166. }
  167. @Override
  168. public String toString() {
  169. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  170. .append("id", getId())
  171. .append("code", getCode())
  172. .append("name", getName())
  173. .append("adCode", getAdCode())
  174. .append("pblmNameBz", getPblmNameBz())
  175. .append("checkPointBz", getCheckPointBz())
  176. .append("pblmDescBz", getPblmDescBz())
  177. .append("inspPblmDesc", getInspPblmDesc())
  178. .append("note", getNote())
  179. .append("pblmTm", getPblmTm())
  180. .append("intm", getIntm())
  181. .toString();
  182. }
  183. }