1
This commit is contained in:
tomvahl
2020-03-05 16:36:21 +01:00
parent 0a751c58b6
commit 4b51e29edb
5 changed files with 24 additions and 9 deletions

View File

@ -6,10 +6,16 @@ import org.springframework.data.annotation.Id;
import java.util.List;
@Data
public class Gruppe {
@Id
Long id;
String titel;
String beschreibung;
List<Teilnehmer> teilnehmersList;
public Gruppe (String titel, String beschreibung){
this.titel = titel;
this.beschreibung = beschreibung;
}
}