From d338fd046dbeb354d99dbcffe4f99b20729b5e84 Mon Sep 17 00:00:00 2001 From: FLYPHT <1035748121@qq.com> Date: Wed, 3 Aug 2022 12:33:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E:=E9=99=84=E4=BB=B6=E3=80=81?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E7=9B=AE=E5=BD=95=E5=AE=9E=E4=BD=93=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/bpm/web/sys/base/attach/AttachInfo.java | 118 +++++++++++++++++++++ .../web/sys/base/attachFolder/AttachFolder.java | 64 +++++++++++ 2 files changed, 182 insertions(+) create mode 100644 smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attach/AttachInfo.java create mode 100644 smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attachFolder/AttachFolder.java diff --git a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attach/AttachInfo.java b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attach/AttachInfo.java new file mode 100644 index 0000000..83c79ec --- /dev/null +++ b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attach/AttachInfo.java @@ -0,0 +1,118 @@ +package cc.smtweb.system.bpm.web.sys.base.attach; + +import cc.smtweb.framework.core.annotation.SwTable; +import cc.smtweb.framework.core.common.SwMap; +import cc.smtweb.framework.core.db.impl.DefaultEntity; + +/** + * Created by 1 at 2022-08-03 12:31:43 + * 实体【[附件信息](SYS_ATTACH_INFO)】的Entity类 + */ +@SwTable("SYS_ATTACH_INFO") +public class AttachInfo extends DefaultEntity { + public static final String ENTITY_NAME = "SYS_ATTACH_INFO"; + + public AttachInfo() { + super(ENTITY_NAME); + } + + /** 附件ID */ + public long getId() { + return getLong("attach_id"); + } + + /** 附件ID */ + public void setId(long attach_id) { + put("attach_id", attach_id); + } + /** 附件名称 */ + public String getName() { + return getStr("attach_name"); + } + + /** 附件名称 */ + public void setName(String attach_name) { + put("attach_name", attach_name); + } + /** 附件文件后缀 */ + public String getSuffix() { + return getStr("attach_suffix"); + } + + /** 附件文件后缀 */ + public void setSuffix(String attach_suffix) { + put("attach_suffix", attach_suffix); + } + /** 拥有者id */ + public long getOwnerId() { + return getLong("attach_owner_id"); + } + + /** 拥有者id */ + public void setOwnerId(long attach_owner_id) { + put("attach_owner_id", attach_owner_id); + } + /** 远程路径 */ + public String getPath() { + return getStr("attach_path"); + } + + /** 远程路径 */ + public void setPath(String attach_path) { + put("attach_path", attach_path); + } + /** 附件类别 */ + public int getType() { + return getInt("attach_type"); + } + + /** 附件类别 */ + public void setType(int attach_type) { + put("attach_type", attach_type); + } + /** 附件大小 */ + public long getSize() { + return getLong("attach_size"); + } + + /** 附件大小 */ + public void setSize(long attach_size) { + put("attach_size", attach_size); + } + /** 是否临时文件 */ + public int getIsTemp() { + return getInt("attach_is_temp"); + } + + /** 是否临时文件 */ + public void setIsTemp(int attach_is_temp) { + put("attach_is_temp", attach_is_temp); + } + /** 上传单位 */ + public long getPartyId() { + return getLong("attach_party_id"); + } + + /** 上传单位 */ + public void setPartyId(long attach_party_id) { + put("attach_party_id", attach_party_id); + } + /** 上传时间 */ + public long getTime() { + return getLong("attach_time"); + } + + /** 上传时间 */ + public void setTime(long attach_time) { + put("attach_time", attach_time); + } + /** 上传人员 */ + public long getUserId() { + return getLong("attach_user_id"); + } + + /** 上传人员 */ + public void setUserId(long attach_user_id) { + put("attach_user_id", attach_user_id); + } +} diff --git a/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attachFolder/AttachFolder.java b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attachFolder/AttachFolder.java new file mode 100644 index 0000000..4fcb89e --- /dev/null +++ b/smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attachFolder/AttachFolder.java @@ -0,0 +1,64 @@ +package cc.smtweb.system.bpm.web.sys.base.attachFolder; + +import cc.smtweb.framework.core.annotation.SwTable; +import cc.smtweb.framework.core.common.SwMap; +import cc.smtweb.framework.core.db.impl.DefaultEntity; + +/** + * Created by 1 at 2022-08-03 12:31:51 + * 实体【[附件目录](SYS_ATTACH_FOLDER)】的Entity类 + */ +@SwTable("SYS_ATTACH_FOLDER") +public class AttachFolder extends DefaultEntity { + public static final String ENTITY_NAME = "SYS_ATTACH_FOLDER"; + + public AttachFolder() { + super(ENTITY_NAME); + } + + /** 主键 */ + public long getId() { + return getLong("folder_id"); + } + + /** 主键 */ + public void setId(long folder_id) { + put("folder_id", folder_id); + } + /** 远程路径 */ + public String getPath() { + return getStr("folder_path"); + } + + /** 远程路径 */ + public void setPath(String folder_path) { + put("folder_path", folder_path); + } + /** 年月目录 */ + public String getPeriod() { + return getStr("folder_period"); + } + + /** 年月目录 */ + public void setPeriod(String folder_period) { + put("folder_period", folder_period); + } + /** 最大序号 */ + public int getMaxSeq() { + return getInt("folder_max_seq"); + } + + /** 最大序号 */ + public void setMaxSeq(int folder_max_seq) { + put("folder_max_seq", folder_max_seq); + } + /** 文件个数 */ + public long getFileCount() { + return getLong("folder_file_count"); + } + + /** 文件个数 */ + public void setFileCount(long folder_file_count) { + put("folder_file_count", folder_file_count); + } +}