diff --git a/src/main/java/org/ntlab/amaryllis/server/entities/Category.java b/src/main/java/org/ntlab/amaryllis/server/entities/Category.java new file mode 100644 index 0000000..6c9997f --- /dev/null +++ b/src/main/java/org/ntlab/amaryllis/server/entities/Category.java @@ -0,0 +1,38 @@ +package org.ntlab.amaryllis.server.entities; + +import java.awt.*; + +public class Category { + private String cid; + private String name; + private Color color; + public Category(String cid,String name,Color color){ + this.cid=cid; + this.name=name; + this.color=color; + } + + public String getcId() { + return cid; + } + + public String getName() { + return name; + } + public Color getColor(){ + return color; + } + public void setCid(String cid) { + this.cid = cid; + } + + public void setName(String name) { + this.name = name; + } + + public void setColor(Color color) { + this.color = color; + } + + +}