From 3acec3660921f22b58bdaa85d61a2fcfba8e6c98 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 21 六月 2023 10:11:31 +0800 Subject: [PATCH] 问卷列表 --- smartor/src/main/java/com/smartor/domain/SvyLibTitle.java | 284 +++++++++++++++++--------------------------------------- 1 files changed, 86 insertions(+), 198 deletions(-) diff --git a/smartor/src/main/java/com/smartor/domain/SvyLibTitle.java b/smartor/src/main/java/com/smartor/domain/SvyLibTitle.java index e7de39c..c42f285 100644 --- a/smartor/src/main/java/com/smartor/domain/SvyLibTitle.java +++ b/smartor/src/main/java/com/smartor/domain/SvyLibTitle.java @@ -2,7 +2,11 @@ import java.math.BigDecimal; import java.util.Date; + import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -10,259 +14,143 @@ /** * 闂嵎瀵硅薄 svy_lib_title - * + * * @author ruoyi * @date 2023-03-02 */ -public class SvyLibTitle extends BaseEntity -{ +@Data +@ApiModel(value = "MinioResponseDTO", description = "鏍囩鍒嗙被瀵硅薄") +public class SvyLibTitle extends BaseEntity { private static final long serialVersionUID = 1L; - /** 鑷ID */ + /** + * 鑷ID + */ + @ApiModelProperty(value = "鑷ID") private Long svyid; - /** 闂嵎鍒嗙被ID */ + /** + * 闂嵎鍒嗙被ID + */ + @ApiModelProperty(value = "闂嵎鍒嗙被ID") @Excel(name = " 闂嵎鍒嗙被ID ") private Long categoryid; - /** 闂嵎浠g爜 */ + /** + * 闂嵎浠g爜 + */ + @ApiModelProperty(value = "闂嵎浠g爜") @Excel(name = " 闂嵎浠g爜 ") private String svycode; - /** 闂嵎鍚嶇О */ + /** + * 闂嵎鍚嶇О + */ + @ApiModelProperty(value = "闂嵎鍚嶇О") @Excel(name = " 闂嵎鍚嶇О ") private String svyname; - /** 鎻忚堪 */ + /** + * 鎻忚堪 + */ + @ApiModelProperty(value = "鎻忚堪") @Excel(name = " 鎻忚堪 ") private String description; - /** 闂嵎浠嬬粛 */ + /** + * 闂嵎浠嬬粛 + */ + @ApiModelProperty(value = "闂嵎浠嬬粛") @Excel(name = " 闂嵎浠嬬粛 ") private String introduce; - /** 闂嵎鎻愮ず */ + /** + * 闂嵎鎻愮ず + */ + @ApiModelProperty(value = "闂嵎鎻愮ず") @Excel(name = " 闂嵎鎻愮ず ") private String submitprompt; - /** 妯℃澘ID */ + /** + * 妯℃澘ID + */ + @ApiModelProperty(value = "妯℃澘ID") @Excel(name = " 妯℃澘ID ") private Long templateid; - /** 鐗堟湰 */ + /** + * 鐗堟湰 + */ + @ApiModelProperty(value = "鐗堟湰") @Excel(name = " 鐗堟湰 ") private BigDecimal version; - /** 涓績搴撲唬鐮� */ + /** + * 涓績搴撲唬鐮� + */ + @ApiModelProperty(value = "涓績搴撲唬鐮�") @Excel(name = " 涓績搴撲唬鐮� ") private String centerlibrarycode; - /** 涓績搴揑D */ + /** + * 涓績搴揑D + */ + @ApiModelProperty(value = "涓績搴揑D") @Excel(name = " 涓績搴揑D ") private Long centerlibraryid; - /** 鏄惁鏈湴 */ + /** + * 鏄惁鏈湴 + */ + @ApiModelProperty(value = "鏄惁鏈湴") @Excel(name = " 鏄惁鏈湴 ") private Long islocal; - /** 鏄惁鍚敤 */ + /** + * 鏄惁鍚敤 + */ + @ApiModelProperty(value = "鏄惁鍚敤") @Excel(name = " 鏄惁鍚敤 ") private Long isenable; - /** 鏈烘瀯ID */ + /** + * 鏈烘瀯ID + */ + @ApiModelProperty(value = "鏈烘瀯ID") @Excel(name = " 鏈烘瀯ID ") private String orgid; - /** 鍒犻櫎鏍囪 */ + /** + * 鍒犻櫎鏍囪 + */ + @ApiModelProperty(value = "鍒犻櫎鏍囪") private String delFlag; - /** 涓婁紶鏍囪 */ + /** + * 涓婁紶鏍囪 + */ + @ApiModelProperty(value = "涓婁紶鏍囪") @Excel(name = " 涓婁紶鏍囪 ") private Long isupload; - /** 涓婁紶鏃堕棿 */ + + /** + * 涓婁紶鏃堕棿 + */ + @ApiModelProperty(value = "涓婁紶鏃堕棿") @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = " 涓婁紶鏃堕棿 ", width = 30, dateFormat = "yyyy-MM-dd") private Date uploadTime; - public void setSvyid(Long svyid) - { + /** + * 鐤剧梾鍚嶇О + */ + @ApiModelProperty(value = "鐤剧梾鍚嶇О") + private String icdname; + + + public SvyLibTitle(Long svyid, String icdname) { this.svyid = svyid; - } - - public Long getSvyid() - { - return svyid; - } - public void setCategoryid(Long categoryid) - { - this.categoryid = categoryid; - } - - public Long getCategoryid() - { - return categoryid; - } - public void setSvycode(String svycode) - { - this.svycode = svycode; - } - - public String getSvycode() - { - return svycode; - } - public void setSvyname(String svyname) - { - this.svyname = svyname; - } - - public String getSvyname() - { - return svyname; - } - public void setDescription(String description) - { - this.description = description; - } - - public String getDescription() - { - return description; - } - public void setIntroduce(String introduce) - { - this.introduce = introduce; - } - - public String getIntroduce() - { - return introduce; - } - public void setSubmitprompt(String submitprompt) - { - this.submitprompt = submitprompt; - } - - public String getSubmitprompt() - { - return submitprompt; - } - public void setTemplateid(Long templateid) - { - this.templateid = templateid; - } - - public Long getTemplateid() - { - return templateid; - } - public void setVersion(BigDecimal version) - { - this.version = version; - } - - public BigDecimal getVersion() - { - return version; - } - public void setCenterlibrarycode(String centerlibrarycode) - { - this.centerlibrarycode = centerlibrarycode; - } - - public String getCenterlibrarycode() - { - return centerlibrarycode; - } - public void setCenterlibraryid(Long centerlibraryid) - { - this.centerlibraryid = centerlibraryid; - } - - public Long getCenterlibraryid() - { - return centerlibraryid; - } - public void setIslocal(Long islocal) - { - this.islocal = islocal; - } - - public Long getIslocal() - { - return islocal; - } - public void setIsenable(Long isenable) - { - this.isenable = isenable; - } - - public Long getIsenable() - { - return isenable; - } - public void setOrgid(String orgid) - { - this.orgid = orgid; - } - - public String getOrgid() - { - return orgid; - } - public void setDelFlag(String delFlag) - { - this.delFlag = delFlag; - } - - public String getDelFlag() - { - return delFlag; - } - public void setIsupload(Long isupload) - { - this.isupload = isupload; - } - - public Long getIsupload() - { - return isupload; - } - public void setUploadTime(Date uploadTime) - { - this.uploadTime = uploadTime; - } - - public Date getUploadTime() - { - return uploadTime; - } - - @Override - public String toString() { - return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) - .append("svyid", getSvyid()) - .append("categoryid", getCategoryid()) - .append("svycode", getSvycode()) - .append("svyname", getSvyname()) - .append("description", getDescription()) - .append("introduce", getIntroduce()) - .append("submitprompt", getSubmitprompt()) - .append("templateid", getTemplateid()) - .append("version", getVersion()) - .append("centerlibrarycode", getCenterlibrarycode()) - .append("centerlibraryid", getCenterlibraryid()) - .append("islocal", getIslocal()) - .append("isenable", getIsenable()) - .append("orgid", getOrgid()) - .append("delFlag", getDelFlag()) - .append("createBy", getCreateBy()) - .append("createTime", getCreateTime()) - .append("updateBy", getUpdateBy()) - .append("updateTime", getUpdateTime()) - .append("isupload", getIsupload()) - .append("uploadTime", getUploadTime()) - .toString(); + this.icdname = icdname; } } -- Gitblit v1.9.3