|
@@ -24,12 +24,8 @@ import java.util.Date;
|
|
|
@Column(name="publish_date", attrName="publishDate", label="发布日期"),
|
|
|
@Column(name="outline", attrName="outline", label="概要"),
|
|
|
@Column(name="market_type", attrName="marketType", label="所属分类"),
|
|
|
- @Column(name="file_name", attrName="fileName", label="图片名称"),
|
|
|
@Column(name="top_label_id", attrName="topLabelId", label="一级标签id"),
|
|
|
@Column(name="second_label_id", attrName="secondLabelId", label="二级标签id"),
|
|
|
- @Column(name="preview_pdf_file", attrName="previewPdfFile", label="预览pdf文件"),
|
|
|
- @Column(name="pdf_file", attrName="pdfFile", label="pdf文件"),
|
|
|
- @Column(name="ppt_file", attrName="pptFile", label="ppt文件"),
|
|
|
@Column(name="use_down_pay", attrName="useDownPay", label="下载是否需要支付 0否 1是"),
|
|
|
@Column(name="use_down_pay_price", attrName="useDownPayPrice", label="下载需要支付单价"),
|
|
|
}, orderBy="a.update_date DESC"
|
|
@@ -41,12 +37,8 @@ public class ResearchBriefReport extends DataEntity<ResearchBriefReport> {
|
|
|
private Date publishDate; // 发布日期
|
|
|
private String outline; // 概要
|
|
|
private String marketType; // 所属分类
|
|
|
- private String fileName; // 图片名称
|
|
|
private String topLabelId; // 一级标签id
|
|
|
private String secondLabelId; // 二级标签id
|
|
|
- private String previewPdfFile; // 预览pdf文件
|
|
|
- private String pdfFile; // pdf文件
|
|
|
- private String pptFile; // ppt文件
|
|
|
private String useDownPay; // 下载是否需要支付 0否 1是
|
|
|
private BigDecimal useDownPayPrice; // 下载需要支付单价
|
|
|
private Date publishDateStr; //发布日期起
|
|
@@ -97,15 +89,6 @@ public class ResearchBriefReport extends DataEntity<ResearchBriefReport> {
|
|
|
this.marketType = marketType;
|
|
|
}
|
|
|
|
|
|
- @Size(min=0, max=128, message="图片名称长度不能超过 128 个字符")
|
|
|
- public String getFileName() {
|
|
|
- return fileName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFileName(String fileName) {
|
|
|
- this.fileName = fileName;
|
|
|
- }
|
|
|
-
|
|
|
@Size(min=0, max=64, message="一级标签id长度不能超过 64 个字符")
|
|
|
public String getTopLabelId() {
|
|
|
return topLabelId;
|
|
@@ -124,33 +107,6 @@ public class ResearchBriefReport extends DataEntity<ResearchBriefReport> {
|
|
|
this.secondLabelId = secondLabelId;
|
|
|
}
|
|
|
|
|
|
- @Size(min=0, max=255, message="预览pdf文件长度不能超过 255 个字符")
|
|
|
- public String getPreviewPdfFile() {
|
|
|
- return previewPdfFile;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPreviewPdfFile(String previewPdfFile) {
|
|
|
- this.previewPdfFile = previewPdfFile;
|
|
|
- }
|
|
|
-
|
|
|
- @Size(min=0, max=255, message="pdf文件长度不能超过 255 个字符")
|
|
|
- public String getPdfFile() {
|
|
|
- return pdfFile;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPdfFile(String pdfFile) {
|
|
|
- this.pdfFile = pdfFile;
|
|
|
- }
|
|
|
-
|
|
|
- @Size(min=0, max=255, message="ppt文件长度不能超过 255 个字符")
|
|
|
- public String getPptFile() {
|
|
|
- return pptFile;
|
|
|
- }
|
|
|
-
|
|
|
- public void setPptFile(String pptFile) {
|
|
|
- this.pptFile = pptFile;
|
|
|
- }
|
|
|
-
|
|
|
@Size(min=0, max=2, message="下载是否需要支付 0否 1是长度不能超过 2 个字符")
|
|
|
public String getUseDownPay() {
|
|
|
return useDownPay;
|