From dc3a554ed13a259d8cc9969e7403fb86ce83b9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 27 Nov 2020 16:40:39 +0100 Subject: [PATCH] Added Assignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .../java/com/plannaplan/entities/Assignment.java | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java b/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java index cb85e4b..4af9863 100755 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java +++ b/buisnesslogic/src/main/java/com/plannaplan/entities/Assignment.java @@ -26,8 +26,9 @@ public class Assignment { /** * Assignment - * @param Group - * @param Commision + * + * @param group group you would like to assign + * @param commision commision assignment belongs to group * */ public Assignment(Groups group, Commision commision) { @@ -38,10 +39,21 @@ public class Assignment { public Assignment() { } + /** + * getId + * + * @return id + */ + public Long getId() { return this.id; } + /** + * getGroup + * + * @return group + */ public Groups getGroup() { return this.group; }