|
|
@@ -0,0 +1,326 @@
|
|
|
+package apps.pojo;
|
|
|
+
|
|
|
+import java.sql.Timestamp;
|
|
|
+import java.util.HashMap;
|
|
|
+
|
|
|
+import space.core.db.bean.base.PageBean;
|
|
|
+
|
|
|
+public class Article extends PageBean {
|
|
|
+ public String clsInfo;
|
|
|
+ private static final HashMap ARTICLE_FIELDS_MAPPING = new HashMap();
|
|
|
+
|
|
|
+ private Long articleid;
|
|
|
+ private Long dcode;
|
|
|
+ private Long websiteid;
|
|
|
+ private Long unitid;
|
|
|
+ private Long ascode;
|
|
|
+ private Long navigationid;
|
|
|
+ private String title;
|
|
|
+ private Long ajtcode;
|
|
|
+ private String desc;
|
|
|
+ private String source;
|
|
|
+ private String thumbnail;
|
|
|
+ private Long sticktop;
|
|
|
+ private Timestamp sticktopEndTime;
|
|
|
+ private Long sticktopSchedulesid;
|
|
|
+ private Long release;
|
|
|
+ private Timestamp releaseTime;
|
|
|
+ private Long releaseTaskSchedulesid;
|
|
|
+ private String content;
|
|
|
+ private String editContent;
|
|
|
+ private String url;
|
|
|
+ private Long readCount;
|
|
|
+ private Timestamp createTime;
|
|
|
+ private Timestamp lastChangeTime;
|
|
|
+ private Long createPid;
|
|
|
+ private Long lastChangePid;
|
|
|
+ private Long guestAccessFlag;
|
|
|
+ private Long sortNumber;
|
|
|
+
|
|
|
+ public Article() {
|
|
|
+ this.clsInfo = " SpaceCore Compatible Version; Date: 2026/07/19;";
|
|
|
+ this.setObjName("Article");
|
|
|
+ this.setDbTableName("article");
|
|
|
+ if (ARTICLE_FIELDS_MAPPING.size() == 0) {
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("articleid", new String[] { "articleid", "articleid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("dcode", new String[] { "dcode", "dcode", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("websiteid", new String[] { "websiteid", "websiteid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("unitid", new String[] { "unitid", "unitid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("ascode", new String[] { "ascode", "ascode", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("navigationid", new String[] { "navigationid", "navigationid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("title", new String[] { "title", "title", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("ajtcode", new String[] { "ajtcode", "ajtcode", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("desc", new String[] { "desc", "desc", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("source", new String[] { "source", "source", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("thumbnail", new String[] { "thumbnail", "thumbnail", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("sticktop", new String[] { "sticktop", "sticktop", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("sticktopEndTime", new String[] { "sticktop_end_time", "sticktopEndTime", "Timestamp" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("sticktopSchedulesid", new String[] { "sticktop_schedulesid", "sticktopSchedulesid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("release", new String[] { "release", "release", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("releaseTime", new String[] { "release_time", "releaseTime", "Timestamp" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("releaseTaskSchedulesid", new String[] { "release_task_schedulesid", "releaseTaskSchedulesid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("content", new String[] { "content", "content", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("editContent", new String[] { "edit_content", "editContent", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("url", new String[] { "url", "url", "String" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("readCount", new String[] { "read_count", "readCount", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("createTime", new String[] { "create_time", "createTime", "Timestamp" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("lastChangeTime", new String[] { "last_change_time", "lastChangeTime", "Timestamp" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("createPid", new String[] { "create_pid", "createPid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("lastChangePid", new String[] { "last_change_pid", "lastChangePid", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("guestAccessFlag", new String[] { "guest_access_flag", "guestAccessFlag", "Long" });
|
|
|
+ ARTICLE_FIELDS_MAPPING.put("sortNumber", new String[] { "sort_number", "sortNumber", "Long" });
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public HashMap getFieldMap() {
|
|
|
+ return ARTICLE_FIELDS_MAPPING;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getFieldMappingCount() {
|
|
|
+ return ARTICLE_FIELDS_MAPPING.size();
|
|
|
+ }
|
|
|
+
|
|
|
+ public Object[] getFieldMappingItems() {
|
|
|
+ return ARTICLE_FIELDS_MAPPING.values().toArray();
|
|
|
+ }
|
|
|
+
|
|
|
+ public String[] getFieldMappingItem(String key) {
|
|
|
+ return (String[]) ARTICLE_FIELDS_MAPPING.get(key);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getDbObjectId() {
|
|
|
+ return articleid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDbObjectId(Long articleid) {
|
|
|
+ this.articleid = articleid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getDbObjectIdName() {
|
|
|
+ return "articleid";
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getObjectIdName() {
|
|
|
+ return "articleid";
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getArticleid() {
|
|
|
+ return articleid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setArticleid(Long articleid) {
|
|
|
+ this.articleid = articleid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getDcode() {
|
|
|
+ return dcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDcode(Long dcode) {
|
|
|
+ this.dcode = dcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getWebsiteid() {
|
|
|
+ return websiteid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setWebsiteid(Long websiteid) {
|
|
|
+ this.websiteid = websiteid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getUnitid() {
|
|
|
+ return unitid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUnitid(Long unitid) {
|
|
|
+ this.unitid = unitid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getAscode() {
|
|
|
+ return ascode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAscode(Long ascode) {
|
|
|
+ this.ascode = ascode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getNavigationid() {
|
|
|
+ return navigationid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNavigationid(Long navigationid) {
|
|
|
+ this.navigationid = navigationid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getTitle() {
|
|
|
+ return title;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTitle(String title) {
|
|
|
+ this.title = title;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getAjtcode() {
|
|
|
+ return ajtcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAjtcode(Long ajtcode) {
|
|
|
+ this.ajtcode = ajtcode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getDesc() {
|
|
|
+ return desc;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDesc(String desc) {
|
|
|
+ this.desc = desc;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSource() {
|
|
|
+ return source;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSource(String source) {
|
|
|
+ this.source = source;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getThumbnail() {
|
|
|
+ return thumbnail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setThumbnail(String thumbnail) {
|
|
|
+ this.thumbnail = thumbnail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getSticktop() {
|
|
|
+ return sticktop;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSticktop(Long sticktop) {
|
|
|
+ this.sticktop = sticktop;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Timestamp getSticktopEndTime() {
|
|
|
+ return sticktopEndTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSticktopEndTime(Timestamp sticktopEndTime) {
|
|
|
+ this.sticktopEndTime = sticktopEndTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getSticktopSchedulesid() {
|
|
|
+ return sticktopSchedulesid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSticktopSchedulesid(Long sticktopSchedulesid) {
|
|
|
+ this.sticktopSchedulesid = sticktopSchedulesid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getRelease() {
|
|
|
+ return release;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRelease(Long release) {
|
|
|
+ this.release = release;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Timestamp getReleaseTime() {
|
|
|
+ return releaseTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setReleaseTime(Timestamp releaseTime) {
|
|
|
+ this.releaseTime = releaseTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getReleaseTaskSchedulesid() {
|
|
|
+ return releaseTaskSchedulesid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setReleaseTaskSchedulesid(Long releaseTaskSchedulesid) {
|
|
|
+ this.releaseTaskSchedulesid = releaseTaskSchedulesid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getContent() {
|
|
|
+ return content;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContent(String content) {
|
|
|
+ this.content = content;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEditContent() {
|
|
|
+ return editContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEditContent(String editContent) {
|
|
|
+ this.editContent = editContent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getUrl() {
|
|
|
+ return url;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUrl(String url) {
|
|
|
+ this.url = url;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getReadCount() {
|
|
|
+ return readCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setReadCount(Long readCount) {
|
|
|
+ this.readCount = readCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Timestamp getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateTime(Timestamp createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Timestamp getLastChangeTime() {
|
|
|
+ return lastChangeTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLastChangeTime(Timestamp lastChangeTime) {
|
|
|
+ this.lastChangeTime = lastChangeTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCreatePid() {
|
|
|
+ return createPid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreatePid(Long createPid) {
|
|
|
+ this.createPid = createPid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getLastChangePid() {
|
|
|
+ return lastChangePid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setLastChangePid(Long lastChangePid) {
|
|
|
+ this.lastChangePid = lastChangePid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getGuestAccessFlag() {
|
|
|
+ return guestAccessFlag;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGuestAccessFlag(Long guestAccessFlag) {
|
|
|
+ this.guestAccessFlag = guestAccessFlag;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getSortNumber() {
|
|
|
+ return sortNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSortNumber(Long sortNumber) {
|
|
|
+ this.sortNumber = sortNumber;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String toString() {
|
|
|
+ return "Article[articleid=" + articleid + "]";
|
|
|
+ }
|
|
|
+}
|