瀏覽代碼

新增:附件、附件目录实体类

master
FLYPHT 2 年之前
父節點
當前提交
d338fd046d
共有 2 個文件被更改,包括 182 次插入0 次删除
  1. +118
    -0
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attach/AttachInfo.java
  2. +64
    -0
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/sys/base/attachFolder/AttachFolder.java

+ 118
- 0
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);
}
}

+ 64
- 0
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);
}
}

Loading…
取消
儲存