1

added Creating Groups to frontend and saving them in Database. Also prepared some Methods for Snapshot db

This commit is contained in:
killerber4t
2020-03-09 23:21:29 +01:00
parent 006822b57d
commit 61e2d0edba
16 changed files with 120 additions and 38 deletions

View File

@ -11,9 +11,14 @@ public class CreateGroupEvent extends Event {
String groupTitle;
String groupDescription;
public CreateGroupEvent(long event_id, long group_id, String user_id, String groupTitle, String groupDescription) {
public CreateGroupEvent(long event_id, Long group_id, String user_id, String groupTitle, String groupDescription) {
super(event_id, group_id, user_id);
this.groupTitle = groupTitle;
this.groupDescription = groupDescription;
}
public CreateGroupEvent(Long group_id, String user_id, String groupTitle, String groupDescription) {
super(group_id, user_id);
this.groupTitle = groupTitle;
this.groupDescription = groupDescription;
}
}