From ff5ef8611ad4658ccf33b9a1656df459d2f4c1e6 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 28 Jan 2024 13:03:57 +0900 Subject: [PATCH] =?UTF-8?q?ToxiDocumentModel=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/model/pref/ToxiDocumentModel.java | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 model/src/main/java/one/nem/lacerta/model/pref/ToxiDocumentModel.java diff --git a/model/src/main/java/one/nem/lacerta/model/pref/ToxiDocumentModel.java b/model/src/main/java/one/nem/lacerta/model/pref/ToxiDocumentModel.java new file mode 100644 index 00000000..0afcce79 --- /dev/null +++ b/model/src/main/java/one/nem/lacerta/model/pref/ToxiDocumentModel.java @@ -0,0 +1,68 @@ +package one.nem.lacerta.model.pref; + +public class ToxiDocumentModel { + + // Field + public String parentDocumentId; + + public String childDocumentId; + + public int order; + + public boolean isActive; + + public String titleCache; + + // Constructor + public ToxiDocumentModel() { + } + + public ToxiDocumentModel(String parentDocumentId, String childDocumentId, int order, boolean isActive, String titleCache) { + this.parentDocumentId = parentDocumentId; + this.childDocumentId = childDocumentId; + this.order = order; + this.isActive = isActive; + this.titleCache = titleCache; + } + + // Getter / Setter + public String getParentDocumentId() { + return parentDocumentId; + } + + public void setParentDocumentId(String parentDocumentId) { + this.parentDocumentId = parentDocumentId; + } + + public String getChildDocumentId() { + return childDocumentId; + } + + public void setChildDocumentId(String childDocumentId) { + this.childDocumentId = childDocumentId; + } + + public int getOrder() { + return order; + } + + public void setOrder(int order) { + this.order = order; + } + + public boolean isActive() { + return isActive; + } + + public void setActive(boolean active) { + isActive = active; + } + + public String getTitleCache() { + return titleCache; + } + + public void setTitleCache(String titleCache) { + this.titleCache = titleCache; + } +}