QpTaskDetail.java 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. package com.zd.airbottle.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.zd.model.annotation.Excel;
  4. import com.zd.model.entity.BaseEntity;
  5. import io.swagger.annotations.ApiModel;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import org.apache.commons.lang3.builder.ToStringBuilder;
  8. import org.apache.commons.lang3.builder.ToStringStyle;
  9. import org.hibernate.validator.constraints.Length;
  10. import java.util.Date;
  11. /**
  12. * 【请填写功能名称】对象 qp_task_detail
  13. *
  14. * @author zd
  15. * @date 2022-05-11
  16. */
  17. @ApiModel("【请填写功能名称】")
  18. public class QpTaskDetail extends BaseEntity
  19. {
  20. private static final long serialVersionUID = 1L;
  21. /** 主键id,数据唯一标识 */
  22. @ApiModelProperty(value = "${comment}")
  23. private Long id;
  24. /** 货物配置表id */
  25. @Excel(name = "气瓶配置表id")
  26. @ApiModelProperty(value = "气瓶配置表id")
  27. private Long airBottleConfigId;
  28. /** 待办清单id */
  29. @Excel(name = "待办清单id")
  30. @ApiModelProperty(value = "待办清单id")
  31. private Long taskId;
  32. /** 气瓶数量 */
  33. @Excel(name = "气瓶数量")
  34. @ApiModelProperty(value = "气瓶数量")
  35. private Long bottleNumber;
  36. /** 气瓶状态 0.未派送 1.已派送/待入库 2.已入库 3.已拒收 */
  37. @Excel(name = "气瓶状态 0.未派送 1.已派送/待入库 2.已入库 3.已拒收")
  38. @ApiModelProperty(value = "气瓶状态 0.未派送 1.已派送/待入库 2.已入库 3.已拒收")
  39. private Long qpStatus;
  40. /** 申请描述 */
  41. @ApiModelProperty(value = "申请描述")
  42. private String applyDescribe;
  43. /** 供应商id */
  44. @ApiModelProperty(value = "供应商id")
  45. private Long supplierId;
  46. /** 运输车辆id */
  47. @Excel(name = "运输车辆id")
  48. @ApiModelProperty(value = "运输车辆id")
  49. private Long carId;
  50. /** 车牌号 */
  51. @Excel(name = "车牌号")
  52. @Length(message = "车牌号长度不能超过255")
  53. @ApiModelProperty(value = "车牌号")
  54. private String carNumber;
  55. /** 运输人员id */
  56. @Excel(name = "运输人员id")
  57. @ApiModelProperty(value = "运输人员id")
  58. private Long transportId;
  59. /** 运输人员姓名 */
  60. @Excel(name = "运输人员姓名")
  61. @Length(message = "运输人员姓名长度不能超过255")
  62. @ApiModelProperty(value = "运输人员姓名")
  63. private String transportName;
  64. /** 是否处理 0未处理 1.已处理 */
  65. @Excel(name = "是否处理 0未处理 1.已处理")
  66. @ApiModelProperty(value = "是否处理 0未处理 1.已处理")
  67. private Long isDispose;
  68. /** 处理人 */
  69. @Excel(name = "处理人")
  70. @Length(message = "处理人长度不能超过255")
  71. @ApiModelProperty(value = "处理人")
  72. private String disposeUser;
  73. /** 处理人id */
  74. @Excel(name = "处理人id")
  75. @ApiModelProperty(value = "处理人id")
  76. private Long disposeUserid;
  77. /** 处理时间 */
  78. @JsonFormat(pattern = "yyyy-MM-dd")
  79. @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
  80. @ApiModelProperty(value = "处理时间")
  81. private Date disposeTime;
  82. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  83. private Date disposeTime2;
  84. public void setId(Long id)
  85. {
  86. this.id = id;
  87. }
  88. public Long getId()
  89. {
  90. return id;
  91. }
  92. public void setTaskId(Long taskId)
  93. {
  94. this.taskId = taskId;
  95. }
  96. public Long getTaskId()
  97. {
  98. return taskId;
  99. }
  100. public void setBottleNumber(Long bottleNumber)
  101. {
  102. this.bottleNumber = bottleNumber;
  103. }
  104. public Long getBottleNumber()
  105. {
  106. return bottleNumber;
  107. }
  108. public void setQpStatus(Long qpStatus) { this.qpStatus = qpStatus; }
  109. public Long getQpStatus() { return qpStatus; }
  110. public Long getAirBottleConfigId() { return airBottleConfigId; }
  111. public void setAirBottleConfigId(Long airBottleConfigId) { this.airBottleConfigId = airBottleConfigId; }
  112. public String getApplyDescribe() { return applyDescribe; }
  113. public void setApplyDescribe(String applyDescribe) { this.applyDescribe = applyDescribe; }
  114. public Long getSupplierId() { return supplierId; }
  115. public void setSupplierId(Long supplierId) { this.supplierId = supplierId; }
  116. public Long getCarId() {
  117. return carId;
  118. }
  119. public void setCarId(Long carId) {
  120. this.carId = carId;
  121. }
  122. public String getCarNumber() {
  123. return carNumber;
  124. }
  125. public void setCarNumber(String carNumber) {
  126. this.carNumber = carNumber;
  127. }
  128. public Long getTransportId() {
  129. return transportId;
  130. }
  131. public void setTransportId(Long transportId) {
  132. this.transportId = transportId;
  133. }
  134. public String getTransportName() {
  135. return transportName;
  136. }
  137. public void setTransportName(String transportName) {
  138. this.transportName = transportName;
  139. }
  140. public Long getIsDispose() {
  141. return isDispose;
  142. }
  143. public void setIsDispose(Long isDispose) {
  144. this.isDispose = isDispose;
  145. }
  146. public String getDisposeUser() {
  147. return disposeUser;
  148. }
  149. public void setDisposeUser(String disposeUser) {
  150. this.disposeUser = disposeUser;
  151. }
  152. public Long getDisposeUserid() {
  153. return disposeUserid;
  154. }
  155. public void setDisposeUserid(Long disposeUserid) {
  156. this.disposeUserid = disposeUserid;
  157. }
  158. public Date getDisposeTime() {
  159. return disposeTime;
  160. }
  161. public void setDisposeTime(Date disposeTime) {
  162. this.disposeTime = disposeTime;
  163. }
  164. @Override
  165. public String toString() {
  166. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  167. .append("id", getId())
  168. .append("airBottleConfigId", getAirBottleConfigId())
  169. .append("taskId", getTaskId())
  170. .append("bottleNumber", getBottleNumber())
  171. .append("qpStatus", getQpStatus())
  172. .append("applyDescribe", getApplyDescribe())
  173. .append("supplierId", getSupplierId())
  174. .append("carId", getCarId())
  175. .append("carNumber", getCarNumber())
  176. .append("transportId", getTransportId())
  177. .append("transportName", getTransportName())
  178. .append("isDispose", getIsDispose())
  179. .append("disposeUser", getDisposeUser())
  180. .append("disposeUserid", getDisposeUserid())
  181. .append("disposeTime", getDisposeTime())
  182. .toString();
  183. }
  184. }