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 a9a1167..54f8f57 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/Editor.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/Editor.java @@ -1,10 +1,26 @@ package org.ntlab.acanthus_server.entities; public class Editor { - public Editor(Account owner){ - } - /* - public boolean owner(){return false;} - */ + 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; } }