From a7f2e8231ea8c0d8471ad35f6a15390217912301 Mon Sep 17 00:00:00 2001 From: pnfygqivr Date: Sun, 30 Apr 2023 09:01:43 +0800 Subject: [PATCH] ADD file via upload --- .../src/main/java/org/sang/bean/Article.java | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 blogserver/src/main/java/org/sang/bean/Article.java diff --git a/blogserver/src/main/java/org/sang/bean/Article.java b/blogserver/src/main/java/org/sang/bean/Article.java new file mode 100644 index 0000000..1203553 --- /dev/null +++ b/blogserver/src/main/java/org/sang/bean/Article.java @@ -0,0 +1,152 @@ +package org.sang.bean; + +import java.sql.Timestamp; +import java.util.List; + + +public class Article { + private Long id; + private String title; + private String mdContent; + private String htmlContent; + private String summary; + private Long cid; + private Long uid; + private Timestamp publishDate; + private Integer state; + private Integer pageView; + private Timestamp editTime; + private String[] dynamicTags; + private String nickname; + private String cateName; + private List tags; + private String stateStr; + + public String getStateStr() { + return stateStr; + } + + public void setStateStr(String stateStr) { + this.stateStr = stateStr; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public String getNickname() { + return nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public String getCateName() { + return cateName; + } + + public void setCateName(String cateName) { + this.cateName = cateName; + } + + public String[] getDynamicTags() { + return dynamicTags; + } + + public void setDynamicTags(String[] dynamicTags) { + this.dynamicTags = dynamicTags; + } + + public Timestamp getEditTime() { + return editTime; + } + + public void setEditTime(Timestamp editTime) { + this.editTime = editTime; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getMdContent() { + return mdContent; + } + + public void setMdContent(String mdContent) { + this.mdContent = mdContent; + } + + public String getHtmlContent() { + return htmlContent; + } + + public void setHtmlContent(String htmlContent) { + this.htmlContent = htmlContent; + } + + public String getSummary() { + return summary; + } + + public void setSummary(String summary) { + this.summary = summary; + } + + public Long getCid() { + return cid; + } + + public void setCid(Long cid) { + this.cid = cid; + } + + public Long getUid() { + return uid; + } + + public void setUid(Long uid) { + this.uid = uid; + } + + public Timestamp getPublishDate() { + return publishDate; + } + + public void setPublishDate(Timestamp publishDate) { + this.publishDate = publishDate; + } + + public Integer getState() { + return state; + } + + public void setState(Integer state) { + this.state = state; + } + + public Integer getPageView() { + return pageView; + } + + public void setPageView(Integer pageView) { + this.pageView = pageView; + } +}