|
@@ -0,0 +1,216 @@
|
|
|
|
|
+package apps.pojo;
|
|
|
|
|
+
|
|
|
|
|
+import java.sql.Timestamp;
|
|
|
|
|
+import java.util.HashMap;
|
|
|
|
|
+
|
|
|
|
|
+import space.core.db.bean.base.PageBean;
|
|
|
|
|
+
|
|
|
|
|
+public class WebsiteTemplate extends PageBean {
|
|
|
|
|
+ public String clsInfo;
|
|
|
|
|
+ private static final HashMap WEBSITETEMPLATE_FIELDS_MAPPING = new HashMap();
|
|
|
|
|
+
|
|
|
|
|
+ private Long wtid;
|
|
|
|
|
+ private Long dcode;
|
|
|
|
|
+ private Long unitid;
|
|
|
|
|
+ private String name;
|
|
|
|
|
+ private String desc;
|
|
|
|
|
+ private String previewUrl;
|
|
|
|
|
+ private String thumbnail;
|
|
|
|
|
+ private Long wtccode;
|
|
|
|
|
+ private Long wttcode;
|
|
|
|
|
+ private Long wtacode;
|
|
|
|
|
+ private Long cms;
|
|
|
|
|
+ private String config;
|
|
|
|
|
+ private Long sortNumber;
|
|
|
|
|
+ private Timestamp createTime;
|
|
|
|
|
+ private Long createPid;
|
|
|
|
|
+ private String idCode;
|
|
|
|
|
+
|
|
|
|
|
+ public WebsiteTemplate() {
|
|
|
|
|
+ this.clsInfo = " SpaceCore Compatible Version; Date: 2026/07/17;";
|
|
|
|
|
+ this.setObjName("WebsiteTemplate");
|
|
|
|
|
+ this.setDbTableName("website_template");
|
|
|
|
|
+ if (WEBSITETEMPLATE_FIELDS_MAPPING.size() == 0) {
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("wtid", new String[] { "wtid", "wtid", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("dcode", new String[] { "dcode", "dcode", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("unitid", new String[] { "unitid", "unitid", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("name", new String[] { "name", "name", "String" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("desc", new String[] { "desc", "desc", "String" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("previewUrl", new String[] { "preview_url", "previewUrl", "String" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("thumbnail", new String[] { "thumbnail", "thumbnail", "String" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("wtccode", new String[] { "wtccode", "wtccode", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("wttcode", new String[] { "wttcode", "wttcode", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("wtacode", new String[] { "wtacode", "wtacode", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("cms", new String[] { "cms", "cms", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("config", new String[] { "config", "config", "String" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("sortNumber", new String[] { "sort_number", "sortNumber", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("createTime", new String[] { "create_time", "createTime", "Timestamp" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("createPid", new String[] { "create_pid", "createPid", "Long" });
|
|
|
|
|
+ WEBSITETEMPLATE_FIELDS_MAPPING.put("idCode", new String[] { "id_code", "idCode", "String" });
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public HashMap getFieldMap() {
|
|
|
|
|
+ return WEBSITETEMPLATE_FIELDS_MAPPING;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public int getFieldMappingCount() {
|
|
|
|
|
+ return WEBSITETEMPLATE_FIELDS_MAPPING.size();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Object[] getFieldMappingItems() {
|
|
|
|
|
+ return WEBSITETEMPLATE_FIELDS_MAPPING.values().toArray();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String[] getFieldMappingItem(String key) {
|
|
|
|
|
+ return (String[]) WEBSITETEMPLATE_FIELDS_MAPPING.get(key);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getDbObjectId() {
|
|
|
|
|
+ return this.wtid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setDbObjectId(Long wtid) {
|
|
|
|
|
+ this.wtid = wtid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getDbObjectIdName() {
|
|
|
|
|
+ return "wtid";
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getObjectIdName() {
|
|
|
|
|
+ return "wtid";
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getWtid() {
|
|
|
|
|
+ return wtid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setWtid(Long wtid) {
|
|
|
|
|
+ this.wtid = wtid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getDcode() {
|
|
|
|
|
+ return dcode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setDcode(Long dcode) {
|
|
|
|
|
+ this.dcode = dcode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getUnitid() {
|
|
|
|
|
+ return unitid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setUnitid(Long unitid) {
|
|
|
|
|
+ this.unitid = unitid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getName() {
|
|
|
|
|
+ return name;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setName(String name) {
|
|
|
|
|
+ this.name = name;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getDesc() {
|
|
|
|
|
+ return desc;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setDesc(String desc) {
|
|
|
|
|
+ this.desc = desc;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getPreviewUrl() {
|
|
|
|
|
+ return previewUrl;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setPreviewUrl(String previewUrl) {
|
|
|
|
|
+ this.previewUrl = previewUrl;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getThumbnail() {
|
|
|
|
|
+ return thumbnail;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setThumbnail(String thumbnail) {
|
|
|
|
|
+ this.thumbnail = thumbnail;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getWtccode() {
|
|
|
|
|
+ return wtccode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setWtccode(Long wtccode) {
|
|
|
|
|
+ this.wtccode = wtccode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getWttcode() {
|
|
|
|
|
+ return wttcode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setWttcode(Long wttcode) {
|
|
|
|
|
+ this.wttcode = wttcode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getWtacode() {
|
|
|
|
|
+ return wtacode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setWtacode(Long wtacode) {
|
|
|
|
|
+ this.wtacode = wtacode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getCms() {
|
|
|
|
|
+ return cms;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCms(Long cms) {
|
|
|
|
|
+ this.cms = cms;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getConfig() {
|
|
|
|
|
+ return config;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setConfig(String config) {
|
|
|
|
|
+ this.config = config;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getSortNumber() {
|
|
|
|
|
+ return sortNumber;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setSortNumber(Long sortNumber) {
|
|
|
|
|
+ this.sortNumber = sortNumber;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Timestamp getCreateTime() {
|
|
|
|
|
+ return createTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCreateTime(Timestamp createTime) {
|
|
|
|
|
+ this.createTime = createTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getCreatePid() {
|
|
|
|
|
+ return createPid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCreatePid(Long createPid) {
|
|
|
|
|
+ this.createPid = createPid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getIdCode() {
|
|
|
|
|
+ return idCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setIdCode(String idCode) {
|
|
|
|
|
+ this.idCode = idCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String toString() {
|
|
|
|
|
+ return "WebsiteTemplate[wtid=" + wtid + "]";
|
|
|
|
|
+ }
|
|
|
|
|
+}
|