|
@@ -4,15 +4,18 @@ import java.util.Date;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
+import com.alibaba.excel.annotation.format.DateTimeFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
|
import com.ruoyi.framework.web.domain.BaseEntity;
|
|
import com.ruoyi.framework.web.domain.BaseEntity;
|
|
|
|
|
|
|
|
+import static org.apache.xmlbeans.XmlBeans.getTitle;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* press对象 vr_press
|
|
* press对象 vr_press
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @author ruoyi
|
|
* @author ruoyi
|
|
* @date 2024-01-19
|
|
* @date 2024-01-19
|
|
*/
|
|
*/
|
|
@@ -36,10 +39,14 @@ public class Press extends BaseEntity
|
|
@ExcelProperty("刊名")
|
|
@ExcelProperty("刊名")
|
|
private String pressTitle;
|
|
private String pressTitle;
|
|
|
|
|
|
|
|
+ /** 年份 */
|
|
|
|
+ @JsonFormat(pattern = "yyyy")
|
|
|
|
+ @ExcelProperty("年份")
|
|
|
|
+ private Date date;
|
|
|
|
+
|
|
/** 刊期 */
|
|
/** 刊期 */
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
|
@ExcelProperty("刊期")
|
|
@ExcelProperty("刊期")
|
|
- private Date issue;
|
|
|
|
|
|
+ private String issue;
|
|
|
|
|
|
/** 起止页 */
|
|
/** 起止页 */
|
|
@ExcelProperty("起止页")
|
|
@ExcelProperty("起止页")
|
|
@@ -57,104 +64,103 @@ public class Press extends BaseEntity
|
|
@ExcelProperty("地区")
|
|
@ExcelProperty("地区")
|
|
private String area;
|
|
private String area;
|
|
|
|
|
|
- public void setPressId(Long pressId)
|
|
|
|
- {
|
|
|
|
|
|
+ public Long getPressId() {
|
|
|
|
+ return pressId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setPressId(Long pressId) {
|
|
this.pressId = pressId;
|
|
this.pressId = pressId;
|
|
}
|
|
}
|
|
|
|
|
|
- public Long getPressId()
|
|
|
|
- {
|
|
|
|
- return pressId;
|
|
|
|
|
|
+ public String getTitle() {
|
|
|
|
+ return title;
|
|
}
|
|
}
|
|
- public void setTitle(String title)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setTitle(String title) {
|
|
this.title = title;
|
|
this.title = title;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getTitle()
|
|
|
|
- {
|
|
|
|
- return title;
|
|
|
|
|
|
+ public String getAuthor() {
|
|
|
|
+ return author;
|
|
}
|
|
}
|
|
- public void setAuthor(String author)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setAuthor(String author) {
|
|
this.author = author;
|
|
this.author = author;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getAuthor()
|
|
|
|
- {
|
|
|
|
- return author;
|
|
|
|
|
|
+ public String getPressTitle() {
|
|
|
|
+ return pressTitle;
|
|
}
|
|
}
|
|
- public void setPressTitle(String pressTitle)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setPressTitle(String pressTitle) {
|
|
this.pressTitle = pressTitle;
|
|
this.pressTitle = pressTitle;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getPressTitle()
|
|
|
|
- {
|
|
|
|
- return pressTitle;
|
|
|
|
|
|
+ public Date getDate() {
|
|
|
|
+ return date;
|
|
}
|
|
}
|
|
- public void setIssue(Date issue)
|
|
|
|
- {
|
|
|
|
- this.issue = issue;
|
|
|
|
|
|
+
|
|
|
|
+ public void setDate(Date date) {
|
|
|
|
+ this.date = date;
|
|
}
|
|
}
|
|
|
|
|
|
- public Date getIssue()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getIssue() {
|
|
return issue;
|
|
return issue;
|
|
}
|
|
}
|
|
- public void setPages(String pages)
|
|
|
|
- {
|
|
|
|
- this.pages = pages;
|
|
|
|
|
|
+
|
|
|
|
+ public void setIssue(String issue) {
|
|
|
|
+ this.issue = issue;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getPages()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getPages() {
|
|
return pages;
|
|
return pages;
|
|
}
|
|
}
|
|
- public void setKeyword(String keyword)
|
|
|
|
- {
|
|
|
|
- this.keyword = keyword;
|
|
|
|
|
|
+
|
|
|
|
+ public void setPages(String pages) {
|
|
|
|
+ this.pages = pages;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getKeyword()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getKeyword() {
|
|
return keyword;
|
|
return keyword;
|
|
}
|
|
}
|
|
- public void setClassify(String classify)
|
|
|
|
- {
|
|
|
|
- this.classify = classify;
|
|
|
|
|
|
+
|
|
|
|
+ public void setKeyword(String keyword) {
|
|
|
|
+ this.keyword = keyword;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getClassify()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getClassify() {
|
|
return classify;
|
|
return classify;
|
|
}
|
|
}
|
|
- public void setArea(String area)
|
|
|
|
- {
|
|
|
|
- this.area = area;
|
|
|
|
|
|
+
|
|
|
|
+ public void setClassify(String classify) {
|
|
|
|
+ this.classify = classify;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getArea()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getArea() {
|
|
return area;
|
|
return area;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public void setArea(String area) {
|
|
|
|
+ this.area = area;
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public String toString() {
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
- .append("pressId", getPressId())
|
|
|
|
- .append("title", getTitle())
|
|
|
|
- .append("author", getAuthor())
|
|
|
|
- .append("pressTitle", getPressTitle())
|
|
|
|
- .append("issue", getIssue())
|
|
|
|
- .append("pages", getPages())
|
|
|
|
- .append("keyword", getKeyword())
|
|
|
|
- .append("classify", getClassify())
|
|
|
|
- .append("area", getArea())
|
|
|
|
- .append("createBy", getCreateBy())
|
|
|
|
- .append("createTime", getCreateTime())
|
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
|
- .toString();
|
|
|
|
|
|
+ .append("pressId", getPressId())
|
|
|
|
+ .append("title", getTitle())
|
|
|
|
+ .append("author", getAuthor())
|
|
|
|
+ .append("pressTitle", getPressTitle())
|
|
|
|
+ .append("date", getDate())
|
|
|
|
+ .append("issue", getIssue())
|
|
|
|
+ .append("pages", getPages())
|
|
|
|
+ .append("keyword", getKeyword())
|
|
|
|
+ .append("classify", getClassify())
|
|
|
|
+ .append("area", getArea())
|
|
|
|
+ .append("createBy", getCreateBy())
|
|
|
|
+ .append("createTime", getCreateTime())
|
|
|
|
+ .append("updateBy", getUpdateBy())
|
|
|
|
+ .append("updateTime", getUpdateTime())
|
|
|
|
+ .toString();
|
|
}
|
|
}
|
|
}
|
|
}
|