Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-11-27 16:18:30 +01:00
parent e752ad06cd
commit f6a8953c17
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -9,6 +9,7 @@ import javax.persistence.ManyToOne;
/** /**
* Entity of Assignment grouping of state associated about group_id and commision_id * Entity of Assignment grouping of state associated about group_id and commision_id
*
*/ */
@Entity @Entity
@ -23,6 +24,12 @@ public class Assignment {
@JoinColumn(name = "commision_id") @JoinColumn(name = "commision_id")
private Commision commision; private Commision commision;
/**
* Assignment
* @param Group
* @param Commision
*
*/
public Assignment(Groups group, Commision commision) { public Assignment(Groups group, Commision commision) {
this.commision = commision; this.commision = commision;
this.group = group; this.group = group;