CostSurveyTemplateUpload.java 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. package com.hotent.surveyinfo.model;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.hotent.base.entity.BaseModel;
  5. import java.time.LocalDateTime;
  6. import com.baomidou.mybatisplus.annotation.TableId;
  7. import java.io.Serializable;
  8. import io.swagger.annotations.ApiModel;
  9. import io.swagger.annotations.ApiModelProperty;
  10. import com.fasterxml.jackson.annotation.JsonProperty;
  11. /**
  12. * 成本调查表模板上传记录表
  13. *
  14. * @company 山西清众科技股份有限公司
  15. * @author 超级管理员
  16. * @since 2025-01-XX
  17. */
  18. @ApiModel(value="CostSurveyTemplateUpload对象", description="成本调查表模板上传记录表")
  19. public class CostSurveyTemplateUpload extends BaseModel<CostSurveyTemplateUpload> {
  20. private static final long serialVersionUID = 1L;
  21. @ApiModelProperty(value = "主键ID")
  22. @TableId(value = "id", type = IdType.ASSIGN_ID)
  23. @JsonProperty("id")
  24. private String id;
  25. private String taskId;
  26. @ApiModelProperty(value = "监管目录ID")
  27. @TableField("catalog_id")
  28. @JsonProperty("catalogId")
  29. private String catalogId;
  30. @ApiModelProperty(value = "成本调查表模板ID")
  31. @TableField("survey_template_id")
  32. @JsonProperty("surveyTemplateId")
  33. private String surveyTemplateId;
  34. @ApiModelProperty(value = "是否必填:0否 1是")
  35. @TableField("is_required")
  36. @JsonProperty("isRequired")
  37. private String isRequired;
  38. @ApiModelProperty(value = "是否上传:0未上传 1已上传")
  39. @TableField("is_upload")
  40. @JsonProperty("isUpload")
  41. private String isUpload;
  42. @ApiModelProperty(value = "上传时间")
  43. @TableField("upload_time")
  44. @JsonProperty("uploadTime")
  45. private LocalDateTime uploadTime;
  46. @ApiModelProperty(value = "上传人")
  47. @TableField("upload_by")
  48. @JsonProperty("uploadBy")
  49. private String uploadBy;
  50. @ApiModelProperty(value = "文件地址")
  51. @TableField("file_url")
  52. @JsonProperty("fileUrl")
  53. private String fileUrl;
  54. @ApiModelProperty(value = "排序号")
  55. @TableField("order_num")
  56. @JsonProperty("orderNum")
  57. private Integer orderNum;
  58. @ApiModelProperty(value = "逻辑删除:0正常 1删除")
  59. @TableField("is_deleted")
  60. @JsonProperty("isDeleted")
  61. private String isDeleted;
  62. @ApiModelProperty(value = "创建时间")
  63. @TableField("create_time")
  64. @JsonProperty("createTime")
  65. private LocalDateTime createTime;
  66. @ApiModelProperty(value = "创建人")
  67. @TableField("create_by")
  68. @JsonProperty("createBy")
  69. private String createBy;
  70. @ApiModelProperty(value = "更新时间")
  71. @TableField("update_time")
  72. @JsonProperty("updateTime")
  73. private LocalDateTime updateTime;
  74. @ApiModelProperty(value = "更新人")
  75. @TableField("update_by")
  76. @JsonProperty("updateBy")
  77. private String updateBy;
  78. // 关联查询字段(非数据库字段)
  79. @ApiModelProperty(value = "调查表名称")
  80. @TableField(exist = false)
  81. @JsonProperty("surveyTemplateName")
  82. private String surveyTemplateName;
  83. @ApiModelProperty(value = "模板类型:1单记录 2固定表 3动态表")
  84. @TableField(exist = false)
  85. @JsonProperty("templateType")
  86. private String templateType;
  87. @ApiModelProperty(value = "资料类型")
  88. @TableField(exist = false)
  89. @JsonProperty("dataType")
  90. private String dataType;
  91. @TableField(exist = false)
  92. private String type;
  93. @ApiModelProperty(value = "0未审核 1审核通过 2审核拒绝")
  94. @TableField("audited_status")
  95. @JsonProperty("auditedStatus")
  96. private String auditedStatus;
  97. @ApiModelProperty(value = "审核人")
  98. @TableField("audited_user_id")
  99. @JsonProperty("auditedUserId")
  100. private String auditedUserId;
  101. @ApiModelProperty(value = "企业单位")
  102. @JsonProperty("auditedUnitId")
  103. @TableField("audited_unit_id")
  104. private String auditedUnitId;
  105. public String getAuditedUnitId() {
  106. return auditedUnitId;
  107. }
  108. public void setAuditedUnitId(String auditedUnitId) {
  109. this.auditedUnitId = auditedUnitId;
  110. }
  111. public String getType() {
  112. return type;
  113. }
  114. public void setType(String type) {
  115. this.type = type;
  116. }
  117. public String getAuditedStatus() {
  118. return auditedStatus;
  119. }
  120. public void setAuditedStatus(String auditedStatus) {
  121. this.auditedStatus = auditedStatus;
  122. }
  123. public String getAuditedUserId() {
  124. return auditedUserId;
  125. }
  126. public void setAuditedUserId(String auditedUserId) {
  127. this.auditedUserId = auditedUserId;
  128. }
  129. public String getId() {
  130. return id;
  131. }
  132. public void setId(String id) {
  133. this.id = id;
  134. }
  135. public String getCatalogId() {
  136. return catalogId;
  137. }
  138. public void setCatalogId(String catalogId) {
  139. this.catalogId = catalogId;
  140. }
  141. public String getSurveyTemplateId() {
  142. return surveyTemplateId;
  143. }
  144. public void setSurveyTemplateId(String surveyTemplateId) {
  145. this.surveyTemplateId = surveyTemplateId;
  146. }
  147. public String getIsRequired() {
  148. return isRequired;
  149. }
  150. public void setIsRequired(String isRequired) {
  151. this.isRequired = isRequired;
  152. }
  153. public String getIsUpload() {
  154. return isUpload;
  155. }
  156. public void setIsUpload(String isUpload) {
  157. this.isUpload = isUpload;
  158. }
  159. public LocalDateTime getUploadTime() {
  160. return uploadTime;
  161. }
  162. public void setUploadTime(LocalDateTime uploadTime) {
  163. this.uploadTime = uploadTime;
  164. }
  165. public String getUploadBy() {
  166. return uploadBy;
  167. }
  168. public void setUploadBy(String uploadBy) {
  169. this.uploadBy = uploadBy;
  170. }
  171. public String getFileUrl() {
  172. return fileUrl;
  173. }
  174. public void setFileUrl(String fileUrl) {
  175. this.fileUrl = fileUrl;
  176. }
  177. public Integer getOrderNum() {
  178. return orderNum;
  179. }
  180. public void setOrderNum(Integer orderNum) {
  181. this.orderNum = orderNum;
  182. }
  183. public String getIsDeleted() {
  184. return isDeleted;
  185. }
  186. public void setIsDeleted(String isDeleted) {
  187. this.isDeleted = isDeleted;
  188. }
  189. public LocalDateTime getCreateTime() {
  190. return createTime;
  191. }
  192. public void setCreateTime(LocalDateTime createTime) {
  193. this.createTime = createTime;
  194. }
  195. public String getCreateBy() {
  196. return createBy;
  197. }
  198. public void setCreateBy(String createBy) {
  199. this.createBy = createBy;
  200. }
  201. public LocalDateTime getUpdateTime() {
  202. return updateTime;
  203. }
  204. public void setUpdateTime(LocalDateTime updateTime) {
  205. this.updateTime = updateTime;
  206. }
  207. public String getUpdateBy() {
  208. return updateBy;
  209. }
  210. public void setUpdateBy(String updateBy) {
  211. this.updateBy = updateBy;
  212. }
  213. public String getSurveyTemplateName() {
  214. return surveyTemplateName;
  215. }
  216. public void setSurveyTemplateName(String surveyTemplateName) {
  217. this.surveyTemplateName = surveyTemplateName;
  218. }
  219. public String getTemplateType() {
  220. return templateType;
  221. }
  222. public void setTemplateType(String templateType) {
  223. this.templateType = templateType;
  224. }
  225. public String getDataType() {
  226. return dataType;
  227. }
  228. public void setDataType(String dataType) {
  229. this.dataType = dataType;
  230. }
  231. public String getTaskId() {
  232. return taskId;
  233. }
  234. public void setTaskId(String taskId) {
  235. this.taskId = taskId;
  236. }
  237. @Override
  238. protected Serializable pkVal() {
  239. return this.id;
  240. }
  241. @Override
  242. public String toString() {
  243. return "CostSurveyTemplateUpload{" +
  244. "id=" + id +
  245. ", catalogId=" + catalogId +
  246. ", surveyTemplateId=" + surveyTemplateId +
  247. ", isRequired=" + isRequired +
  248. ", isUpload=" + isUpload +
  249. ", uploadTime=" + uploadTime +
  250. ", uploadBy=" + uploadBy +
  251. ", fileUrl=" + fileUrl +
  252. ", orderNum=" + orderNum +
  253. ", isDeleted=" + isDeleted +
  254. ", createTime=" + createTime +
  255. ", createBy=" + createBy +
  256. ", updateTime=" + updateTime +
  257. ", updateBy=" + updateBy +
  258. "}";
  259. }
  260. }