浏览代码

base entity

于俊龙 1 月之前
父节点
当前提交
393b30ec15
共有 1 个文件被更改,包括 26 次插入0 次删除
  1. 26 0
      farm-common/src/main/java/jp/yamoto/farm/common/core/domain/BaseEntity.java

+ 26 - 0
farm-common/src/main/java/jp/yamoto/farm/common/core/domain/BaseEntity.java

@@ -35,6 +35,16 @@ public class BaseEntity implements Serializable
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date updateTime;
 
+    /**
+     * 登録プログラムID
+     */
+    private String createPgId;
+
+    /**
+     * 更新プログラムID
+     */
+    private String updatePgId;
+
     /** 備考 */
     private String remark;
 
@@ -102,6 +112,22 @@ public class BaseEntity implements Serializable
         this.remark = remark;
     }
 
+    public String getCreatePgId() {
+        return createPgId;
+    }
+
+    public void setCreatePgId(String createPgId) {
+        this.createPgId = createPgId;
+    }
+
+    public String getUpdatePgId() {
+        return updatePgId;
+    }
+
+    public void setUpdatePgId(String updatePgId) {
+        this.updatePgId = updatePgId;
+    }
+
     public Map<String, Object> getParams()
     {
         if (params == null)