1

muss ich neu machen

This commit is contained in:
Christoph
2020-04-14 17:26:37 +02:00
parent cd445f12e8
commit bb3f57b562
27 changed files with 67 additions and 1217 deletions

View File

@ -9,6 +9,7 @@ import mops.gruppen2.domain.model.group.Group;
import mops.gruppen2.domain.model.group.wrapper.Title;
import javax.validation.Valid;
import java.util.UUID;
/**
* Ändert nur den Gruppentitel.
@ -21,8 +22,8 @@ public class SetTitleEvent extends Event {
@JsonProperty("title")
Title title;
public SetTitleEvent(Group group, String exec, @Valid Title title) {
super(group.getId(), exec, null);
public SetTitleEvent(UUID groupId, String exec, @Valid Title title) {
super(groupId, exec, null);
this.title = title;
}