diff --git a/src/main/java/org/ntlab/acanthus_server/entities/Editor.java b/src/main/java/org/ntlab/acanthus_server/entities/Editor.java index ac1aaa9..7eedec2 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/Editor.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/Editor.java @@ -1,7 +1,29 @@ package org.ntlab.acanthus_server.entities; public class Editor { - public Editor(Account owner){} + private Account account; + private Boolean isOwner = false; + private Integer page; + private Integer layer; + + public Editor(Account account){ + this.account = account; + isOwner = false; + } + public Editor(Account account, boolean isOwner){ + this.account = account; + this.isOwner = isOwner; + } + public Account getAccount() { + return account; + } + public void setAccount(Account account) { + this.account = account; + } + + public Account getEditor(){ return this.account; } + public void setAnimation(Account editor) { this.account = account; } + /* public boolean owner(){return false;} */