parent
67ad26004c
commit
b1725539ff
@ -0,0 +1,34 @@ |
||||
package de.kreth.vaadin.clubhelper.vaadinclubhelper.data; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Id; |
||||
import javax.persistence.Table; |
||||
|
||||
@Entity |
||||
@Table(name = "clubevent_addon") |
||||
public class CompetitionType { |
||||
|
||||
@Id |
||||
private String id; |
||||
private String type; |
||||
|
||||
public String getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(String id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public Type getType() { |
||||
return Type.valueOf(type); |
||||
} |
||||
|
||||
public void setType(Type type) { |
||||
this.type = type.name(); |
||||
} |
||||
|
||||
public static enum Type { |
||||
EINZEL, SYNCHRON, DOPPELMINI, MANNSCHAFT, LIGA |
||||
} |
||||
} |
||||
@ -0,0 +1,21 @@ |
||||
SET FOREIGN_KEY_CHECKS=0; |
||||
|
||||
TRUNCATE TABLE clubevent_addon; |
||||
TRUNCATE TABLE event_has_altersgruppe; |
||||
TRUNCATE TABLE altersgruppe; |
||||
TRUNCATE TABLE pflichten; |
||||
TRUNCATE TABLE clubevent_has_person; |
||||
TRUNCATE TABLE ClubEvent; |
||||
TRUNCATE TABLE persongroup; |
||||
TRUNCATE TABLE startpass_startrechte; |
||||
TRUNCATE TABLE deleted_entries; |
||||
TRUNCATE TABLE clubevent; |
||||
TRUNCATE TABLE relative; |
||||
TRUNCATE TABLE groupdef; |
||||
TRUNCATE TABLE startpaesse; |
||||
TRUNCATE TABLE contact; |
||||
TRUNCATE TABLE adress; |
||||
TRUNCATE TABLE attendance; |
||||
TRUNCATE TABLE person; |
||||
|
||||
SET FOREIGN_KEY_CHECKS=1; |
||||
Loading…
Reference in new issue