From 9ed4197005b024c066ad1f39fa7f12199208a95f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 27 Nov 2020 16:45:06 +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 --- .../com/plannaplan/entities/Commision.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/buisnesslogic/src/main/java/com/plannaplan/entities/Commision.java b/buisnesslogic/src/main/java/com/plannaplan/entities/Commision.java index 6be0ae8..7f1f33e 100755 --- a/buisnesslogic/src/main/java/com/plannaplan/entities/Commision.java +++ b/buisnesslogic/src/main/java/com/plannaplan/entities/Commision.java @@ -28,6 +28,11 @@ public class Commision { @OneToMany(mappedBy = "commision") private List assignments; + /** + * Commision + * + * @param user user assign to the group + */ public Commision(User user) { this.commisionDate = new Timestamp(System.currentTimeMillis()); this.commisionOwner = user; @@ -36,14 +41,29 @@ public class Commision { public Commision() { } + /** + * getId + * + * @return id + */ public Long getId() { return this.id; } + /** + * getCommisionDate + * + * @return commisionDate + */ public Timestamp getCommisionDate() { return commisionDate; } + /** + * getCommisionOwner + * + * @return commisionOwner + */ public User getCommisionOwner() { return commisionOwner; }