commit
105083a778
@ -0,0 +1,37 @@ |
||||
HELP.md |
||||
target/ |
||||
!.mvn/wrapper/maven-wrapper.jar |
||||
!**/src/main/**/target/ |
||||
!**/src/test/**/target/ |
||||
|
||||
### STS ### |
||||
.apt_generated |
||||
.classpath |
||||
.factorypath |
||||
.project |
||||
.settings |
||||
.springBeans |
||||
.sts4-cache |
||||
|
||||
### IntelliJ IDEA ### |
||||
.idea |
||||
*.iws |
||||
*.iml |
||||
*.ipr |
||||
|
||||
### NetBeans ### |
||||
/nbproject/private/ |
||||
/nbbuild/ |
||||
/dist/ |
||||
/nbdist/ |
||||
/.nb-gradle/ |
||||
build/ |
||||
!**/src/main/**/build/ |
||||
!**/src/test/**/build/ |
||||
|
||||
### VS Code ### |
||||
.vscode/ |
||||
|
||||
.directory |
||||
|
||||
src/test/resources/clubhelper_export.sql |
||||
@ -0,0 +1,22 @@ |
||||
|
||||
The MIT License (MIT) |
||||
|
||||
Copyright (c) 2020 Markus Kreth |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||
of this software and associated documentation files (the "Software"), to deal |
||||
in the Software without restriction, including without limitation the rights |
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||
copies of the Software, and to permit persons to whom the Software is |
||||
furnished to do so, subject to the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be included in all |
||||
copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||
SOFTWARE. |
||||
@ -0,0 +1,114 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
|
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-parent</artifactId> |
||||
<version>2.3.3.RELEASE</version> |
||||
<relativePath/> <!-- lookup parent from repository --> |
||||
</parent> |
||||
|
||||
<groupId>de.kreth.clubhelper</groupId> |
||||
<artifactId>ClubhelperModel</artifactId> |
||||
<version>0.0.1-SNAPSHOT</version> |
||||
<name>ClubhelperModel</name> |
||||
<description>Model for Clubhelper Projectds</description> |
||||
|
||||
<properties> |
||||
<java.version>8</java.version> |
||||
<org.keycloak.version>11.0.1</org.keycloak.version> |
||||
<sonar.projectKey>cb326711c47c07bb48e5c6e4aa702806f23fa772</sonar.projectKey> |
||||
</properties> |
||||
|
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-data-jpa</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-security</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-security</artifactId> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>org.keycloak</groupId> |
||||
<artifactId>keycloak-spring-boot-starter</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.keycloak</groupId> |
||||
<artifactId>keycloak-spring-security-adapter</artifactId> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-devtools</artifactId> |
||||
<scope>runtime</scope> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>mysql</groupId> |
||||
<artifactId>mysql-connector-java</artifactId> |
||||
<scope>runtime</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.projectlombok</groupId> |
||||
<artifactId>lombok</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.junit.vintage</groupId> |
||||
<artifactId>junit-vintage-engine</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.h2database</groupId> |
||||
<artifactId>h2</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
|
||||
<dependencyManagement> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.keycloak.bom</groupId> |
||||
<artifactId>keycloak-adapter-bom</artifactId> |
||||
<version>${org.keycloak.version}</version> |
||||
<type>pom</type> |
||||
<scope>import</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
</dependencyManagement> |
||||
|
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-maven-plugin</artifactId> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
|
||||
</project> |
||||
@ -0,0 +1,3 @@ |
||||
Manifest-Version: 1.0 |
||||
Class-Path: |
||||
|
||||
@ -0,0 +1,13 @@ |
||||
package de.kreth.clubhelper.model; |
||||
|
||||
import org.springframework.boot.SpringApplication; |
||||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
||||
|
||||
@SpringBootApplication |
||||
public class ClubhelperModelApplication { |
||||
|
||||
public static void main(String[] args) { |
||||
SpringApplication.run(ClubhelperModelApplication.class, args); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,47 @@ |
||||
package de.kreth.clubhelper.model.config; |
||||
|
||||
import org.keycloak.adapters.KeycloakConfigResolver; |
||||
import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver; |
||||
import org.keycloak.adapters.springsecurity.KeycloakConfiguration; |
||||
import org.keycloak.adapters.springsecurity.authentication.KeycloakAuthenticationProvider; |
||||
import org.keycloak.adapters.springsecurity.config.KeycloakWebSecurityConfigurerAdapter; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.context.annotation.Bean; |
||||
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; |
||||
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; |
||||
import org.springframework.security.config.annotation.web.builders.HttpSecurity; |
||||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; |
||||
import org.springframework.security.core.authority.mapping.SimpleAuthorityMapper; |
||||
import org.springframework.security.core.session.SessionRegistryImpl; |
||||
import org.springframework.security.web.authentication.session.RegisterSessionAuthenticationStrategy; |
||||
import org.springframework.security.web.authentication.session.SessionAuthenticationStrategy; |
||||
|
||||
@KeycloakConfiguration |
||||
@EnableWebSecurity |
||||
@EnableGlobalMethodSecurity(prePostEnabled = true) |
||||
public class KeycloakSecurityConfiguration extends KeycloakWebSecurityConfigurerAdapter { |
||||
|
||||
@Autowired |
||||
public void configureGlobal(AuthenticationManagerBuilder auth) { |
||||
KeycloakAuthenticationProvider keyCloakAuthProvider = keycloakAuthenticationProvider(); |
||||
keyCloakAuthProvider.setGrantedAuthoritiesMapper(new SimpleAuthorityMapper()); |
||||
auth.authenticationProvider(keyCloakAuthProvider); |
||||
} |
||||
|
||||
@Bean |
||||
public KeycloakConfigResolver keyCloakConfigResolver() { |
||||
return new KeycloakSpringBootConfigResolver(); |
||||
} |
||||
|
||||
@Override |
||||
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() { |
||||
return new RegisterSessionAuthenticationStrategy( |
||||
new SessionRegistryImpl()); |
||||
} |
||||
|
||||
@Override |
||||
protected void configure(HttpSecurity http) throws Exception { |
||||
super.configure(http); |
||||
http.authorizeRequests(); |
||||
} |
||||
} |
||||
@ -0,0 +1,18 @@ |
||||
package de.kreth.clubhelper.model.config; |
||||
|
||||
public enum Roles { |
||||
|
||||
TEILNEHMER("user"), |
||||
TRAINER("trainer"), |
||||
ADMINISTRATOR("admin"); |
||||
|
||||
private final String role; |
||||
|
||||
private Roles(String role) { |
||||
this.role = role; |
||||
} |
||||
|
||||
public String getRole() { |
||||
return role; |
||||
} |
||||
} |
||||
@ -0,0 +1,32 @@ |
||||
package de.kreth.clubhelper.model.controller; |
||||
|
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.security.access.prepost.PreAuthorize; |
||||
import org.springframework.stereotype.Controller; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import de.kreth.clubhelper.model.dao.AdressDao; |
||||
import de.kreth.clubhelper.model.data.Adress; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
@Controller |
||||
@RequestMapping("/adress") |
||||
@PreAuthorize("isAuthenticated()") |
||||
public class AdressController { |
||||
|
||||
@Autowired |
||||
private AdressDao adressDao; |
||||
|
||||
public List<Adress> getByParent(Person person) { |
||||
return adressDao.findByPerson(person); |
||||
} |
||||
|
||||
public void delete(Adress a) { |
||||
a.setDeleted(new Date()); |
||||
adressDao.save(a); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,55 @@ |
||||
package de.kreth.clubhelper.model.controller; |
||||
|
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.security.access.prepost.PreAuthorize; |
||||
import org.springframework.stereotype.Controller; |
||||
import org.springframework.web.bind.annotation.PathVariable; |
||||
import org.springframework.web.bind.annotation.PostMapping; |
||||
import org.springframework.web.bind.annotation.RequestBody; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.ResponseBody; |
||||
|
||||
import de.kreth.clubhelper.model.dao.AttendanceDao; |
||||
import de.kreth.clubhelper.model.dao.PersonDao; |
||||
import de.kreth.clubhelper.model.data.Attendance; |
||||
|
||||
@Controller |
||||
@RequestMapping("/attendance") |
||||
@PreAuthorize("hasRole('trainer') or hasRole('admin')") |
||||
public class AttendanceController { |
||||
|
||||
private AttendanceDao attendanceDao; |
||||
private PersonDao personDao; |
||||
|
||||
@Autowired |
||||
public AttendanceController(AttendanceDao attendanceDao, PersonDao personDao) { |
||||
this.attendanceDao = attendanceDao; |
||||
this.personDao = personDao; |
||||
|
||||
} |
||||
|
||||
@PostMapping(value = "/on") |
||||
@ResponseBody |
||||
public List<Attendance> getAttendencesOn(@RequestBody(required = false) Date date) { |
||||
|
||||
if (date == null) { |
||||
date = new Date(); |
||||
} |
||||
|
||||
return attendanceDao.findByOnDate(date); |
||||
} |
||||
|
||||
@PostMapping(value = "/for/{id}") |
||||
@ResponseBody |
||||
public Attendance post(@PathVariable("id") Integer id) { |
||||
|
||||
Attendance att = new Attendance(); |
||||
att.setOnDate(new Date()); |
||||
att.setPerson(personDao.findById(id).orElseThrow(() -> new RuntimeException("Person not found by id=" + id))); |
||||
attendanceDao.save(att); |
||||
return att; |
||||
} |
||||
} |
||||
@ -0,0 +1,32 @@ |
||||
package de.kreth.clubhelper.model.controller; |
||||
|
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.security.access.prepost.PreAuthorize; |
||||
import org.springframework.stereotype.Controller; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
||||
import de.kreth.clubhelper.model.dao.ContactDao; |
||||
import de.kreth.clubhelper.model.data.Contact; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
@Controller |
||||
@RequestMapping("/contact") |
||||
@PreAuthorize("isAuthenticated()") |
||||
public class ContactController { |
||||
|
||||
@Autowired |
||||
private ContactDao contactDao; |
||||
|
||||
public List<Contact> getByParent(Person person) { |
||||
return contactDao.findByPerson(person); |
||||
} |
||||
|
||||
public void delete(Contact c) { |
||||
c.setDeleted(new Date()); |
||||
contactDao.save(c); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,44 @@ |
||||
package de.kreth.clubhelper.model.controller; |
||||
|
||||
import java.io.IOException; |
||||
import java.io.UncheckedIOException; |
||||
import java.security.Principal; |
||||
|
||||
import javax.servlet.ServletException; |
||||
import javax.servlet.http.HttpServletRequest; |
||||
import javax.servlet.http.HttpServletResponse; |
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.RestController; |
||||
|
||||
@RestController |
||||
@RequestMapping("/") |
||||
public class HomeController |
||||
{ |
||||
@GetMapping |
||||
public String index(Principal principal) |
||||
{ |
||||
return principal == null ? "null" : principal.getName(); |
||||
} |
||||
|
||||
@GetMapping("/login") |
||||
@PreAuthorize("isAuthenticated()") |
||||
public String login(Principal principal) |
||||
{ |
||||
return principal == null ? "null" : principal.getName(); |
||||
} |
||||
|
||||
@GetMapping(path = "/logout") |
||||
public void logout(HttpServletRequest request, HttpServletResponse response) throws ServletException |
||||
{ |
||||
request.logout(); |
||||
try { |
||||
response.sendRedirect("/"); |
||||
} |
||||
catch (IOException e) { |
||||
throw new UncheckedIOException("Redirect failed", e); |
||||
} |
||||
} |
||||
} |
||||
@ -0,0 +1,62 @@ |
||||
package de.kreth.clubhelper.model.controller; |
||||
|
||||
import java.util.Date; |
||||
import java.util.Optional; |
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.security.access.prepost.PreAuthorize; |
||||
import org.springframework.stereotype.Controller; |
||||
import org.springframework.web.bind.annotation.DeleteMapping; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.PathVariable; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
||||
import org.springframework.web.bind.annotation.ResponseBody; |
||||
|
||||
import de.kreth.clubhelper.model.dao.PersonDao; |
||||
import de.kreth.clubhelper.model.data.Adress; |
||||
import de.kreth.clubhelper.model.data.Contact; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
@Controller |
||||
@RequestMapping("/person") |
||||
@PreAuthorize("isAuthenticated()") |
||||
public class PersonController |
||||
{ |
||||
@Autowired |
||||
private PersonDao personDao; |
||||
@Autowired |
||||
private ContactController contactController; |
||||
@Autowired |
||||
private AdressController adressController; |
||||
|
||||
@GetMapping |
||||
@PreAuthorize("hasAnyRole('trainer', 'admin')") |
||||
public @ResponseBody Iterable<Person> getAll() |
||||
{ |
||||
return personDao.findAll(); |
||||
} |
||||
|
||||
@GetMapping(value = "/{id}") |
||||
public @ResponseBody Optional<Person> getById(@PathVariable("id") final int id) |
||||
{ |
||||
return personDao.findById(id); |
||||
} |
||||
|
||||
@DeleteMapping(value = "/{id}") |
||||
public @ResponseBody Person delete(@PathVariable("id") final int id) |
||||
{ |
||||
Optional<Person> optional = personDao.findById(id); |
||||
if (optional.isPresent()) { |
||||
Person person = optional.get(); |
||||
for (Contact c : contactController.getByParent(person)) { |
||||
contactController.delete(c); |
||||
} |
||||
for (Adress a : adressController.getByParent(person)) { |
||||
adressController.delete(a); |
||||
} |
||||
person.setDeleted(new Date()); |
||||
personDao.save(person); |
||||
} |
||||
return optional.orElseThrow(() -> new RuntimeException("Person not found by id=" + id)); |
||||
} |
||||
} |
||||
@ -0,0 +1,14 @@ |
||||
package de.kreth.clubhelper.model.dao; |
||||
|
||||
import java.util.List; |
||||
|
||||
import org.springframework.data.repository.CrudRepository; |
||||
|
||||
import de.kreth.clubhelper.model.data.Adress; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
public interface AdressDao extends CrudRepository<Adress, Integer> { |
||||
|
||||
List<Adress> findByPerson(Person person); |
||||
|
||||
} |
||||
@ -0,0 +1,17 @@ |
||||
package de.kreth.clubhelper.model.dao; |
||||
|
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
import org.springframework.data.repository.CrudRepository; |
||||
|
||||
import de.kreth.clubhelper.model.data.Attendance; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
public interface AttendanceDao extends CrudRepository<Attendance, Integer> { |
||||
|
||||
List<Attendance> findByOnDate(Date onDate); |
||||
|
||||
List<Attendance> findByPerson(Person person); |
||||
|
||||
} |
||||
@ -0,0 +1,14 @@ |
||||
package de.kreth.clubhelper.model.dao; |
||||
|
||||
import java.util.List; |
||||
|
||||
import org.springframework.data.repository.CrudRepository; |
||||
|
||||
import de.kreth.clubhelper.model.data.Contact; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
public interface ContactDao extends CrudRepository<Contact, Integer> { |
||||
|
||||
List<Contact> findByPerson(Person person); |
||||
|
||||
} |
||||
@ -0,0 +1,9 @@ |
||||
package de.kreth.clubhelper.model.dao; |
||||
|
||||
import org.springframework.data.repository.CrudRepository; |
||||
|
||||
import de.kreth.clubhelper.model.data.GroupDef; |
||||
|
||||
public interface GroupDao extends CrudRepository<GroupDef, Integer> { |
||||
|
||||
} |
||||
@ -0,0 +1,11 @@ |
||||
package de.kreth.clubhelper.model.dao; |
||||
|
||||
import org.springframework.data.repository.CrudRepository; |
||||
import org.springframework.stereotype.Repository; |
||||
|
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
@Repository |
||||
public interface PersonDao extends CrudRepository<Person, Integer> { |
||||
|
||||
} |
||||
@ -0,0 +1,89 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the adress database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "adress") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "Adress.findAll", query = "SELECT a FROM Adress a") |
||||
public class Adress extends BaseEntity implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 8216273166570667412L; |
||||
|
||||
private String adress1; |
||||
|
||||
private String adress2; |
||||
|
||||
private String city; |
||||
|
||||
private String plz; |
||||
|
||||
@ManyToOne |
||||
@JoinColumn(name = "person_id") |
||||
private Person person; |
||||
|
||||
public String getAdress1() { |
||||
return adress1; |
||||
} |
||||
|
||||
public void setAdress1(String adress1) { |
||||
this.adress1 = adress1; |
||||
} |
||||
|
||||
public String getAdress2() { |
||||
return adress2; |
||||
} |
||||
|
||||
public void setAdress2(String adress2) { |
||||
this.adress2 = adress2; |
||||
} |
||||
|
||||
public String getCity() { |
||||
return city; |
||||
} |
||||
|
||||
public void setCity(String city) { |
||||
this.city = city; |
||||
} |
||||
|
||||
public String getPlz() { |
||||
return plz; |
||||
} |
||||
|
||||
public void setPlz(String plz) { |
||||
this.plz = plz; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 109; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Adress [adress1=" + adress1 + ", adress2=" + adress2 + ", plz=" + plz + ", city=" + city + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,102 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.time.temporal.ChronoField; |
||||
import java.time.temporal.Temporal; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
@Entity |
||||
@Table(name = "altersgruppe") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "Altersgruppe.findAll", query = "SELECT a FROM Altersgruppe a") |
||||
public class Altersgruppe extends BaseEntity implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 126215772910869273L; |
||||
|
||||
private String bezeichnung; |
||||
|
||||
private int start; |
||||
|
||||
private int end; |
||||
|
||||
@ManyToOne |
||||
private Pflicht pflicht; |
||||
|
||||
@ManyToOne |
||||
@JoinColumn(name = "event_id") |
||||
private ClubEvent clubEvent; |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Altersgruppe [bezeichnung=" + bezeichnung + ", pflicht=" + pflicht + ", jahre=" + start + " - " + end |
||||
+ "]"; |
||||
} |
||||
|
||||
public boolean isBetween(Temporal startDate) { |
||||
int year = startDate.get(ChronoField.YEAR); |
||||
return year >= start && year <= end; |
||||
} |
||||
|
||||
public String getBezeichnung() { |
||||
return bezeichnung; |
||||
} |
||||
|
||||
public void setBezeichnung(String bezeichnung) { |
||||
this.bezeichnung = bezeichnung; |
||||
} |
||||
|
||||
public int getStart() { |
||||
return start; |
||||
} |
||||
|
||||
public void setStart(int start) { |
||||
this.start = start; |
||||
} |
||||
|
||||
public int getEnd() { |
||||
return end; |
||||
} |
||||
|
||||
public void setEnd(int end) { |
||||
this.end = end; |
||||
} |
||||
|
||||
public Pflicht getPflicht() { |
||||
return pflicht; |
||||
} |
||||
|
||||
public void setPflicht(Pflicht pflicht) { |
||||
this.pflicht = pflicht; |
||||
} |
||||
|
||||
public ClubEvent getClubEvent() { |
||||
return clubEvent; |
||||
} |
||||
|
||||
public void setClubEvent(ClubEvent clubEvent) { |
||||
this.clubEvent = clubEvent; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 107; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,72 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
import javax.persistence.Column; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
import javax.persistence.Temporal; |
||||
import javax.persistence.TemporalType; |
||||
|
||||
/** |
||||
* The persistent class for the attendance database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "attendance") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "Attendance.findAll", query = "SELECT a FROM Attendance a") |
||||
public class Attendance extends BaseEntity implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 2385033161272078335L; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
@Column(name = "on_date") |
||||
private Date onDate; |
||||
|
||||
// bi-directional many-to-one association to Person
|
||||
@ManyToOne |
||||
private Person person; |
||||
|
||||
public Date getOnDate() { |
||||
return new Date(this.onDate.getTime()); |
||||
} |
||||
|
||||
public Person getPerson() { |
||||
return person; |
||||
} |
||||
|
||||
public void setPerson(Person person) { |
||||
this.person = person; |
||||
} |
||||
|
||||
public void setOnDate(Date onDate) { |
||||
this.onDate = onDate; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 103; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Attendance [person=" + person + ", onDate=" + onDate + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,128 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.util.Date; |
||||
|
||||
import javax.persistence.GeneratedValue; |
||||
import javax.persistence.GenerationType; |
||||
import javax.persistence.Id; |
||||
import javax.persistence.MappedSuperclass; |
||||
import javax.persistence.Temporal; |
||||
import javax.persistence.TemporalType; |
||||
|
||||
@MappedSuperclass |
||||
public abstract class BaseEntity implements EntityAccessor { |
||||
|
||||
@Id |
||||
@GeneratedValue(strategy = GenerationType.IDENTITY) |
||||
private int id; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
private Date changed; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
private Date created; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
private Date deleted; |
||||
|
||||
public Date getChanged() { |
||||
if (changed == null) { |
||||
return null; |
||||
} |
||||
return new Date(this.changed.getTime()); |
||||
} |
||||
|
||||
@Override |
||||
public void setChanged(Date changed) { |
||||
this.changed = new Date(changed.getTime()); |
||||
} |
||||
|
||||
public Date getCreated() { |
||||
if (created == null) { |
||||
return null; |
||||
} |
||||
return new Date(this.created.getTime()); |
||||
} |
||||
|
||||
@Override |
||||
public void setCreated(Date created) { |
||||
this.created = new Date(created.getTime()); |
||||
} |
||||
|
||||
public Date getDeleted() { |
||||
if (deleted == null) { |
||||
return null; |
||||
} |
||||
return new Date(this.deleted.getTime()); |
||||
} |
||||
|
||||
public void setDeleted(Date deleted) { |
||||
this.deleted = new Date(deleted.getTime()); |
||||
} |
||||
|
||||
@Override |
||||
public Integer getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(int id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
@Override |
||||
public boolean hasValidId() { |
||||
return id > 0; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + ((changed == null) ? 0 : changed.hashCode()); |
||||
result = prime * result + ((created == null) ? 0 : created.hashCode()); |
||||
result = prime * result + ((deleted == null) ? 0 : deleted.hashCode()); |
||||
result = prime * result + id; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
if (obj == null) { |
||||
return false; |
||||
} |
||||
if (getClass() != obj.getClass()) { |
||||
return false; |
||||
} |
||||
BaseEntity other = (BaseEntity) obj; |
||||
if (deleted == null) { |
||||
if (other.deleted != null) { |
||||
return false; |
||||
} |
||||
} else if (!deleted.equals(other.deleted)) { |
||||
return false; |
||||
} |
||||
if (id != other.id) { |
||||
return false; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
StringBuilder stringBuilder = new StringBuilder(); |
||||
stringBuilder.append("BaseEntity [id="); |
||||
stringBuilder.append(id); |
||||
stringBuilder.append(", changed="); |
||||
stringBuilder.append(changed); |
||||
if (deleted != null) { |
||||
stringBuilder.append(", deleted="); |
||||
stringBuilder.append(deleted); |
||||
} |
||||
stringBuilder.append("]"); |
||||
return stringBuilder.toString(); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,193 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.time.Instant; |
||||
import java.time.ZoneId; |
||||
import java.time.ZonedDateTime; |
||||
import java.util.Date; |
||||
import java.util.Set; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.ManyToMany; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.OneToMany; |
||||
import javax.persistence.OneToOne; |
||||
import javax.persistence.Table; |
||||
import javax.persistence.Transient; |
||||
|
||||
import de.kreth.clubhelper.model.data.CompetitionType.Type; |
||||
|
||||
/** |
||||
* Calendar Event item corresponding to google calendar events. |
||||
* |
||||
* @author markus |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "clubevent") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "ClubEvent.findAll", query = "SELECT c FROM ClubEvent c") |
||||
public class ClubEvent extends BaseEntity implements EntityAccessor { |
||||
|
||||
private String caption; |
||||
private String description; |
||||
private ZonedDateTime end; |
||||
private ZonedDateTime start; |
||||
|
||||
private boolean isAllDay; |
||||
|
||||
private String location; |
||||
|
||||
private String iCalUID; |
||||
|
||||
private String organizerDisplayName; |
||||
|
||||
private boolean deleted; |
||||
|
||||
@ManyToMany |
||||
private Set<Person> persons; |
||||
|
||||
@OneToMany |
||||
private Set<Altersgruppe> altersgruppen; |
||||
|
||||
@OneToOne |
||||
@JoinColumn(name = "id", nullable = true) |
||||
private CompetitionType competitionType; |
||||
|
||||
public String getCaption() { |
||||
return caption; |
||||
} |
||||
|
||||
public String getDescription() { |
||||
|
||||
return description; |
||||
} |
||||
|
||||
public ZonedDateTime getEnd() { |
||||
return end; |
||||
} |
||||
|
||||
public ZonedDateTime getStart() { |
||||
return start; |
||||
} |
||||
|
||||
public boolean isAllDay() { |
||||
return isAllDay; |
||||
} |
||||
|
||||
public Type getType() { |
||||
if (competitionType != null) { |
||||
return competitionType.getType(); |
||||
} else { |
||||
return null; |
||||
} |
||||
} |
||||
|
||||
public void setType(Type competitionType) { |
||||
if (this.competitionType == null) { |
||||
this.competitionType = new CompetitionType(); |
||||
this.competitionType.setClubEvent(this); |
||||
} |
||||
this.competitionType.setType(competitionType); |
||||
} |
||||
|
||||
@Transient |
||||
public String toDisplayString() { |
||||
return "ClubEvent [Caption=" + getCaption() + ", Start=" + getStart() + ", location=" + location + "]"; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "ClubEvent [id=" + getId() + ", getCaption()=" + getCaption() + ", iCalUID=" + iCalUID + ", location=" |
||||
+ location + ", organizerDisplayName=" + organizerDisplayName + ", getDescription()=" |
||||
+ getDescription() |
||||
+ ", getEnd()=" + getEnd() + ", getStart()=" + getStart() + ", isAllDay()=" + isAllDay() + "]"; |
||||
} |
||||
|
||||
public static ZonedDateTime toZoned(Date parse) { |
||||
if (parse != null) { |
||||
Instant instant = parse.toInstant(); |
||||
return ZonedDateTime.ofInstant(instant, ZoneId.systemDefault()); |
||||
} else { |
||||
return null; |
||||
} |
||||
} |
||||
|
||||
public String getLocation() { |
||||
return location; |
||||
} |
||||
|
||||
public void setLocation(String location) { |
||||
this.location = location; |
||||
} |
||||
|
||||
public String getiCalUID() { |
||||
return iCalUID; |
||||
} |
||||
|
||||
public void setiCalUID(String iCalUID) { |
||||
this.iCalUID = iCalUID; |
||||
} |
||||
|
||||
public String getOrganizerDisplayName() { |
||||
return organizerDisplayName; |
||||
} |
||||
|
||||
public void setOrganizerDisplayName(String organizerDisplayName) { |
||||
this.organizerDisplayName = organizerDisplayName; |
||||
} |
||||
|
||||
public Set<Person> getPersons() { |
||||
return persons; |
||||
} |
||||
|
||||
public void setPersons(Set<Person> persons) { |
||||
this.persons = persons; |
||||
} |
||||
|
||||
public Set<Altersgruppe> getAltersgruppen() { |
||||
return altersgruppen; |
||||
} |
||||
|
||||
public void setAltersgruppen(Set<Altersgruppe> altersgruppen) { |
||||
this.altersgruppen = altersgruppen; |
||||
} |
||||
|
||||
public CompetitionType getCompetitionType() { |
||||
return competitionType; |
||||
} |
||||
|
||||
public void setCompetitionType(CompetitionType competitionType) { |
||||
this.competitionType = competitionType; |
||||
} |
||||
|
||||
public boolean isDeleted() { |
||||
return deleted; |
||||
} |
||||
|
||||
public void setDeleted(boolean deleted) { |
||||
this.deleted = deleted; |
||||
} |
||||
|
||||
public void setCaption(String caption) { |
||||
this.caption = caption; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 101; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,76 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
|
||||
import javax.persistence.EmbeddedId; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Table; |
||||
|
||||
@Entity |
||||
@Table(name = "clubevent_has_person") |
||||
public class ClubeventHasPerson { |
||||
|
||||
@EmbeddedId |
||||
private ClubeventPersonId clubeventPersonId = new ClubeventPersonId(); |
||||
private String comment; |
||||
|
||||
public String getClubEventId() { |
||||
return clubeventPersonId.getClubEventId(); |
||||
} |
||||
|
||||
public void setClubEventId(String clubEventId) { |
||||
this.clubeventPersonId.setClubEventId(clubEventId); |
||||
} |
||||
|
||||
public int getPersonId() { |
||||
return clubeventPersonId.getPersonId(); |
||||
} |
||||
|
||||
public void setPersonId(int personId) { |
||||
this.clubeventPersonId.setPersonId(personId); |
||||
} |
||||
|
||||
public String getComment() { |
||||
return comment; |
||||
} |
||||
|
||||
public void setComment(String comment) { |
||||
this.comment = comment; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "ClubeventHasPerson [" + clubeventPersonId + ", comment=" + comment + "]"; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + ((clubeventPersonId == null) ? 0 : clubeventPersonId.hashCode()); |
||||
result = prime * result + ((comment == null) ? 0 : comment.hashCode()); |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
if (obj == null) |
||||
return false; |
||||
if (getClass() != obj.getClass()) |
||||
return false; |
||||
ClubeventHasPerson other = (ClubeventHasPerson) obj; |
||||
if (clubeventPersonId == null) { |
||||
if (other.clubeventPersonId != null) |
||||
return false; |
||||
} else if (!clubeventPersonId.equals(other.clubeventPersonId)) |
||||
return false; |
||||
if (comment == null) { |
||||
if (other.comment != null) |
||||
return false; |
||||
} else if (!comment.equals(other.comment)) |
||||
return false; |
||||
return true; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,76 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Column; |
||||
import javax.persistence.Embeddable; |
||||
|
||||
@Embeddable |
||||
public class ClubeventPersonId implements Serializable { |
||||
|
||||
private static final long serialVersionUID = -7964369346971364916L; |
||||
|
||||
@Column(name = "clubevent_id") |
||||
private String clubEventId; |
||||
|
||||
@Column(name = "person_id") |
||||
private int personId; |
||||
|
||||
public String getClubEventId() { |
||||
return clubEventId; |
||||
} |
||||
|
||||
public void setClubEventId(String clubEventId) { |
||||
this.clubEventId = clubEventId; |
||||
} |
||||
|
||||
public int getPersonId() { |
||||
return personId; |
||||
} |
||||
|
||||
public void setPersonId(int personId) { |
||||
this.personId = personId; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + ((clubEventId == null) ? 0 : clubEventId.hashCode()); |
||||
result = prime * result + personId; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
if (obj == null) { |
||||
return false; |
||||
} |
||||
if (getClass() != obj.getClass()) { |
||||
return false; |
||||
} |
||||
ClubeventPersonId other = (ClubeventPersonId) obj; |
||||
if (clubEventId == null) { |
||||
if (other.clubEventId != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!clubEventId.equals(other.clubEventId)) { |
||||
return false; |
||||
} |
||||
if (personId != other.personId) { |
||||
return false; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "ID [clubEventId=" + clubEventId + ", personId=" + personId + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,108 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Column; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Id; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.MapsId; |
||||
import javax.persistence.OneToOne; |
||||
import javax.persistence.Table; |
||||
|
||||
@Entity |
||||
@Table(name = "clubevent_addon") |
||||
public class CompetitionType implements Serializable { |
||||
|
||||
@Id |
||||
private String id; |
||||
|
||||
@Column(name = "competition_type", nullable = false, length = 45) |
||||
private String type; |
||||
|
||||
@OneToOne(mappedBy = "competitionType") |
||||
@JoinColumn(name = "id") |
||||
@MapsId |
||||
private ClubEvent clubEvent; |
||||
|
||||
public Type getType() { |
||||
return Type.valueOf(type); |
||||
} |
||||
|
||||
public void setType(Type type) { |
||||
this.type = type.name(); |
||||
} |
||||
|
||||
public void setClubEvent(ClubEvent clubEvent) { |
||||
this.clubEvent = clubEvent; |
||||
} |
||||
|
||||
public String getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(String id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public ClubEvent getClubEvent() { |
||||
return clubEvent; |
||||
} |
||||
|
||||
public void setType(String type) { |
||||
this.type = type; |
||||
} |
||||
|
||||
public static enum Type { |
||||
EINZEL, |
||||
SYNCHRON, |
||||
DOPPELMINI, |
||||
MANNSCHAFT, |
||||
LIGA |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + ((id == null) ? 0 : id.hashCode()); |
||||
result = prime * result + ((type == null) ? 0 : type.hashCode()); |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
if (obj == null) { |
||||
return false; |
||||
} |
||||
if (getClass() != obj.getClass()) { |
||||
return false; |
||||
} |
||||
CompetitionType other = (CompetitionType) obj; |
||||
if (id == null) { |
||||
if (other.id != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!id.equals(other.id)) { |
||||
return false; |
||||
} |
||||
if (type == null) { |
||||
if (other.type != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!type.equals(other.type)) { |
||||
return false; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return type; |
||||
} |
||||
} |
||||
@ -0,0 +1,92 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the contact database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "contact") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "Contact.findAll", query = "SELECT c FROM Contact c WHERE c.deleted is not null") |
||||
public class Contact extends BaseEntity implements Serializable { |
||||
|
||||
private static final long serialVersionUID = -7631864028095077913L; |
||||
|
||||
public static enum Type { |
||||
PHONE("Telefon"), |
||||
MOBILE("Mobile"), |
||||
EMAIL("Email"); |
||||
|
||||
private final String name; |
||||
|
||||
private Type(String name) { |
||||
this.name = name; |
||||
} |
||||
|
||||
public String getName() { |
||||
return name; |
||||
} |
||||
} |
||||
|
||||
private String type; |
||||
|
||||
private String value; |
||||
|
||||
// bi-directional many-to-one association to Person
|
||||
@ManyToOne |
||||
private Person person; |
||||
|
||||
public String getType() { |
||||
return type; |
||||
} |
||||
|
||||
public void setType(String type) { |
||||
this.type = type; |
||||
} |
||||
|
||||
public String getValue() { |
||||
return value; |
||||
} |
||||
|
||||
public void setValue(String value) { |
||||
this.value = value; |
||||
} |
||||
|
||||
public Person getPerson() { |
||||
return person; |
||||
} |
||||
|
||||
public void setPerson(Person person) { |
||||
this.person = person; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 37; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Contact [type=" + type + ", value=" + value + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,64 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the deleted_entries database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "deleted_entries") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "DeletedEntry.findAll", query = "SELECT d FROM DeletedEntry d") |
||||
public class DeletedEntry extends BaseEntity implements Serializable { |
||||
|
||||
private static final long serialVersionUID = -4271189592258131845L; |
||||
|
||||
private int entryId; |
||||
|
||||
private String tablename; |
||||
|
||||
public int getEntryId() { |
||||
return entryId; |
||||
} |
||||
|
||||
public void setEntryId(int entryId) { |
||||
this.entryId = entryId; |
||||
} |
||||
|
||||
public String getTablename() { |
||||
return tablename; |
||||
} |
||||
|
||||
public void setTablename(String tablename) { |
||||
this.tablename = tablename; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 47; |
||||
int result = super.hashCode(); |
||||
result = prime * result + entryId; |
||||
result = prime * result + ((tablename == null) ? 0 : tablename.hashCode()); |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "DeletedEntry [entryId=" + entryId + ", tablename=" + tablename + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,16 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
|
||||
import java.util.Date; |
||||
|
||||
public interface EntityAccessor { |
||||
|
||||
Object getId(); |
||||
|
||||
boolean hasValidId(); |
||||
|
||||
void setChanged(Date changed); |
||||
|
||||
void setCreated(Date created); |
||||
|
||||
} |
||||
@ -0,0 +1,41 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
public enum Gender { |
||||
|
||||
MALE(1), FEMALE(2); |
||||
private final int id; |
||||
|
||||
private Gender(int id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public int getId() { |
||||
return id; |
||||
} |
||||
|
||||
public static Gender valueOf(Integer id) { |
||||
return valueOf(id.intValue()); |
||||
} |
||||
|
||||
public static Gender valueOf(int id) { |
||||
for (Gender g : values()) { |
||||
if (g.id == id) { |
||||
return g; |
||||
} |
||||
} |
||||
throw new IllegalArgumentException("No Gender for id=" + id + " defined."); |
||||
} |
||||
|
||||
public String localized() { |
||||
switch (this) { |
||||
case FEMALE: |
||||
return "Weiblich"; |
||||
case MALE: |
||||
return "Männlich"; |
||||
default: |
||||
break; |
||||
|
||||
} |
||||
throw new IllegalStateException("No localized String for " + this); |
||||
} |
||||
} |
||||
@ -0,0 +1,54 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the groupDef database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "groupdef") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = GroupDef.QUERY_FINDALL, query = "SELECT g FROM GroupDef g") |
||||
public class GroupDef extends BaseEntity implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
public final static String QUERY_FINDALL = "GroupDef.findAll"; |
||||
|
||||
private String name; |
||||
|
||||
public String getName() { |
||||
return name; |
||||
} |
||||
|
||||
public void setName(String name) { |
||||
this.name = name; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 53; |
||||
return prime * super.hashCode(); |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "GroupDef [id=" + getId() + ", name=" + name + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,147 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.time.LocalDate; |
||||
import java.util.List; |
||||
|
||||
import javax.persistence.Basic; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.JoinTable; |
||||
import javax.persistence.ManyToMany; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the person database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "person") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = Person.QUERY_FINDALL, query = "SELECT p FROM Person p WHERE p.deleted is null") |
||||
@NamedQuery(name = Person.QUERY_FINDLOGIN, query = "FROM Person WHERE username = :username AND password = :password AND deleted is" |
||||
+ " null") |
||||
public class Person extends BaseEntity implements Serializable { |
||||
|
||||
public static final String SESSION_LOGIN = "SESSION_LOGIN_USER"; |
||||
|
||||
public static final String QUERY_FINDALL = "Person.findAll"; |
||||
|
||||
public static final String QUERY_FINDLOGIN = "Person.findLogin"; |
||||
|
||||
private static final long serialVersionUID = -8361264400619997123L; |
||||
|
||||
@Basic |
||||
private LocalDate birth; |
||||
|
||||
private String prename; |
||||
|
||||
private String surname; |
||||
|
||||
private String username; |
||||
|
||||
private String password; |
||||
|
||||
private Integer gender; |
||||
|
||||
@ManyToMany |
||||
@JoinTable(name = "persongroup", joinColumns = @JoinColumn(name = "person_id"), inverseJoinColumns = @JoinColumn(name = "group_id")) |
||||
private List<GroupDef> groups; |
||||
|
||||
public Gender getGender() { |
||||
if (gender == null) { |
||||
return null; |
||||
} |
||||
return Gender.valueOf(gender); |
||||
} |
||||
|
||||
public void setGender(Gender gender) { |
||||
if (gender == null) { |
||||
this.gender = null; |
||||
} else { |
||||
this.gender = gender.getId(); |
||||
} |
||||
} |
||||
|
||||
public LocalDate getBirth() { |
||||
return birth; |
||||
} |
||||
|
||||
public void setBirth(LocalDate birth) { |
||||
this.birth = birth; |
||||
} |
||||
|
||||
public String getPrename() { |
||||
return prename; |
||||
} |
||||
|
||||
public void setPrename(String prename) { |
||||
this.prename = prename; |
||||
} |
||||
|
||||
public String getSurname() { |
||||
return surname; |
||||
} |
||||
|
||||
public void setSurname(String surname) { |
||||
this.surname = surname; |
||||
} |
||||
|
||||
public String getUsername() { |
||||
return username; |
||||
} |
||||
|
||||
public void setUsername(String username) { |
||||
this.username = username; |
||||
} |
||||
|
||||
public String getPassword() { |
||||
return password; |
||||
} |
||||
|
||||
public void setPassword(String password) { |
||||
this.password = password; |
||||
} |
||||
|
||||
public void setGender(Integer gender) { |
||||
this.gender = gender; |
||||
} |
||||
|
||||
public boolean isMember(GroupDef group) { |
||||
return groups != null && groups.contains(group); |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 59; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
if (!super.equals(obj)) |
||||
return false; |
||||
if (getClass() != obj.getClass()) |
||||
return false; |
||||
Person other = (Person) obj; |
||||
if (surname == null) { |
||||
if (other.surname != null) |
||||
return false; |
||||
} else if (!surname.equals(other.surname)) |
||||
return false; |
||||
return true; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Person [id=" + getId() + ", prename=" + prename + ", surname=" + surname + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,123 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.GeneratedValue; |
||||
import javax.persistence.GenerationType; |
||||
import javax.persistence.Id; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
@Entity |
||||
@Table(name = "notes") |
||||
@NamedQuery(name = PersonNote.QUERY_FINDALL, query = "SELECT n FROM PersonNote n") |
||||
public class PersonNote { |
||||
|
||||
public static final String QUERY_FINDALL = "PersonNote.findAll"; |
||||
|
||||
@Id |
||||
@GeneratedValue(strategy = GenerationType.IDENTITY) |
||||
private int id; |
||||
|
||||
@ManyToOne |
||||
private Person person; |
||||
|
||||
private String notekey = ""; |
||||
|
||||
private String notetext = ""; |
||||
|
||||
public PersonNote() { |
||||
} |
||||
|
||||
public int getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(int id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public Person getPerson() { |
||||
return person; |
||||
} |
||||
|
||||
public void setPerson(Person person) { |
||||
this.person = person; |
||||
} |
||||
|
||||
public String getNotekey() { |
||||
return notekey; |
||||
} |
||||
|
||||
public void setNotekey(String notekey) { |
||||
this.notekey = notekey; |
||||
} |
||||
|
||||
public String getNotetext() { |
||||
return notetext; |
||||
} |
||||
|
||||
public void setNotetext(String notetext) { |
||||
this.notetext = notetext; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "PersonNote [id=" + id + ", person=" + person + ", notekey=" + notekey + "]"; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + id; |
||||
result = prime * result + ((notekey == null) ? 0 : notekey.hashCode()); |
||||
result = prime * result + ((notetext == null) ? 0 : notetext.hashCode()); |
||||
result = prime * result + ((person == null) ? 0 : person.hashCode()); |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
if (obj == null) { |
||||
return false; |
||||
} |
||||
if (getClass() != obj.getClass()) { |
||||
return false; |
||||
} |
||||
PersonNote other = (PersonNote) obj; |
||||
if (id != other.id) { |
||||
return false; |
||||
} |
||||
if (notekey == null) { |
||||
if (other.notekey != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!notekey.equals(other.notekey)) { |
||||
return false; |
||||
} |
||||
if (notetext == null) { |
||||
if (other.notetext != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!notetext.equals(other.notetext)) { |
||||
return false; |
||||
} |
||||
if (person == null) { |
||||
if (other.person != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!person.equals(other.person)) { |
||||
return false; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,93 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
@Entity |
||||
@Table(name = "pflichten") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "Pflicht.findAll", query = "SELECT p FROM Pflicht p") |
||||
public class Pflicht extends BaseEntity implements Serializable, Comparable<Pflicht> { |
||||
|
||||
private static final long serialVersionUID = -5461809622545899132L; |
||||
|
||||
private String name; |
||||
|
||||
private boolean fixed; |
||||
|
||||
private int ordered; |
||||
|
||||
private String comment; |
||||
|
||||
public Pflicht() { |
||||
} |
||||
|
||||
public Pflicht(String name, boolean fixed, int ordered, String comment) { |
||||
this.name = name; |
||||
this.fixed = fixed; |
||||
this.ordered = ordered; |
||||
this.comment = comment; |
||||
} |
||||
|
||||
public String getName() { |
||||
return name; |
||||
} |
||||
|
||||
public void setName(String name) { |
||||
this.name = name; |
||||
} |
||||
|
||||
public boolean isFixed() { |
||||
return fixed; |
||||
} |
||||
|
||||
public void setFixed(boolean fixed) { |
||||
this.fixed = fixed; |
||||
} |
||||
|
||||
public int getOrdered() { |
||||
return ordered; |
||||
} |
||||
|
||||
public void setOrdered(int ordered) { |
||||
this.ordered = ordered; |
||||
} |
||||
|
||||
public String getComment() { |
||||
return comment; |
||||
} |
||||
|
||||
public void setComment(String comment) { |
||||
this.comment = comment; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 71; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return name; |
||||
} |
||||
|
||||
@Override |
||||
public int compareTo(Pflicht o) { |
||||
return Integer.compare(ordered, o.ordered); |
||||
} |
||||
} |
||||
@ -0,0 +1,93 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
public class Relation { |
||||
|
||||
public enum RelationType { |
||||
RELATIONSHIP("Partner"), |
||||
SIBLINGS("Geschwister"), |
||||
PARENT("Elternteil"), |
||||
CHILD("Kind"); |
||||
|
||||
private final String localized; |
||||
|
||||
private RelationType(String localized) { |
||||
this.localized = localized; |
||||
} |
||||
|
||||
public String getLocalized() { |
||||
return localized; |
||||
} |
||||
} |
||||
|
||||
private Person person; |
||||
|
||||
private String relation; |
||||
|
||||
public Relation(Person person, String relation) { |
||||
super(); |
||||
this.person = person; |
||||
this.relation = relation; |
||||
} |
||||
|
||||
public RelationType getRelation() { |
||||
return RelationType.valueOf(relation); |
||||
} |
||||
|
||||
public Person getPerson() { |
||||
return person; |
||||
} |
||||
|
||||
public void setPerson(Person person) { |
||||
this.person = person; |
||||
} |
||||
|
||||
public void setRelation(String relation) { |
||||
this.relation = relation; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + ((person == null) ? 0 : person.hashCode()); |
||||
result = prime * result + ((relation == null) ? 0 : relation.hashCode()); |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
if (obj == null) { |
||||
return false; |
||||
} |
||||
if (getClass() != obj.getClass()) { |
||||
return false; |
||||
} |
||||
Relation other = (Relation) obj; |
||||
if (person == null) { |
||||
if (other.person != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!person.equals(other.person)) { |
||||
return false; |
||||
} |
||||
if (relation == null) { |
||||
if (other.relation != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!relation.equals(other.relation)) { |
||||
return false; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Relation [person=" + person + ", relation=" + relation + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,108 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
|
||||
import javax.persistence.Column; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the relative database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "relative") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = Relative.QUERY_FINDALL, query = "SELECT r FROM Relative r") |
||||
public class Relative extends BaseEntity implements Serializable { |
||||
|
||||
public static final String QUERY_FINDALL = "Relative.findAll"; |
||||
|
||||
@Column(name = "TO_PERSON1_RELATION") |
||||
private String toPerson1Relation; |
||||
|
||||
@Column(name = "TO_PERSON2_RELATION") |
||||
private String toPerson2Relation; |
||||
|
||||
// bi-directional many-to-one association to Person
|
||||
@ManyToOne |
||||
@JoinColumn(name = "person1") |
||||
private Person person1Bean; |
||||
|
||||
// bi-directional many-to-one association to Person
|
||||
@ManyToOne |
||||
@JoinColumn(name = "person2") |
||||
private Person person2Bean; |
||||
|
||||
public String getToPerson1Relation() { |
||||
return toPerson1Relation; |
||||
} |
||||
|
||||
public void setToPerson1Relation(String toPerson1Relation) { |
||||
this.toPerson1Relation = toPerson1Relation; |
||||
} |
||||
|
||||
public String getToPerson2Relation() { |
||||
return toPerson2Relation; |
||||
} |
||||
|
||||
public void setToPerson2Relation(String toPerson2Relation) { |
||||
this.toPerson2Relation = toPerson2Relation; |
||||
} |
||||
|
||||
public Person getPerson1Bean() { |
||||
return person1Bean; |
||||
} |
||||
|
||||
public void setPerson1Bean(Person person1Bean) { |
||||
this.person1Bean = person1Bean; |
||||
} |
||||
|
||||
public Person getPerson2Bean() { |
||||
return person2Bean; |
||||
} |
||||
|
||||
public void setPerson2Bean(Person person2Bean) { |
||||
this.person2Bean = person2Bean; |
||||
} |
||||
|
||||
public Relation getRelationTo(Person person) { |
||||
if (person == null) { |
||||
return null; |
||||
} |
||||
if (person.equals(person1Bean)) { |
||||
return new Relation(person2Bean, toPerson2Relation); |
||||
} else if (person.equals(person2Bean)) { |
||||
return new Relation(person1Bean, toPerson1Relation); |
||||
} else { |
||||
return null; |
||||
} |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 73; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Relative [person1Bean=" + person1Bean + ", toPerson2Relation=" + toPerson2Relation + ", person2Bean=" |
||||
+ person2Bean + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,102 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
import javax.persistence.Column; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.OneToMany; |
||||
import javax.persistence.OneToOne; |
||||
import javax.persistence.Table; |
||||
|
||||
/** |
||||
* The persistent class for the startpaesse database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "startpaesse") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "Startpass.findAll", query = "SELECT s FROM Startpass s") |
||||
public class Startpass extends BaseEntity implements Serializable { |
||||
|
||||
@Column(name = "startpass_nr") |
||||
private String startpassNr; |
||||
|
||||
@OneToOne |
||||
@JoinColumn(name = "person_id") |
||||
private Person person; |
||||
|
||||
// bi-directional many-to-one association to StartpassStartrechte
|
||||
@OneToMany(mappedBy = "startpaesse") |
||||
private List<StartpassStartrechte> startpassStartrechte; |
||||
|
||||
public StartpassStartrechte addStartpassStartrechte(StartpassStartrechte startpassStartrechte) { |
||||
if (this.startpassStartrechte == null) { |
||||
this.startpassStartrechte = new ArrayList<>(); |
||||
} |
||||
this.startpassStartrechte.add(startpassStartrechte); |
||||
startpassStartrechte.setStartpaesse(this); |
||||
|
||||
return startpassStartrechte; |
||||
} |
||||
|
||||
public StartpassStartrechte removeStartpassStartrechte(StartpassStartrechte startpassStartrechte) { |
||||
if (this.startpassStartrechte == null) { |
||||
this.startpassStartrechte = new ArrayList<>(); |
||||
} |
||||
this.startpassStartrechte.remove(startpassStartrechte); |
||||
startpassStartrechte.setStartpaesse(null); |
||||
|
||||
return startpassStartrechte; |
||||
} |
||||
|
||||
public String getStartpassNr() { |
||||
return startpassNr; |
||||
} |
||||
|
||||
public void setStartpassNr(String startpassNr) { |
||||
this.startpassNr = startpassNr; |
||||
} |
||||
|
||||
public Person getPerson() { |
||||
return person; |
||||
} |
||||
|
||||
public void setPerson(Person person) { |
||||
this.person = person; |
||||
} |
||||
|
||||
public List<StartpassStartrechte> getStartpassStartrechte() { |
||||
return startpassStartrechte; |
||||
} |
||||
|
||||
public void setStartpassStartrechte(List<StartpassStartrechte> startpassStartrechte) { |
||||
this.startpassStartrechte = startpassStartrechte; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 79; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "Startpass [startpassNr=" + startpassNr + "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,107 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
import javax.persistence.Column; |
||||
import javax.persistence.Entity; |
||||
import javax.persistence.Inheritance; |
||||
import javax.persistence.InheritanceType; |
||||
import javax.persistence.JoinColumn; |
||||
import javax.persistence.ManyToOne; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
import javax.persistence.Temporal; |
||||
import javax.persistence.TemporalType; |
||||
|
||||
/** |
||||
* The persistent class for the startpass_startrechte database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "startpass_startrechte") |
||||
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) |
||||
@NamedQuery(name = "StartpassStartrechte.findAll", query = "SELECT s FROM StartpassStartrechte s") |
||||
public class StartpassStartrechte extends BaseEntity implements Serializable { |
||||
|
||||
private String fachgebiet; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
@Column(name = "startrecht_beginn") |
||||
private Date startrechtBeginn; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
@Column(name = "startrecht_ende") |
||||
private Date startrechtEnde; |
||||
|
||||
@Column(name = "verein_name") |
||||
private String vereinName; |
||||
|
||||
// bi-directional many-to-one association to Startpaesse
|
||||
@ManyToOne |
||||
@JoinColumn(name = "startpass_id") |
||||
private Startpass startpaesse; |
||||
|
||||
public Date getStartrechtBeginn() { |
||||
return new Date(this.startrechtBeginn.getTime()); |
||||
} |
||||
|
||||
public Date getStartrechtEnde() { |
||||
return new Date(this.startrechtEnde.getTime()); |
||||
} |
||||
|
||||
public void setStartrechtEnde(Date startrechtEnde) { |
||||
this.startrechtEnde = startrechtEnde; |
||||
} |
||||
|
||||
public String getFachgebiet() { |
||||
return fachgebiet; |
||||
} |
||||
|
||||
public void setFachgebiet(String fachgebiet) { |
||||
this.fachgebiet = fachgebiet; |
||||
} |
||||
|
||||
public String getVereinName() { |
||||
return vereinName; |
||||
} |
||||
|
||||
public void setVereinName(String vereinName) { |
||||
this.vereinName = vereinName; |
||||
} |
||||
|
||||
public Startpass getStartpaesse() { |
||||
return startpaesse; |
||||
} |
||||
|
||||
public void setStartpaesse(Startpass startpaesse) { |
||||
this.startpaesse = startpaesse; |
||||
} |
||||
|
||||
public void setStartrechtBeginn(Date startrechtBeginn) { |
||||
this.startrechtBeginn = startrechtBeginn; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 97; |
||||
int result = super.hashCode(); |
||||
result = prime * result; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) |
||||
return true; |
||||
return super.equals(obj); |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
return "StartpassStartrechte [fachgebiet=" + fachgebiet + ", startrechtBeginn=" + startrechtBeginn |
||||
+ ", startrechtEnde=" + startrechtEnde + ", vereinName=" + vereinName + ", startpaesse=" + startpaesse |
||||
+ "]"; |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,111 @@ |
||||
package de.kreth.clubhelper.model.data; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
import javax.persistence.Entity; |
||||
import javax.persistence.GeneratedValue; |
||||
import javax.persistence.GenerationType; |
||||
import javax.persistence.Id; |
||||
import javax.persistence.NamedQuery; |
||||
import javax.persistence.Table; |
||||
import javax.persistence.Temporal; |
||||
import javax.persistence.TemporalType; |
||||
|
||||
/** |
||||
* The persistent class for the version database table. |
||||
* |
||||
*/ |
||||
@Entity |
||||
@Table(name = "version") |
||||
@NamedQuery(name = "Version.findAll", query = "SELECT v FROM Version v") |
||||
public class Version implements Serializable { |
||||
|
||||
@Id |
||||
@GeneratedValue(strategy = GenerationType.IDENTITY) |
||||
private int id; |
||||
|
||||
@Temporal(TemporalType.TIMESTAMP) |
||||
private Date deleted; |
||||
|
||||
private int version; |
||||
|
||||
public int getId() { |
||||
return id; |
||||
} |
||||
|
||||
public void setId(int id) { |
||||
this.id = id; |
||||
} |
||||
|
||||
public Date getDeleted() { |
||||
return deleted; |
||||
} |
||||
|
||||
public void setDeleted(Date deleted) { |
||||
this.deleted = deleted; |
||||
} |
||||
|
||||
public int getVersion() { |
||||
return version; |
||||
} |
||||
|
||||
public void setVersion(int version) { |
||||
this.version = version; |
||||
} |
||||
|
||||
@Override |
||||
public int hashCode() { |
||||
final int prime = 31; |
||||
int result = 1; |
||||
result = prime * result + ((deleted == null) ? 0 : deleted.hashCode()); |
||||
result = prime * result + id; |
||||
result = prime * result + version; |
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public boolean equals(Object obj) { |
||||
if (this == obj) { |
||||
return true; |
||||
} |
||||
if (obj == null) { |
||||
return false; |
||||
} |
||||
if (getClass() != obj.getClass()) { |
||||
return false; |
||||
} |
||||
Version other = (Version) obj; |
||||
if (deleted == null) { |
||||
if (other.deleted != null) { |
||||
return false; |
||||
} |
||||
} |
||||
else if (!deleted.equals(other.deleted)) { |
||||
return false; |
||||
} |
||||
if (id != other.id) { |
||||
return false; |
||||
} |
||||
if (version != other.version) { |
||||
return false; |
||||
} |
||||
return true; |
||||
} |
||||
|
||||
@Override |
||||
public String toString() { |
||||
StringBuilder stringBuilder = new StringBuilder(); |
||||
stringBuilder.append("Version [id="); |
||||
stringBuilder.append(id); |
||||
stringBuilder.append(", version="); |
||||
stringBuilder.append(version); |
||||
if (deleted != null) { |
||||
stringBuilder.append(", deleted="); |
||||
stringBuilder.append(deleted); |
||||
} |
||||
stringBuilder.append("]"); |
||||
return stringBuilder.toString(); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1 @@ |
||||
keycloak.principal-attribute=preferred_username |
||||
@ -0,0 +1,24 @@ |
||||
package de.kreth.clubhelper.model; |
||||
|
||||
import org.junit.jupiter.api.Disabled; |
||||
import org.junit.jupiter.api.Test; |
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.data.jdbc.JdbcRepositoriesAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; |
||||
import org.springframework.boot.test.context.SpringBootTest; |
||||
|
||||
@Disabled |
||||
@SpringBootTest |
||||
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class, JdbcRepositoriesAutoConfiguration.class, |
||||
DataSourceTransactionManagerAutoConfiguration.class, JdbcTemplateAutoConfiguration.class, |
||||
SecurityAutoConfiguration.class }) |
||||
class ClubhelperModelApplicationTests { |
||||
|
||||
@Test |
||||
void contextLoads() { |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,78 @@ |
||||
package de.kreth.clubhelper.model; |
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull; |
||||
import static org.junit.jupiter.api.Assertions.assertTrue; |
||||
|
||||
import java.time.LocalDate; |
||||
import java.util.Optional; |
||||
|
||||
import org.junit.jupiter.api.BeforeEach; |
||||
import org.junit.jupiter.api.Test; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest; |
||||
import org.springframework.test.context.jdbc.Sql; |
||||
|
||||
import de.kreth.clubhelper.model.dao.GroupDao; |
||||
import de.kreth.clubhelper.model.dao.PersonDao; |
||||
import de.kreth.clubhelper.model.data.Gender; |
||||
import de.kreth.clubhelper.model.data.GroupDef; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
@DataJpaTest() |
||||
@Sql(scripts = "classpath:data.sql") |
||||
class LoadPersonsTest { |
||||
|
||||
@Autowired |
||||
PersonDao personDao; |
||||
|
||||
@Autowired |
||||
GroupDao groupDao; |
||||
|
||||
private GroupDef aktive; |
||||
|
||||
private GroupDef trainer; |
||||
|
||||
private GroupDef competitor; |
||||
|
||||
private GroupDef admin; |
||||
|
||||
@BeforeEach |
||||
void loadGroups() { |
||||
aktive = groupDao.findById(1).get(); |
||||
trainer = groupDao.findById(3).get(); |
||||
competitor = groupDao.findById(7).get(); |
||||
admin = groupDao.findById(8).get(); |
||||
assertNotNull(aktive); |
||||
assertNotNull(trainer); |
||||
assertNotNull(competitor); |
||||
assertNotNull(admin); |
||||
} |
||||
|
||||
@Test |
||||
void testLoadPerson1() { |
||||
Optional<Person> person1 = personDao.findById(1); |
||||
assertTrue(person1.isPresent(), "Person with id=1 not found!"); |
||||
assertTrue(person1.get().isMember(trainer)); |
||||
} |
||||
|
||||
@Test |
||||
void testLoadAll() { |
||||
Iterable<Person> all = personDao.findAll(); |
||||
assertTrue(all.iterator().hasNext(), "No data found in Person"); |
||||
} |
||||
|
||||
@Test |
||||
void insertPerson() { |
||||
Person p = new Person(); |
||||
p.setPrename("prename"); |
||||
p.setSurname("surname"); |
||||
p.setBirth(LocalDate.of(1981, 3, 3)); |
||||
p.setGender(Gender.MALE); |
||||
|
||||
personDao.save(p); |
||||
|
||||
assertNotNull(p.getId()); |
||||
personDao.delete(p); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,79 @@ |
||||
package de.kreth.clubhelper.model; |
||||
|
||||
import static org.mockito.Mockito.when; |
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; |
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; |
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; |
||||
|
||||
import java.time.LocalDate; |
||||
import java.util.Arrays; |
||||
import java.util.Optional; |
||||
|
||||
import org.junit.jupiter.api.BeforeEach; |
||||
import org.junit.jupiter.api.Test; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.boot.autoconfigure.data.jdbc.JdbcRepositoriesAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration; |
||||
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; |
||||
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; |
||||
import org.springframework.boot.test.mock.mockito.MockBean; |
||||
import org.springframework.http.MediaType; |
||||
import org.springframework.test.web.servlet.MockMvc; |
||||
|
||||
import de.kreth.clubhelper.model.dao.PersonDao; |
||||
import de.kreth.clubhelper.model.data.Gender; |
||||
import de.kreth.clubhelper.model.data.Person; |
||||
|
||||
@WebMvcTest(excludeAutoConfiguration = { DataSourceAutoConfiguration.class, JdbcRepositoriesAutoConfiguration.class, |
||||
DataSourceTransactionManagerAutoConfiguration.class, JdbcTemplateAutoConfiguration.class, |
||||
SecurityAutoConfiguration.class }) |
||||
class PersonControllerTest { |
||||
|
||||
@Autowired |
||||
MockMvc mvc; |
||||
|
||||
@MockBean |
||||
PersonDao personDao; |
||||
|
||||
private Person p1; |
||||
|
||||
private Person p2; |
||||
|
||||
@BeforeEach |
||||
void initMocks() { |
||||
p1 = new Person(); |
||||
p1.setId(1); |
||||
p1.setPrename("prename"); |
||||
p1.setSurname("surname"); |
||||
p1.setBirth(LocalDate.of(2000, 1, 1)); |
||||
p1.setGender(Gender.MALE); |
||||
|
||||
p2 = new Person(); |
||||
p2.setId(1); |
||||
p2.setPrename("prename"); |
||||
p2.setSurname("surname"); |
||||
p2.setBirth(LocalDate.of(2000, 1, 1)); |
||||
p2.setGender(Gender.MALE); |
||||
|
||||
when(personDao.findAll()).thenReturn(Arrays.asList(p1, p2)); |
||||
when(personDao.findById(1)).thenReturn(Optional.of(p1)); |
||||
when(personDao.findById(2)).thenReturn(Optional.of(p2)); |
||||
} |
||||
|
||||
@Test |
||||
void callAllPersons() throws Exception { |
||||
String jsonListOfPersons = "[{\"id\":1,\"changed\":null,\"created\":null,\"deleted\":null,\"birth\":\"2000-01-01\",\"prename\":\"prename\",\"surname\":\"surname\",\"username\":null,\"password\":null,\"gender\":\"MALE\"},{\"id\":1,\"changed\":null,\"created\":null,\"deleted\":null,\"birth\":\"2000-01-01\",\"prename\":\"prename\",\"surname\":\"surname\",\"username\":null,\"password\":null,\"gender\":\"MALE\"}]"; |
||||
mvc.perform(get("/person").accept(MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML)) |
||||
.andExpect(status().isOk()).andExpect(content().string(jsonListOfPersons)); |
||||
} |
||||
|
||||
@Test |
||||
void callPerson1() throws Exception { |
||||
String jsonListOfPersons = "{\"id\":1,\"changed\":null,\"created\":null,\"deleted\":null,\"birth\":\"2000-01-01\",\"prename\":\"prename\",\"surname\":\"surname\",\"username\":null,\"password\":null,\"gender\":\"MALE\"}"; |
||||
mvc.perform(get("/person/1").accept(MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML)) |
||||
.andExpect(status().isOk()).andExpect(content().string(jsonListOfPersons)); |
||||
} |
||||
|
||||
} |
||||
@ -0,0 +1,656 @@ |
||||
-- |
||||
-- Dumping data for table groupdef |
||||
-- |
||||
|
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (1,'Aktive','2016-12-17 13:59:01','2016-12-17 14:59:01',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (2,'Angehörige','2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (3,'Übungsleiter','2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (6,'Ehemalige','2016-12-18 19:55:57','2016-12-18 20:55:57',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (7,'Wettkämpfer','2016-12-18 19:56:09','2016-12-18 20:56:09',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (8,'ADMIN','2016-12-30 21:34:13','2016-12-30 22:34:13',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (9,'Kampfrichter','2019-01-12 12:44:00','2019-01-12 13:44:00',NULL); |
||||
INSERT INTO groupdef(id, name, changed, created, deleted) VALUES (10,'Warteliste','2020-01-28 18:52:58','2020-01-28 19:52:58',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table person |
||||
-- |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (1,'Samuel','Dennis','1983-09-11',1,'2020-01-18 15:14:19','2015-08-31 22:26:03',NULL,'markus','xxxxx'); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (2,'Paul','Wright','1964-02-14',2,'2019-01-27 14:18:15','2015-08-31 22:26:03','2019-01-27 22:05:11',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (3,'Edith','Armstrong','1988-02-26',2,'2020-01-18 15:13:54','2015-08-31 22:26:04',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (4,'George','Reid','1993-04-19',2,'2015-08-31 20:26:04','2015-08-31 22:26:04','2017-01-02 13:16:16',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (5,'Susie','Hansen','1975-05-07',2,'2015-08-31 20:26:04','2015-08-31 22:26:04','2017-01-02 13:16:19',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (6,'Olga','Reid','1958-01-09',NULL,'2015-08-31 20:26:04','2015-08-31 22:26:04','2019-01-27 22:05:19',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (7,'Danny','Malone','1955-02-15',2,'2015-08-31 20:26:04','2015-08-31 22:26:04','2019-01-27 22:05:16',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (8,'Isabelle','Schultz','1996-02-01',2,'2019-01-28 13:55:17','2015-08-31 22:26:04',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (9,'Rosetta','Romero','1996-11-27',2,'2015-08-31 20:26:04','2015-08-31 22:26:04',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (10,'Warren','McBride','1972-08-21',NULL,'2019-08-08 15:41:23','2015-08-31 22:26:04',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (11,'Leo','Swanson','1999-03-19',NULL,'2015-08-31 20:26:04','2015-08-31 22:26:04','2018-01-03 20:27:47',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (12,'Olga','Reid','1958-11-20',NULL,'2019-08-08 15:41:36','2015-08-31 22:26:04',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (13,'Hilda','White','1996-08-17',NULL,'2015-08-31 20:26:04','2015-08-31 22:26:04','2019-01-27 22:05:23',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (14,'Dustin','Bradley','1968-04-28',NULL,'2015-08-31 20:26:04','2015-08-31 22:26:04','2017-01-02 13:15:45',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (15,'Eleanor','Weber','1998-07-17',NULL,'2015-08-31 20:26:04','2015-08-31 22:26:04','2019-01-27 22:05:26',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (16,'Sue','Goodman','1992-07-23',NULL,'2015-08-31 20:26:04','2015-08-31 22:26:04','2019-01-27 22:05:30',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (17,'Rosetta','Lamb','1971-09-15',2,'2019-01-31 13:37:24','2015-08-31 22:26:04',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (18,'Nelle','Tran','1963-01-20',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2019-01-27 22:05:33',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (19,'Martha','Burns','1973-02-09',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2017-01-02 13:17:03',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (20,'Lois','Copeland','1985-09-05',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2017-01-02 13:17:32',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (21,'Herbert','Parsons','1992-03-26',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (22,'Warren','Zimmerman','1983-08-18',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2018-01-03 20:25:41',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (23,'Lida','Chavez','1963-11-06',NULL,'2016-05-30 21:15:00','2015-08-31 22:26:05','2019-01-27 22:05:37',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (24,'Bruce','Elliott','1994-07-17',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2017-01-02 13:18:03',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (25,'Violet','Holmes','1971-05-09',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2019-01-27 22:05:39',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (26,'Edith','Armstrong',NULL,NULL,'1988-08-31 20:26:05','2015-08-31 22:26:05','2019-01-27 22:05:44',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (27,'Julian','Johnson','1973-06-14',NULL,'2015-08-31 20:26:05','2015-08-31 22:26:05','2017-01-02 13:18:00',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (28,'Bobby','Gomez',NULL,NULL,'1997-08-31 20:26:05','2015-08-31 22:26:05','2018-01-03 20:26:05',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (29,'Eva','Nash','1979-04-28',2,'2015-08-31 20:26:05','2015-08-31 22:26:05','2017-01-02 13:15:55',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (30,'Ricky','Matthews',NULL,NULL,'1966-08-31 20:26:05','2015-08-31 22:26:05','2019-01-27 22:05:47',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (31,'Jean','Ingram',NULL,NULL,'1965-08-31 20:26:05','2015-08-31 22:26:05','2019-01-27 22:05:49',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (32,'Isabelle','Schultz','1996-08-11',2,'2015-08-31 20:26:06','2015-08-31 22:26:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (33,'Henrietta','Maldonado',NULL,NULL,'1998-08-31 20:26:06','2015-08-31 22:26:06','2019-01-27 22:06:17',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (34,'Isabel','Dennis',NULL,NULL,'2001-08-31 20:26:06','2015-08-31 22:26:06','2017-01-02 13:16:31',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (35,'Clayton','Gomez','1998-10-04',NULL,'2015-08-31 20:26:06','2015-08-31 22:26:06','2019-01-27 22:06:20',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (36,'Estelle','Davis',NULL,NULL,'2000-08-31 20:26:06','2015-08-31 22:26:06','2017-01-09 15:46:15',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (37,'Adeline','Fitzgerald',NULL,NULL,'1989-08-31 20:26:06','2015-08-31 22:26:06','2017-01-09 15:45:54',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (38,'Dora','Barnes','1958-03-29',NULL,'2019-01-28 14:02:40','2015-08-31 22:26:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (39,'Eric','Hayes',NULL,NULL,'1981-08-31 20:26:06','2015-08-31 22:26:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (40,'Dean','Schmidt','1974-01-31',NULL,'2015-08-31 20:26:06','2015-08-31 22:26:06','2017-01-02 13:15:58',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (41,'Lida','Chavez','1963-08-01',1,'2015-08-31 20:26:06','2015-08-31 22:26:06','2019-01-27 22:06:34',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (42,'Keith','Mills','1986-01-04',NULL,'2015-08-31 20:26:06','2015-08-31 22:26:06','2017-01-02 13:16:43',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (43,'Leo','Swanson','1999-11-30',NULL,'2015-08-31 20:26:06','2015-08-31 22:26:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (44,'Martha','Burns','1973-11-12',NULL,'2015-08-31 20:26:06','2015-08-31 22:26:06','2017-01-02 13:16:00',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (45,'Keith','Mills','1986-09-13',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07','2017-01-02 13:16:02',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (46,'Fanny','Collins','1967-06-01',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (47,'Angel','Gordon','1960-11-02',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (48,'Eva','Nash','1979-06-25',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07','2019-01-27 22:06:49',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (49,'Catherine','Hicks','1956-08-22',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07','2019-01-27 22:06:52',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (50,'Martha','Burns','1973-08-28',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07','2019-01-27 22:17:54',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (51,'Matthew','Padilla','1991-09-13',2,'2017-10-29 08:17:31','2015-08-31 22:26:07',NULL,'bergmann','xxxxx'); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (52,'Lula','Hansen',NULL,2,'1980-01-28 13:56:28','2015-08-31 22:26:07',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (53,'Catherine','Hicks',NULL,NULL,'1956-08-31 20:26:07','2015-08-31 22:26:07','2017-01-02 13:15:52',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (54,'Isaiah','Schmidt','1995-10-22',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07','2017-01-07 19:58:05',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (55,'George','Reid',NULL,NULL,'1993-08-31 20:26:07','2015-08-31 22:26:07','2019-01-27 22:06:57',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (56,'Jennie','Shaw','1972-01-01',NULL,'2015-08-31 20:26:07','2015-08-31 22:26:07',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (57,'Rodney','Foster',NULL,NULL,'1964-08-31 20:26:07','2015-08-31 22:26:07',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (58,'Leo','Swanson',NULL,NULL,'1999-08-31 20:26:07','2015-08-31 22:26:07','2019-01-27 22:18:02',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (59,'Calvin','Austin','1978-12-15',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,'reese','xxxxx'); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (60,'Tyler','Gonzales','1986-06-30',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08','2017-01-02 13:18:07',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (61,'Leo','Swanson','1999-07-16',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (62,'Rodney','Foster','1964-06-11',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,'ruiz','xxxxx'); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (63,'Sue','Goodman','1992-06-17',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (64,'Violet','Holmes','1971-08-06',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08','2019-01-27 22:18:13',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (65,'Samuel','Dennis','1983-11-27',NULL,'2019-08-08 16:17:54','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (66,'Isaac','Austin',NULL,NULL,'1988-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (67,'Rosetta','Lamb','1971-07-23',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (68,'Henrietta','Maldonado',NULL,NULL,'1998-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (69,'Inez','Parks','1995-09-11',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (70,'Ida','Douglas','1965-04-08',NULL,'2015-08-31 20:26:08','2015-08-31 22:26:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (71,'Isabel','Dennis',NULL,NULL,'2001-08-31 20:26:08','2015-08-31 22:26:08','2019-01-27 22:18:34',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (72,'Inez','Parks','1995-02-16',2,'2015-09-21 15:18:17','2015-09-21 17:18:17',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (73,'Ida','Douglas',NULL,NULL,'1965-09-21 15:18:42','2015-09-21 17:18:42',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (74,'George','Reid','1993-05-31',NULL,'2016-01-26 18:03:07','2016-01-26 19:03:07',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (75,'Mason','Gilbert',NULL,2,'1982-04-14 13:45:53','2016-01-27 18:20:33',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (76,'Harvey','Matthews',NULL,NULL,'1995-04-15 16:40:46','2016-01-27 18:21:10',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (77,'Adelaide','Sanchez','1977-04-15',1,'2019-01-27 21:18:53','2016-02-28 18:30:13','2019-01-27 22:19:00',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (78,'Fanny','Collins',NULL,NULL,'1967-02-28 17:31:36','2016-02-28 18:31:36',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (79,'Susie','Hansen',NULL,NULL,'1975-03-10 08:56:43','2016-03-10 09:56:43','2019-01-27 22:19:03',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (81,'Bruce','Elliott',NULL,NULL,'1994-04-13 14:55:33','2016-04-13 16:55:33','2019-01-27 22:19:06',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (82,'Rosetta','Romero','1996-06-15',NULL,'2016-04-13 17:07:34','2016-04-13 19:07:34',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (83,'Matthew','Padilla','1991-06-22',NULL,'2016-04-13 17:09:48','2016-04-13 19:09:48',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (84,'Keith','Mills','1986-10-04',2,'2019-08-16 14:55:09','2016-04-13 19:11:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (85,'Lois','Copeland','1985-04-14',NULL,'2016-04-13 17:12:03','2016-04-13 19:12:03',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (86,'Sean','Nunez','1959-09-09',NULL,'2016-04-13 17:14:19','2016-04-13 19:14:19',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (87,'Edward','Delgado','1972-06-09',NULL,'2016-04-13 17:14:45','2016-04-13 19:14:45',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (89,'Vera','Buchanan',NULL,NULL,'1965-04-27 14:57:06','2016-04-27 16:57:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (90,'Catherine','Hicks','1956-06-26',NULL,'2016-05-04 15:06:27','2016-05-04 17:06:27',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (91,'Olga','Reid',NULL,NULL,'1958-05-04 15:06:44','2016-05-04 17:06:44',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (92,'Angel','Gordon',NULL,2,'1960-01-16 11:32:54','2017-01-16 12:32:54',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (93,'Dora','Barnes',NULL,2,'1958-09-24 03:49:26',NULL,NULL,'rebecca','xxxxx'); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (119,'Isabel','Dennis','2001-05-17',NULL,'2019-01-28 14:05:09','2017-06-18 12:44:52',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (120,'Flora','Hudson','1965-08-31',NULL,NULL,'2017-08-09 21:13:20',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (121,'Nelle','Tran','1963-03-07',2,'2017-10-28 23:51:54','2017-10-29 01:51:54','2019-01-27 22:19:27',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (122,'Fanny','Kim','1974-04-27',NULL,'2017-11-05 12:47:51','2017-11-05 13:47:51',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (123,'Lois','Copeland','1985-03-08',NULL,'2018-01-17 17:43:47','2018-01-17 18:43:47',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (124,'Inez','Parks','1995-09-06',NULL,'2018-01-17 17:44:31','2018-01-17 18:44:31',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (125,'Terry','Bell','1983-08-03',NULL,'2018-01-17 17:45:51','2018-01-17 18:45:51','2018-06-26 06:35:25',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (126,'Isaac','Austin','1988-02-21',NULL,'2018-01-17 17:47:41','2018-01-17 18:47:41',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (127,'Marcus','Cook','1983-10-01',NULL,'2018-01-17 17:49:08','2018-01-17 18:49:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (128,'Harvey','Matthews','1995-03-05',NULL,'2018-01-17 17:50:49','2018-01-17 18:50:49',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (129,'Francis','Bailey','1970-11-18',NULL,'2018-01-17 17:51:53','2018-01-17 18:51:53',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (130,'Vera','Buchanan','1965-05-02',NULL,'2018-01-17 17:53:32','2018-01-17 18:53:32',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (131,'Dean','Schmidt','1974-10-07',NULL,'2018-02-07 19:09:39','2018-02-07 20:09:39',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (132,'Hilda','White','1996-01-29',NULL,'2018-02-07 19:13:22','2018-02-07 20:11:26',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (133,'Rosetta','Lamb','1971-03-19',NULL,'2018-02-21 17:31:59','2018-02-21 18:31:59',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (134,'Virgie','Webb','1979-08-03',1,'2018-08-25 08:57:17','2018-02-21 18:33:19',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (135,'Dora','Barnes','1958-09-12',NULL,'2018-02-21 17:34:59','2018-02-21 18:34:59',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (136,'Isabelle','Schultz','1996-05-20',NULL,'2018-02-21 17:36:57','2018-02-21 18:36:57',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (137,'Terry','Bell','1983-12-01',NULL,'2019-09-24 03:49:35','2018-04-14 12:26:14',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (138,'Eliza','Moore','1974-08-29',NULL,'2018-04-22 17:05:06','2018-04-22 19:05:06',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (139,'Lucille','Long','1960-08-29',NULL,'2018-04-22 17:06:58','2018-04-22 19:06:58',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (140,'Eva','Nash','1979-12-26',2,'2018-06-20 15:57:01','2018-06-20 17:57:01',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (141,'Eva','Nash','1979-06-18',2,'2019-02-17 19:09:55','2018-06-25 17:04:38',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (142,'Tyler','Gonzales','1986-10-23',1,'2019-09-24 03:49:47','2018-11-28 18:21:08',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (143,'Fanny','Kim','1974-08-06',NULL,'2018-11-28 17:23:32','2018-11-28 18:23:32',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (144,'Ricky','Matthews','1966-09-29',NULL,'2019-01-16 17:03:40','2019-01-16 18:03:40',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (145,'Isaiah','Schmidt','1995-09-28',NULL,'2019-01-16 17:05:03','2019-01-16 18:05:03','2019-01-27 22:19:53',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (148,'Steve','Hawkins','1995-08-07',2,'2019-09-24 03:49:56','2019-01-31 22:40:02',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (165,'Ricky','Matthews','1966-10-08',2,'2019-08-17 14:24:47','2019-08-17 16:24:35','2019-08-20 00:48:24',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (166,'Sean','Nunez','1959-10-07',1,'2019-08-17 14:45:57','2019-08-17 16:45:13','2019-08-20 00:48:27',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (167,'Matthew','Padilla','1991-08-13',2,'2019-08-19 22:36:06','2019-08-20 00:36:06','2019-08-20 00:43:35',NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (168,'Catherine','Hicks','1956-08-10',2,'2019-08-19 23:17:14','2019-08-20 01:14:52',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (169,'Hilda','White','1996-08-19',1,'2020-01-28 17:53:17','2020-01-28 18:53:17',NULL,NULL,NULL); |
||||
INSERT INTO person(id, prename, surname, birth, gender, changed, created, deleted, username, password) VALUES (170,'Stephen','Castro','1977-10-09',2,'2020-01-28 18:13:30','2020-01-28 19:07:01',NULL,NULL,NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table clubevent |
||||
-- |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('1f3tph0d1lmoe80fs7dokeo1ds',NULL,'1f3tph0d1lmoe80fs7dokeo1ds@google.com','mtv_allgemein','Turnfest Oldenburg',NULL,'2020-05-20','2020-05-24',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('1hqi3ntpo80mf3evls4jqh5505',NULL,'1hqi3ntpo80mf3evls4jqh5505@google.com','mtv_wettkampf','Bezirks DMT',NULL,'2019-03-02','2019-03-02',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('2jpqksdhsk6g97r1cjh3t5llck','Göttingen','2jpqksdhsk6g97r1cjh3t5llck@google.com','mtv_wettkampf','LM Senioren: Katharina','Absagen: Nika, Maarten','2019-11-23','2019-11-23',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('3pqgg0g4lqdf1veik7e28vbam4',NULL,'3pqgg0g4lqdf1veik7e28vbam4@google.com','mtv_wettkampf','BZEinsteigerwettkampf','Absagen: Saskia','2019-11-30','2019-11-30',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('416dla37hvjknqrgoqaq91utbk','Laatzen?','416dla37hvjknqrgoqaq91utbk@google.com','mtv_wettkampf','LM Mannschaft',NULL,'2019-06-22','2019-06-22',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('5ab6m62nuqbmsea8gqgbp7hj5k','Laatzen','5ab6m62nuqbmsea8gqgbp7hj5k@google.com','mtv_wettkampf','KR-Einzel-MS',NULL,'2019-08-24','2019-08-24',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('6goj4cr6cgom2b9o69h68b9kcko36b9oc4o6ab9i70pm4e1o68p6aohi6s',NULL,'6goj4cr6cgom2b9o69h68b9kcko36b9oc4o6ab9i70pm4e1o68p6aohi6s@google.com','mtv_allgemein','Prämienveranstaltung sparkasse',NULL,'2019-12-05','2019-12-05',0,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('6k86gnjvjat0mbud82jmuml0kc','Pattensen?','6k86gnjvjat0mbud82jmuml0kc@google.com','mtv_wettkampf','KR-Mannschafts-MS',NULL,'2019-05-11','2019-05-12',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('6oqjacr4chij8b9k6cs3ib9k74r32bb170qmabb170s36cr368qm2o9j74','Laatzen','6oqjacr4chij8b9k6cs3ib9k74r32bb170qmabb170s36cr368qm2o9j74@google.com','mtv_wettkampf','Lehrgang Tipps&Tricks',NULL,'2019-10-27','2019-10-27',0,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('6phj4chj6pj30bb36tgj2b9k6oqjab9oc4q32b9icph3gopg71ijic9gcg',NULL,'6phj4chj6pj30bb36tgj2b9k6oqjab9oc4q32b9icph3gopg71ijic9gcg@google.com','mtv_allgemein','Vereinsmeisterschaft',NULL,'2019-11-16','2019-11-16',0,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('6ss34dhkcdhjgb9ickqjcb9k69hj8b9p6gqm8bb171h66d1mckq64e1ncg',NULL,'6ss34dhkcdhjgb9ickqjcb9k69hj8b9p6gqm8bb171h66d1mckq64e1ncg@google.com','mtv_allgemein','Ultimate kommt zurück',NULL,'2019-11-01','2019-11-01',0,1); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('7b6ugv4gh4slj47qsrjhfod3pg','Wunstorf','7b6ugv4gh4slj47qsrjhfod3pg@google.com','mtv_wettkampf','BZ DMT',NULL,'2019-03-02','2019-03-02',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('8q1am0fl47cn1h22j9m3348q48','Salzgitter','8q1am0fl47cn1h22j9m3348q48@google.com','mtv_wettkampf','LM Einzel',NULL,'2019-04-06','2019-04-06',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('8s2qo3v7pbclupqhsjfm1jfmqo','Poggenhagen','8s2qo3v7pbclupqhsjfm1jfmqo@google.com','mtv_wettkampf','BZMannschaftsMS',NULL,'2019-05-18','2019-05-18',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('a1inmotgn59qlou6n2kij3buco','Wunstorf','a1inmotgn59qlou6n2kij3buco@google.com','mtv_allgemein','F-Schein',NULL,'2019-06-29','2019-06-30',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('b0nj81eie0tc1neln1lmh5t9rs','Grasdorf, 30880 Laatzen, Deutschland','b0nj81eie0tc1neln1lmh5t9rs@google.com','mtv_wettkampf','BZSynchronMS',NULL,'2019-09-14','2019-09-14',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('b16m8eb2dmontpqki35ehvnlko','Laatzen, Albert-Einstein-Schule','b16m8eb2dmontpqki35ehvnlko@google.com','mtv_wettkampf','LM Synchron: Nika & Tala',NULL,'2019-11-02','2019-11-02',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('d79sjvhr416m3lbu2tn3m0omv4','Berenbostel, Garbsen, Deutschland','d79sjvhr416m3lbu2tn3m0omv4@google.com','mtv_allgemein','KR-Schein Passiv',NULL,'2019-01-12','2019-01-12',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('da5vvbhhoivia5sl5dhdqcn5fc',NULL,'da5vvbhhoivia5sl5dhdqcn5fc@google.com','mtv_wettkampf','LM Synchron',NULL,'2019-10-26','2019-10-26',0,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('ipq6elmji5p4bbkgvrbv28vgks','Poggenhagen','ipq6elmji5p4bbkgvrbv28vgks@google.com','mtv_wettkampf','BZEinzelMS',NULL,'2019-08-31','2019-08-31',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('j905urdm6gut66efql31nddta0','Laatzen','j905urdm6gut66efql31nddta0@google.com','mtv_allgemein','G-Schein',NULL,'2019-03-09','2019-03-10',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('ktginr305jn6l71omiggs4u1d8','Bremerhaven, Deutschland','ktginr305jn6l71omiggs4u1d8@google.com','mtv_wettkampf','Küstenteam-Cup',NULL,'2019-09-28','2019-09-28',1,1); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('l5s96f8l1fn5tdsqn4ir7hgc04','Melle','l5s96f8l1fn5tdsqn4ir7hgc04@google.com','mtv_allgemein','Trainer C 1. Teil',NULL,'2019-10-04','2019-10-06',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('nvlcjgfs6vl4i3sc4rhgnlc2g8','Laatzen','nvlcjgfs6vl4i3sc4rhgnlc2g8@google.com','mtv_wettkampf','Leine-Pokal',NULL,'2019-05-04','2019-05-04',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('obsq4kli1u16o9e01enbhde1a4','Laatzen','obsq4kli1u16o9e01enbhde1a4@google.com','mtv_wettkampf','Kreissynchronmeisterschaften',NULL,'2019-08-25','2019-08-25',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('q7mcfne5l3qgb2i82egmmb7kt4','Darmstadt','q7mcfne5l3qgb2i82egmmb7kt4@google.com','mtv_wettkampf','HCC-Ball','Absagen: Nika','2019-12-07','2019-12-07',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('qpj15a2495o7k8ee62fsrg8akk','Neu Wulmsdorf','qpj15a2495o7k8ee62fsrg8akk@google.com','mtv_wettkampf','LM DMT',NULL,'2019-02-16','2019-02-16',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('qs45hjtsivmjmpriirmn0mjf5g','Grasdorf, 30880 Laatzen, Deutschland','qs45hjtsivmjmpriirmn0mjf5g@google.com','mtv_wettkampf','Oldies Cup',NULL,'2019-09-20','2019-09-22',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h71fn8pbidlkmsdb168pjaphl70qj4d9g6t076or8elm6cpbid5imsbjfe9jg',NULL,'F_2018_termin5a235f5852507@schulferien.org','Schulferien','Weihnachtsferien 2018 Niedersachsen','Alle Termine auf www.schulferien.org','2018-12-24','2019-01-04',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8dhk61076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e5574640@schulferien.org','Schulferien','Winterferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-01-31','2019-02-01',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8dj4c9076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e55746db@schulferien.org','Schulferien','Osterferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-04-08','2019-04-23',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8dpm6d076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e5574763@schulferien.org','Schulferien','Pfingstferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-05-31','2019-05-31',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8dr471076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e55747d8@schulferien.org','Schulferien','Pfingstferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-06-11','2019-06-11',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8e1kc9076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e557484b@schulferien.org','Schulferien','Sommerferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-07-04','2019-08-14',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8e32cp076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e55748bf@schulferien.org','Schulferien','Herbstferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-10-04','2019-10-18',1,0); |
||||
-- INSERT INTO clubevent(id, location, ICALUID, organizerDisplayName, caption, description, start, end, allDay, deleted) VALUES ('_8pfj4c1h75fn8pbidlkmsdb360o3ip9l6krj8e9l6p076or8elm6cpbid5imsbjfe9jg',NULL,'F_2019_termin5c009e5574956@schulferien.org','Schulferien','Weihnachtsferien 2019 Niedersachsen','Alle Termine auf www.schulferien.org','2019-12-23','2020-01-06',1,0); |
||||
|
||||
-- |
||||
-- Dumping data for table pflichten |
||||
-- |
||||
INSERT INTO pflichten(id, name, fixed, ordered, comment, changed, created, deleted) VALUES (1,'P3',1,3,NULL,'2019-01-27 22:40:17','2019-01-27 23:40:17',NULL); |
||||
INSERT INTO pflichten(id, name, fixed, ordered, comment, changed, created, deleted) VALUES (2,'P4',1,4,NULL,'2019-01-27 22:40:17','2019-01-27 23:40:17',NULL); |
||||
INSERT INTO pflichten(id, name, fixed, ordered, comment, changed, created, deleted) VALUES (3,'P5',1,5,NULL,'2019-01-27 22:40:17','2019-01-27 23:40:17',NULL); |
||||
INSERT INTO pflichten(id, name, fixed, ordered, comment, changed, created, deleted) VALUES (4,'P6',1,6,NULL,'2019-01-27 22:40:17','2019-01-27 23:40:17',NULL); |
||||
INSERT INTO pflichten(id, name, fixed, ordered, comment, changed, created, deleted) VALUES (5,'P7',1,7,NULL,'2019-01-27 22:40:17','2019-01-27 23:40:17',NULL); |
||||
INSERT INTO pflichten(id, name, fixed, ordered, comment, changed, created, deleted) VALUES (6,'P8',1,8,NULL,'2019-01-27 22:40:17','2019-01-27 23:40:17',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table adress |
||||
-- |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (2,'Kacveb View','','30004','Leadenit',1,'2019-01-29 00:06:52','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (3,'Etco Point','','30003','Uwsatubi',41,'2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (4,'Bafsam Path','','30004','Jihuvbe',70,'2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (5,'Vojir Heights','','30004','Loksekoc',38,'2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (6,'Vipmub Pike','','30003','Ugenukiv',74,'2016-01-26 18:04:00','2016-01-26 19:04:00',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (7,'Hiogo Trail','','30002','Owacomso',62,'2016-04-13 17:06:15','2016-04-13 19:06:15',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (8,'Falwuh Heights','','30005','Vehiwdu',1,'2019-01-29 00:06:52','2019-01-29 00:36:02','2019-01-29 01:06:27'); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (9,'Sohwi Key','','30005','Kapesil',17,'2019-01-31 13:37:24','2019-01-31 14:37:24',NULL); |
||||
INSERT INTO adress(id, adress1, adress2, plz, city, person_id, changed, created, deleted) VALUES (11,'Ufdaw Mill','','30001','Kuzmirog',148,'2019-01-31 21:42:05','2019-01-31 22:42:05',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table altersgruppe |
||||
-- |
||||
-- INSERT INTO altersgruppe(id, event_id, PFLICHT_ID, bezeichnung, start, end, changed, created, deleted) VALUES (1,'nvlcjgfs6vl4i3sc4rhgnlc2g8',2,'Jugend D',2010,'2019','2019-01-27 21:46:28','2019-01-27 22:46:28',NULL); |
||||
-- INSERT INTO altersgruppe(id, event_id, PFLICHT_ID, bezeichnung, start, end, changed, created, deleted) VALUES (2,'nvlcjgfs6vl4i3sc4rhgnlc2g8',4,'Jugend C',2008,'2009','2019-01-27 21:46:58','2019-01-27 22:46:58',NULL); |
||||
-- INSERT INTO altersgruppe(id, event_id, PFLICHT_ID, bezeichnung, start, end, changed, created, deleted) VALUES (3,'nvlcjgfs6vl4i3sc4rhgnlc2g8',6,'Jugend B',2003,'2007','2019-01-27 21:50:56','2019-01-27 22:47:26',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table attendance |
||||
-- |
||||
-- INSERT INTO attendance VALUES (1,'2018-01-17',1,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (2,'2018-01-17',120,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (3,'2018-01-17',121,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (4,'2018-01-17',38,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (5,'2018-01-17',3,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (6,'2018-01-17',62,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (7,'2018-01-17',72,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (8,'2018-01-17',75,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (9,'2018-01-17',9,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (10,'2018-01-17',92,'2018-01-17 17:42:48','2018-01-17 18:42:48',NULL); |
||||
-- INSERT INTO attendance VALUES (11,'2018-01-17',123,'2018-01-17 17:44:55','2018-01-17 18:44:55',NULL); |
||||
-- INSERT INTO attendance VALUES (12,'2018-01-17',124,'2018-01-17 17:44:55','2018-01-17 18:44:55',NULL); |
||||
-- INSERT INTO attendance VALUES (13,'2018-01-17',125,'2018-01-17 17:46:19','2018-01-17 18:46:19',NULL); |
||||
-- INSERT INTO attendance VALUES (14,'2018-01-17',126,'2018-01-17 17:48:08','2018-01-17 18:48:08',NULL); |
||||
-- INSERT INTO attendance VALUES (15,'2018-01-17',127,'2018-01-17 17:49:37','2018-01-17 18:49:37',NULL); |
||||
-- INSERT INTO attendance VALUES (16,'2018-01-17',128,'2018-01-17 17:51:06','2018-01-17 18:51:06',NULL); |
||||
-- INSERT INTO attendance VALUES (17,'2018-01-17',129,'2018-01-17 17:52:46','2018-01-17 18:52:46',NULL); |
||||
-- INSERT INTO attendance VALUES (18,'2018-01-17',32,'2018-01-17 20:21:37','2018-01-17 21:21:37',NULL); |
||||
-- INSERT INTO attendance VALUES (19,'2018-02-07',1,'2018-02-07 17:01:35','2018-02-07 18:01:35',NULL); |
||||
-- INSERT INTO attendance VALUES (20,'2018-02-07',32,'2018-02-07 17:01:35','2018-02-07 18:01:35',NULL); |
||||
-- INSERT INTO attendance VALUES (21,'2018-02-07',8,'2018-02-07 17:01:35','2018-02-07 18:01:35',NULL); |
||||
-- INSERT INTO attendance VALUES (22,'2018-02-07',3,'2018-02-07 17:01:35','2018-02-07 18:01:35',NULL); |
||||
-- INSERT INTO attendance VALUES (23,'2018-02-07',72,'2018-02-07 17:01:35','2018-02-07 18:01:35',NULL); |
||||
-- INSERT INTO attendance VALUES (24,'2018-02-07',15,'2018-02-07 19:10:01','2018-02-07 20:10:01',NULL); |
||||
-- INSERT INTO attendance VALUES (25,'2018-02-07',131,'2018-02-07 19:10:11','2018-02-07 20:10:11',NULL); |
||||
-- INSERT INTO attendance VALUES (26,'2018-02-07',127,'2018-02-07 19:13:12','2018-02-07 20:13:12',NULL); |
||||
-- INSERT INTO attendance VALUES (27,'2018-02-07',129,'2018-02-07 19:13:12','2018-02-07 20:13:12',NULL); |
||||
-- INSERT INTO attendance VALUES (28,'2018-02-07',132,'2018-02-07 19:13:12','2018-02-07 20:13:12',NULL); |
||||
-- INSERT INTO attendance VALUES (29,'2018-02-19',72,'2018-02-19 19:34:11','2018-02-19 20:34:11',NULL); |
||||
-- INSERT INTO attendance VALUES (30,'2018-02-19',32,'2018-02-19 19:34:11','2018-02-19 20:34:11',NULL); |
||||
-- INSERT INTO attendance VALUES (31,'2018-02-21',1,'2018-02-21 17:32:12','2018-02-21 18:32:12',NULL); |
||||
-- INSERT INTO attendance VALUES (32,'2018-02-21',127,'2018-02-21 17:32:12','2018-02-21 18:32:12',NULL); |
||||
-- INSERT INTO attendance VALUES (33,'2018-02-21',129,'2018-02-21 17:32:12','2018-02-21 18:32:12',NULL); |
||||
-- INSERT INTO attendance VALUES (34,'2018-02-21',134,'2018-02-21 17:35:07','2018-02-21 18:35:07',NULL); |
||||
-- INSERT INTO attendance VALUES (35,'2018-02-21',8,'2018-02-21 17:35:07','2018-02-21 18:35:07',NULL); |
||||
-- INSERT INTO attendance VALUES (36,'2018-02-21',32,'2018-02-21 17:35:07','2018-02-21 18:35:07',NULL); |
||||
-- INSERT INTO attendance VALUES (37,'2018-02-21',3,'2018-02-21 17:35:07','2018-02-21 18:35:07',NULL); |
||||
-- INSERT INTO attendance VALUES (38,'2018-02-21',17,'2018-02-21 17:35:39','2018-02-21 18:35:39',NULL); |
||||
-- INSERT INTO attendance VALUES (39,'2018-02-21',135,'2018-02-21 17:35:39','2018-02-21 18:35:39',NULL); |
||||
-- INSERT INTO attendance VALUES (40,'2018-02-21',72,'2018-02-21 17:35:39','2018-02-21 18:35:39',NULL); |
||||
-- INSERT INTO attendance VALUES (41,'2018-02-21',75,'2018-02-21 17:35:39','2018-02-21 18:35:39',NULL); |
||||
-- INSERT INTO attendance VALUES (42,'2018-02-21',15,'2018-02-21 17:37:31','2018-02-21 18:37:31',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table clubevent_addon |
||||
-- |
||||
-- INSERT INTO clubevent_addon VALUES ('2jpqksdhsk6g97r1cjh3t5llck','EINZEL'); |
||||
-- INSERT INTO clubevent_addon VALUES ('3pqgg0g4lqdf1veik7e28vbam4','EINZEL'); |
||||
-- INSERT INTO clubevent_addon VALUES ('416dla37hvjknqrgoqaq91utbk','MANNSCHAFT'); |
||||
-- INSERT INTO clubevent_addon VALUES ('5ab6m62nuqbmsea8gqgbp7hj5k','EINZEL'); |
||||
-- INSERT INTO clubevent_addon VALUES ('6k86gnjvjat0mbud82jmuml0kc','MANNSCHAFT'); |
||||
-- INSERT INTO clubevent_addon VALUES ('7b6ugv4gh4slj47qsrjhfod3pg','DOPPELMINI'); |
||||
-- INSERT INTO clubevent_addon VALUES ('8q1am0fl47cn1h22j9m3348q48','EINZEL'); |
||||
-- INSERT INTO clubevent_addon VALUES ('8s2qo3v7pbclupqhsjfm1jfmqo','MANNSCHAFT'); |
||||
-- INSERT INTO clubevent_addon VALUES ('b0nj81eie0tc1neln1lmh5t9rs','SYNCHRON'); |
||||
-- INSERT INTO clubevent_addon VALUES ('da5vvbhhoivia5sl5dhdqcn5fc','SYNCHRON'); |
||||
-- INSERT INTO clubevent_addon VALUES ('ipq6elmji5p4bbkgvrbv28vgks','EINZEL'); |
||||
-- INSERT INTO clubevent_addon VALUES ('nvlcjgfs6vl4i3sc4rhgnlc2g8','EINZEL'); |
||||
-- INSERT INTO clubevent_addon VALUES ('obsq4kli1u16o9e01enbhde1a4','SYNCHRON'); |
||||
-- INSERT INTO clubevent_addon VALUES ('q7mcfne5l3qgb2i82egmmb7kt4','DOPPELMINI'); |
||||
-- INSERT INTO clubevent_addon VALUES ('qpj15a2495o7k8ee62fsrg8akk','DOPPELMINI'); |
||||
-- INSERT INTO clubevent_addon VALUES ('qs45hjtsivmjmpriirmn0mjf5g','EINZEL'); |
||||
|
||||
-- |
||||
-- Dumping data for table clubevent_has_person |
||||
-- |
||||
-- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('nvlcjgfs6vl4i3sc4rhgnlc2g8',32,''); |
||||
-- -- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('nvlcjgfs6vl4i3sc4rhgnlc2g8',72,''); |
||||
-- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('nvlcjgfs6vl4i3sc4rhgnlc2g8',134,''); |
||||
-- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('nvlcjgfs6vl4i3sc4rhgnlc2g8',141,''); |
||||
-- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('qpj15a2495o7k8ee62fsrg8akk',32,''); |
||||
-- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('qpj15a2495o7k8ee62fsrg8akk',72,''); |
||||
-- INSERT INTO clubevent_has_person(clubevent_id, person_id, comment) VALUES ('qpj15a2495o7k8ee62fsrg8akk',134,''); |
||||
|
||||
-- (id, name, changed, created, deleted) |
||||
-- |
||||
-- Dumping data for table contact |
||||
-- |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (1,'Telefon','(888) 602-2973',1,'2019-01-29 00:06:52','2015-08-31 22:26:08',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (2,'Email','zotak@seenwo.bj',1,'2019-01-29 00:06:52','2015-08-31 22:26:09','2019-01-27 17:37:51'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (3,'Mobile','vo@tivos.hu',1,'2019-06-09 12:38:52','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (4,'Telefon','(540) 566-6632',2,'2019-01-27 14:18:15','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (5,'Telefon','(540) 566-6632',3,'2019-08-10 22:19:10','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (6,'Email','kon@wi.as',3,'2019-08-10 22:19:10','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (7,'Mobile','zigdav@of.kz',3,'2019-08-10 22:19:10','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (8,'Telefon','(283) 478-9810',4,'2015-08-31 20:26:09','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (9,'Mobile','we@gezpahen.lv',4,'2015-08-31 20:26:09','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (10,'Telefon','(334) 355-3748',5,'2015-08-31 20:26:09','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (11,'Mobile','lole@mo.fk',5,'2015-08-31 20:26:09','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (12,'Telefon','(248) 698-3997',6,'2015-08-31 20:26:09','2015-08-31 22:26:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (13,'Telefon','(464) 629-7364',7,'2015-08-31 20:26:10','2015-08-31 22:26:10','2018-01-03 20:27:01'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (14,'Mobile','pimavwo@romiw.mp',8,'2019-01-28 13:55:17','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (15,'Mobile','lole@mo.fk',9,'2015-08-31 20:26:10','2015-08-31 22:26:10','2017-03-05 23:17:44'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (16,'Telefon','(516) 427-8337',10,'2019-08-08 15:41:23','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (17,'Telefon','(931) 911-1814',11,'2015-08-31 20:26:10','2015-08-31 22:26:10','2018-01-03 20:27:30'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (18,'Telefon','(936) 440-2039',13,'2015-08-31 20:26:10','2015-08-31 22:26:10','2018-01-04 14:20:14'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (19,'Telefon','(833) 772-7674',14,'2015-08-31 20:26:10','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (20,'Mobile','raali@nirre.mt',14,'2015-08-31 20:26:10','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (21,'Telefon','(608) 941-4676',15,'2015-08-31 20:26:10','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (22,'Telefon','(234) 970-2034',17,'2019-01-31 13:37:24','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (23,'Mobile','uberutuz@ciwfan.ba',17,'2019-01-31 13:37:24','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (24,'Email','meudoak@kuhgugol.lr',17,'2019-01-31 13:37:24','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (25,'Telefon','(516) 427-8337',20,'2015-08-31 20:26:10','2015-08-31 22:26:10',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (26,'Telefon','(508) 986-2859',21,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (27,'Telefon','(264) 271-7618',22,'2015-08-31 20:26:11','2015-08-31 22:26:11','2018-01-03 20:25:41'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (28,'Mobile','pufuh@eriwak.mt',22,'2015-08-31 20:26:11','2015-08-31 22:26:11','2018-01-03 20:25:41'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (29,'Telefon','(936) 440-2039',24,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (30,'Telefon','(209) 967-1945',25,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (31,'Telefon','(762) 946-8176',27,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (32,'Mobile','nug@pig.mr',28,'2015-08-31 20:26:11','2015-08-31 22:26:11','2018-01-03 20:26:05'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (33,'Email','midupab@nopaj.ga',28,'2015-08-31 20:26:11','2015-08-31 22:26:11','2018-01-03 20:26:05'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (34,'Email','etcej@tud.de',29,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (35,'Mobile','sanud@mub.bs',30,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (36,'Telefon','(464) 629-7364',30,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (37,'Telefon','(846) 479-6053',31,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (38,'Mobile','nug@pig.mr',32,'2015-08-31 20:26:11','2015-08-31 22:26:11',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (39,'Email','wenfe@gedage.to',32,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (40,'Telefon','(608) 941-4676',32,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (41,'Email','agugo@pavaso.kz',33,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (42,'Telefon','(307) 537-9417',33,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (43,'Mobile','ovajom@uleabo.ae',34,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (44,'Mobile','na@ibiaf.re',35,'2015-08-31 20:26:12','2015-08-31 22:26:12','2018-01-04 14:21:10'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (45,'Email','bufce@pud.vg',35,'2015-08-31 20:26:12','2015-08-31 22:26:12','2018-01-04 14:21:10'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (46,'Telefon','(524) 642-2004',35,'2015-08-31 20:26:12','2015-08-31 22:26:12','2018-01-04 14:21:10'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (47,'Mobile','pufuh@eriwak.mt',35,'2015-08-31 20:26:12','2015-08-31 22:26:12','2018-01-04 14:21:10'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (48,'Mobile','dullo@since.fr',36,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (49,'Mobile','he@na.cv',38,'2019-01-28 14:02:40','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (50,'Email','bu@abe.md',38,'2019-01-28 14:02:40','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (51,'Telefon','(680) 418-9656',39,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (52,'Telefon','(215) 873-8629',41,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (53,'Telefon','(651) 755-3059',42,'2015-08-31 20:26:12','2015-08-31 22:26:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (54,'Email','rulmi@giam.dk',42,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (55,'Mobile','erazaj@li.th',42,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (56,'Mobile','do@repaguno.sg',48,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (57,'Mobile','ve@nihzuwwa.bz',51,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (58,'Email','ov@eku.ml',51,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (59,'Mobile','rulmi@giam.dk',52,'2019-01-28 13:56:28','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (60,'Email','lole@mo.fk',52,'2019-01-28 13:56:28','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (61,'Mobile','fidig@fugih.bb',49,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (62,'Email','se@talmu.gi',49,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (63,'Mobile','fe@nagopid.eh',29,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (64,'Email','za@vol.tk',53,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (65,'Telefon','(737) 442-7131',53,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (66,'Mobile','ji@agsifgi.ru',53,'2015-08-31 20:26:13','2015-08-31 22:26:13',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (67,'Mobile','iwo@kil.gs',47,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (68,'Telefon','(902) 398-1248',43,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (69,'Mobile','he@na.cv',54,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (70,'Email','abi@penkisag.er',54,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (71,'Mobile','foisi@durwo.pt',56,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (72,'Email','fehepte@jajfawzib.ac',58,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (73,'Mobile','ve@nihzuwwa.bz',41,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (74,'Mobile','vo@tivos.hu',59,'2015-08-31 20:26:14','2015-08-31 22:26:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (75,'Email','agugo@pavaso.kz',59,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (76,'Telefon','(902) 398-1248',61,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (77,'Mobile','cubuj@sauku.kz',62,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (78,'Mobile','ubaicitu@al.re',62,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (79,'Telefon','(651) 755-3059',7,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (80,'Mobile','za@vol.tk',63,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (81,'Telefon','(427) 897-8264',64,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (82,'Email','fe@nagopid.eh',43,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (83,'Mobile','abi@penkisag.er',66,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (84,'Email','we@gezpahen.lv',7,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (85,'Mobile','belhicke@voznuz.wf',68,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (86,'Mobile','ilizafep@ze.in',70,'2015-08-31 20:26:15','2015-08-31 22:26:15',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (87,'Email','moges@zosice.br',66,'2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (88,'Mobile','cujope@vanzu.gh',61,'2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (89,'Mobile','otufira@kog.gb',73,'2015-09-21 15:18:56','2015-09-21 17:18:56',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (90,'Email','ri@sota.hu',73,'2016-01-25 18:10:17','2016-01-25 19:10:17',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (91,'Telefon','(420) 244-1950',74,'2016-01-26 18:04:07','2016-01-26 19:04:07',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (92,'Email','jot@seov.sn',74,'2016-01-26 18:04:39','2016-01-26 19:04:39',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (93,'Email','erazaj@li.th',76,'2016-01-27 17:21:24','2016-01-27 18:21:24',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (94,'Mobile','siwar@upewuf.cg',12,'2019-08-08 15:41:36','2016-01-30 10:30:37',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (95,'Mobile','haces@viwali.ml',12,'2019-08-08 15:41:36','2016-01-30 14:58:54',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (96,'Mobile','lole@mo.fk',76,'2016-02-08 16:15:59','2016-02-08 17:15:59',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (97,'Mobile','sowi@nigsite.fj',78,'2016-02-28 17:32:17','2016-02-28 18:32:17',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (98,'Email','zenvazkus@veohav.va',78,'2016-03-01 19:44:54','2016-03-01 20:44:54',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (99,'Mobile','rulmi@giam.dk',79,'2016-03-10 08:57:00','2016-03-10 09:57:00',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (100,'Mobile','ilizafep@ze.in',81,'2016-04-13 14:56:01','2016-04-13 16:56:01',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (101,'Mobile','lebanema@wamo.am',82,'2016-04-13 17:08:07','2016-04-13 19:08:07',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (102,'Mobile','pegev@egojine.tm',83,'2016-04-13 17:09:55','2016-04-13 19:09:55',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (103,'Mobile','bu@abe.md',85,'2016-04-13 17:12:19','2016-04-13 19:12:19',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (104,'Mobile','fehepte@jajfawzib.ac',84,'2019-08-16 14:55:09','2016-04-13 19:16:44',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (105,'Mobile','otufira@kog.gb',89,'2016-04-27 14:57:25','2016-04-27 16:57:25',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (106,'Mobile','sowi@nigsite.fj',50,'2016-04-27 18:34:08','2016-04-27 20:34:08',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (107,'Mobile','agugo@pavaso.kz',91,'2016-05-04 15:07:17','2016-05-04 17:07:17',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (108,'Telefon','(215) 616-5620',93,'2019-01-28 14:04:58','2017-04-05 11:59:12',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (109,'Mobile','fidig@fugih.bb',7,'2017-06-18 10:12:51','2017-03-08 08:35:34',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (110,'Telefon','(584) 253-6269',119,'2019-01-28 14:05:09','2017-07-02 07:19:01',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (111,'Email','catji@fir.vu',119,'2019-01-28 14:05:09','2017-07-02 07:19:38',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (112,'Mobile','zugzil@ruzepid.aq',119,'2019-01-28 14:05:09','2017-07-02 07:21:14',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (113,'Email','ag@tugidi.ye',120,'2017-08-09 19:14:46','2017-08-09 21:14:46',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (114,'Mobile','hog@giot.vu',120,'2017-08-09 19:15:23','2017-08-09 21:15:23',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (115,'Mobile','zenvazkus@veohav.va',129,'2018-01-17 17:52:22','2018-01-17 18:52:22',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (116,'Mobile','lohen@cepforham.an',133,'2018-03-07 18:57:09','2018-03-07 19:57:09',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (117,'Mobile','jivzib@efa.dk',140,'2018-06-20 15:57:32','2018-06-20 17:57:32',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (118,'Mobile','ovur@waus.cv',141,'2019-02-17 19:09:55','2018-06-25 17:05:03',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (119,'Mobile','sanud@mub.bs',141,'2019-02-17 19:09:55','2018-06-25 17:05:24',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (120,'Telefon','(630) 397-2432',142,'2018-11-28 17:22:00','2018-11-28 18:22:00',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (121,'Telefon','(944) 836-6361',143,'2018-11-28 17:24:00','2018-11-28 18:24:00',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (122,'Mobile','zugzil@ruzepid.aq',144,'2019-01-16 17:04:05','2019-01-16 18:04:05',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (123,'Email','kojvutmoz@nem.il',145,'2019-01-16 17:05:27','2019-01-16 18:05:27',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (125,'Email','otadisdu@koahju.gb',1,'2019-01-29 00:06:52','2019-01-28 01:52:34',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (126,'Telefon','(833) 772-7674',1,'2019-01-28 23:36:02','2019-01-28 02:00:16','2019-01-29 00:37:16'); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (127,'Email','cad@fed.no',93,'2019-01-28 14:04:58','2019-01-28 15:04:58',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (129,'Mobile','agugo@pavaso.kz',148,'2019-01-31 21:42:05','2019-01-31 22:42:05',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (130,'Email','ve@nihzuwwa.bz',148,'2019-01-31 21:42:05','2019-01-31 22:42:05',NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (147,'Mobile','kokejuz@lec.it',168,NULL,NULL,NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (148,'Email','foisi@durwo.pt',170,NULL,NULL,NULL); |
||||
INSERT INTO contact(id, type, value, person_id, changed, created, deleted) VALUES (149,'Email','af@necoj.ac',170,NULL,NULL,NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table deleted_entries |
||||
-- |
||||
-- INSERT INTO deleted_entries VALUES (1,'person',14,'2017-01-02 12:15:45','2017-01-02 13:15:45',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (2,'person',53,'2017-01-02 12:15:52','2017-01-02 13:15:52',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (3,'person',29,'2017-01-02 12:15:55','2017-01-02 13:15:55',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (4,'person',40,'2017-01-02 12:15:58','2017-01-02 13:15:58',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (5,'person',44,'2017-01-02 12:16:00','2017-01-02 13:16:00',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (6,'person',45,'2017-01-02 12:16:02','2017-01-02 13:16:02',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (7,'person',4,'2017-01-02 12:16:16','2017-01-02 13:16:16',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (8,'person',5,'2017-01-02 12:16:19','2017-01-02 13:16:19',NULL); |
||||
-- -- INSERT INTO deleted_entries VALUES (9,'person',34,'2017-01-02 12:16:31','2017-01-02 13:16:31',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (10,'person',42,'2017-01-02 12:16:43','2017-01-02 13:16:43',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (11,'person',19,'2017-01-02 12:17:03','2017-01-02 13:17:03',NULL); |
||||
-- -- INSERT INTO deleted_entries VALUES (12,'person',20,'2017-01-02 12:17:32','2017-01-02 13:17:32',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (13,'person',27,'2017-01-02 12:18:00','2017-01-02 13:18:00',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (14,'person',24,'2017-01-02 12:18:03','2017-01-02 13:18:03',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (15,'person',60,'2017-01-02 12:18:07','2017-01-02 13:18:07',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (16,'person',54,'2017-01-07 18:58:05','2017-01-07 19:58:05',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (17,'person',37,'2017-01-09 14:45:54','2017-01-09 15:45:54',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (18,'person',36,'2017-01-09 14:46:15','2017-01-09 15:46:15',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (19,'contact',15,'2017-03-05 22:17:44','2017-03-05 23:17:44',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (22,'person',22,'2018-01-03 19:25:41','2018-01-03 20:25:41',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (27,'contact',27,'2018-01-03 19:25:41','2018-01-03 20:25:41',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (28,'contact',28,'2018-01-03 19:25:41','2018-01-03 20:25:41',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (32,'contact',32,'2018-01-03 19:26:05','2018-01-03 20:26:05',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (33,'contact',33,'2018-01-03 19:26:05','2018-01-03 20:26:05',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (44,'contact',44,'2018-01-04 13:21:10','2018-01-04 14:21:10',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (45,'contact',45,'2018-01-04 13:21:10','2018-01-04 14:21:10',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (46,'contact',46,'2018-01-04 13:21:10','2018-01-04 14:21:10',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (47,'contact',47,'2018-01-04 13:21:10','2018-01-04 14:21:10',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (125,'person',125,'2018-06-26 04:35:25','2018-06-26 06:35:25',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (140,'person',140,'2018-05-01 12:35:34','2018-05-01 14:35:34',NULL); |
||||
-- INSERT INTO deleted_entries VALUES (141,'person',141,'2018-05-01 12:35:59','2018-05-01 14:35:59',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table startpaesse |
||||
-- |
||||
INSERT INTO startpaesse(id, person_id, startpass_nr, changed, created, deleted) VALUES (1,1,'90EFBTZ973',NULL,NULL,NULL); |
||||
INSERT INTO startpaesse(id, person_id, startpass_nr, changed, created, deleted) VALUES (2,32,'961VPTDV05',NULL,NULL,NULL); |
||||
INSERT INTO startpaesse(id, person_id, startpass_nr, changed, created, deleted) VALUES (3,134,'84I8BJBR08',NULL,NULL,NULL); |
||||
INSERT INTO startpaesse(id, person_id, startpass_nr, changed, created, deleted) VALUES (4,72,'328W3LUC09',NULL,NULL,NULL); |
||||
INSERT INTO startpaesse(id, person_id, startpass_nr, changed, created, deleted) VALUES (6,141,'71BDW73U07','2019-02-17 19:09:55','2019-02-17 20:09:55',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table notes |
||||
-- |
||||
INSERT INTO notes(id, person_id, notekey, notetext) VALUES (1,3,'','Eine Notzi zu Person x'); |
||||
INSERT INTO notes(id, person_id, notekey, notetext) VALUES (2,1,'','Eine Noziz zu Person y'); |
||||
INSERT INTO notes(id, person_id, notekey, notetext) VALUES (4,170,'','Email vom \n28.01.2020'); |
||||
|
||||
-- |
||||
-- Dumping data for table persongroup |
||||
-- |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (2,1,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (5,26,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (6,86,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (7,16,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (9,56,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (10,15,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (11,54,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (12,11,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (13,46,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (14,3,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (15,76,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (16,6,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (17,83,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (18,90,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (19,30,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (22,34,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (23,28,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (25,21,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (26,67,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (27,69,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (28,62,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (30,47,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (34,73,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (35,17,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (36,85,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (37,89,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (38,58,1,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (40,39,2,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (41,66,2,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (42,53,3,'2016-12-18 19:55:01','2016-12-18 20:55:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (44,82,1,'2016-12-18 19:55:02','2016-12-18 20:55:02',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (45,40,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (47,63,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (49,55,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (50,64,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (51,31,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (52,75,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (54,33,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (55,60,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (57,25,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (60,59,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (61,36,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (63,87,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (65,51,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (67,70,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (68,44,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (69,68,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (70,32,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (72,72,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (73,91,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (74,45,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (75,43,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (76,27,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (77,79,1,'2016-12-18 19:55:04','2016-12-18 20:55:04',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (78,20,1,'2016-12-18 19:55:05','2016-12-18 20:55:05',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (80,22,1,'2016-12-18 19:55:09','2016-12-18 20:55:09',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (81,23,1,'2016-12-18 19:55:09','2016-12-18 20:55:09',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (82,24,1,'2016-12-18 19:55:09','2016-12-18 20:55:09',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (86,18,1,'2016-12-18 19:55:10','2016-12-18 20:55:10',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (88,9,1,'2016-12-18 19:55:10','2016-12-18 20:55:10',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (89,13,1,'2016-12-18 19:55:10','2016-12-18 20:55:10',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (90,1,7,'2016-12-18 19:56:25','2016-12-18 20:56:25',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (91,37,1,'2016-12-19 15:22:52','2016-12-19 16:22:52',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (92,14,6,'2016-12-19 15:23:20','2016-12-19 16:23:20',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (93,29,6,'2016-12-21 20:14:43','2016-12-21 21:14:43',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (94,1,8,'2016-12-31 15:37:37','2016-12-31 16:37:37',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (96,3,3,'2017-01-09 14:46:37','2017-01-09 15:46:37',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (97,57,2,'2017-01-09 14:47:21','2017-01-09 15:47:21',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (98,76,2,'2017-01-09 15:06:51','2017-01-09 16:06:51',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (99,92,3,'2017-01-16 11:32:54','2017-01-16 12:32:54',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (104,120,1,'2017-09-04 20:17:36','2017-09-04 22:17:36',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (105,119,1,'2017-09-04 20:17:36','2017-09-04 22:17:36',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (108,122,1,'2017-11-05 12:47:52','2017-11-05 13:47:52',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (110,124,1,'2018-01-17 17:44:31','2018-01-17 18:44:31',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (112,126,1,'2018-01-17 17:47:42','2018-01-17 18:47:42',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (113,127,1,'2018-01-17 17:49:08','2018-01-17 18:49:08',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (114,128,1,'2018-01-17 17:50:50','2018-01-17 18:50:50',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (115,129,1,'2018-01-17 17:51:53','2018-01-17 18:51:53',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (116,130,1,'2018-01-17 17:53:32','2018-01-17 18:53:32',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (117,131,1,'2018-02-07 19:09:39','2018-02-07 20:09:39',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (118,132,1,'2018-02-07 19:11:26','2018-02-07 20:11:26',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (119,133,1,'2018-02-21 17:31:59','2018-02-21 18:31:59',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (120,134,1,'2018-02-21 17:33:19','2018-02-21 18:33:19',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (121,135,1,'2018-02-21 17:34:59','2018-02-21 18:34:59',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (122,136,1,'2018-02-21 17:36:57','2018-02-21 18:36:57',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (125,138,1,'2018-04-22 17:05:07','2018-04-22 19:05:07',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (126,139,1,'2018-04-22 17:06:58','2018-04-22 19:06:58',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (127,140,1,'2018-06-20 15:57:01','2018-06-20 17:57:01',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (129,141,1,'2018-06-25 15:04:40','2018-06-25 17:04:40',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (130,141,7,'2018-06-25 15:04:40','2018-06-25 17:04:40',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (131,142,1,'2018-11-28 17:21:08','2018-11-28 18:21:08',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (133,143,1,'2018-11-28 17:23:32','2018-11-28 18:23:32',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (134,1,3,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (135,32,7,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (136,51,9,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (137,51,8,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (138,51,3,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (139,52,2,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (140,52,9,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (141,134,7,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (142,81,2,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (143,78,2,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (146,144,1,'2019-01-16 17:03:41','2019-01-16 18:03:41',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (147,145,1,'2019-01-16 17:05:03','2019-01-16 18:05:03',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (149,2,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (150,8,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (151,9,3,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (152,4,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (153,7,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (154,5,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (155,32,3,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (156,121,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (157,72,7,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (158,123,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (159,48,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (160,42,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (161,74,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (162,50,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (163,77,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (164,51,7,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (165,49,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (166,71,2,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (167,19,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (168,61,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (169,41,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (170,53,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (171,38,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (172,35,6,NULL,NULL,NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (181,10,6,'2019-08-08 17:41:23','2019-08-08 19:41:23',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (182,12,6,'2019-08-08 17:41:36','2019-08-08 19:41:36',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (183,65,6,'2019-08-08 18:17:53','2019-08-08 20:17:53',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (185,3,6,'2019-08-11 00:19:10','2019-08-11 02:19:10',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (197,84,6,'2019-08-16 16:55:09','2019-08-16 18:55:09',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (233,165,1,'2019-08-17 16:24:35','2019-08-17 18:24:35',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (234,165,3,'2019-08-17 16:24:46','2019-08-17 18:24:46',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (237,166,1,'2019-08-17 16:45:13','2019-08-17 18:45:13',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (238,166,3,'2019-08-17 16:45:18','2019-08-17 18:45:18',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (241,166,9,'2019-08-17 16:45:57','2019-08-17 18:45:57',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (242,167,1,'2019-08-20 00:36:06','2019-08-20 02:36:06',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (243,168,1,'2019-08-20 01:14:52','2019-08-20 03:14:52',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (244,168,7,'2019-08-20 01:16:08','2019-08-20 03:16:08',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (245,93,6,'2019-09-24 05:49:25','2019-09-24 07:49:25',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (246,137,6,'2019-09-24 05:49:34','2019-09-24 07:49:34',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (247,148,6,'2019-09-24 05:49:56','2019-09-24 07:49:56',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (248,169,2,'2020-01-28 18:53:17','2020-01-28 19:53:17',NULL); |
||||
INSERT INTO persongroup(id, person_id, group_id, changed, created, deleted) VALUES (249,170,10,'2020-01-28 19:07:00','2020-01-28 20:07:00',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table relative |
||||
-- |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (1,51,1,'RELATIONSHIP','RELATIONSHIP','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (2,4,5,'SIBLINGS','SIBLINGS','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (3,52,17,'PARENT','CHILD','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (4,8,9,'SIBLINGS','SIBLINGS','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (5,53,29,'PARENT','CHILD','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (6,35,55,'CHILD','PARENT','2015-08-31 20:26:16','2015-08-31 22:26:16','2018-01-04 14:21:10'); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (7,57,41,'PARENT','CHILD','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (8,58,41,'PARENT','CHILD','2015-08-31 20:26:16','2015-08-31 22:26:16',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (9,58,57,'RELATIONSHIP','RELATIONSHIP','2015-08-31 20:26:17','2015-08-31 22:26:17',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (10,60,30,'SIBLINGS','SIBLINGS','2015-08-31 20:26:17','2015-08-31 22:26:17',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (11,66,65,'CHILD','PARENT','2015-08-31 20:26:17','2015-08-31 22:26:17',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (12,68,67,'PARENT','CHILD','2015-08-31 20:26:17','2015-08-31 22:26:17',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (13,70,69,'PARENT','CHILD','2015-08-31 20:26:17','2015-08-31 22:26:17',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (14,71,61,'PARENT','CHILD','2015-08-31 20:26:17','2015-08-31 22:26:17',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (15,73,72,'PARENT','CHILD','2015-09-21 15:19:21','2015-09-21 17:19:21',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (16,76,75,'PARENT','CHILD','2016-01-27 17:22:31','2016-01-27 18:22:31',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (17,78,77,'PARENT','CHILD','2016-02-28 17:32:37','2016-02-28 18:32:37',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (19,87,83,'SIBLINGS','SIBLINGS','2016-04-13 17:15:19','2016-04-13 19:15:19',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (20,86,83,'SIBLINGS','SIBLINGS','2016-04-13 17:16:29','2016-04-13 19:16:29',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (22,90,91,'CHILD','PARENT','2016-05-04 15:06:59','2016-05-04 17:06:59',NULL); |
||||
INSERT INTO relative(id, person1, person2, TO_PERSON1_RELATION, TO_PERSON2_RELATION, changed, created, deleted) VALUES (23,50,3,'SIBLINGS','SIBLINGS','2016-05-10 06:45:57','2016-05-10 08:45:57',NULL); |
||||
|
||||
-- |
||||
-- Dumping data for table version |
||||
-- |
||||
|
||||
INSERT INTO version(id, version, deleted) VALUES (1,10,NULL); |
||||
@ -0,0 +1,297 @@ |
||||
-- MySQL dump 10.13 Distrib 8.0.20, for Win64 (x86_64) |
||||
-- |
||||
-- ------------------------------------------------------ |
||||
|
||||
-- |
||||
-- Table structure for table groupdef |
||||
-- |
||||
-- DROP TABLE IF EXISTS groupdef; |
||||
CREATE TABLE groupdef ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
name varchar(255) NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
UNIQUE KEY groupname_UNIQUE (name) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table person |
||||
-- |
||||
-- DROP TABLE IF EXISTS person; |
||||
CREATE TABLE person ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
prename varchar(255) NOT NULL, |
||||
surname varchar(255) DEFAULT NULL, |
||||
birth datetime DEFAULT NULL, |
||||
gender smallint DEFAULT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
username varchar(255) DEFAULT NULL, |
||||
password varchar(255) DEFAULT NULL, |
||||
PRIMARY KEY (id) |
||||
); |
||||
|
||||
|
||||
-- |
||||
-- Table structure for table `contact` |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS contact; |
||||
CREATE TABLE contact ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
type varchar(255) NOT NULL, |
||||
value varchar(255) DEFAULT NULL, |
||||
person_id int NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT contact_ibfk_1 FOREIGN KEY (person_id) REFERENCES person (id) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table clubevent |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS clubevent; |
||||
CREATE TABLE clubevent ( |
||||
id varchar(250) NOT NULL, |
||||
location varchar(255) DEFAULT NULL, |
||||
ICALUID varchar(150) DEFAULT NULL, |
||||
organizerDisplayName varchar(150) DEFAULT NULL, |
||||
caption varchar(150) DEFAULT NULL, |
||||
description varchar(500) DEFAULT NULL, |
||||
start datetime DEFAULT NULL, |
||||
end datetime DEFAULT NULL, |
||||
allDay smallint DEFAULT NULL, |
||||
deleted smallint NOT NULL DEFAULT 0, |
||||
PRIMARY KEY (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table pflichten |
||||
-- |
||||
-- DROP TABLE IF EXISTS pflichten; |
||||
CREATE TABLE pflichten ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
name varchar(45) NOT NULL, |
||||
fixed tinyint DEFAULT NULL, |
||||
ordered int NOT NULL, |
||||
comment varchar(500) DEFAULT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
UNIQUE KEY name_UNIQUE (name) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table adress |
||||
-- |
||||
-- DROP TABLE IF EXISTS adress; |
||||
CREATE TABLE adress ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
adress1 varchar(255) DEFAULT NULL, |
||||
adress2 varchar(255) DEFAULT NULL, |
||||
plz varchar(255) DEFAULT NULL, |
||||
city varchar(255) DEFAULT NULL, |
||||
person_id int NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT adress_ibfk_1 FOREIGN KEY (person_id) REFERENCES person (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table altersgruppe |
||||
-- |
||||
-- DROP TABLE IF EXISTS altersgruppe; |
||||
CREATE TABLE altersgruppe ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
event_id varchar(250) NOT NULL, |
||||
pflicht_id int DEFAULT NULL, |
||||
bezeichnung varchar(100) NOT NULL, |
||||
start int DEFAULT NULL, |
||||
end varchar(45) DEFAULT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT fk_altersgruppe_event FOREIGN KEY (event_id) REFERENCES clubevent (id), |
||||
CONSTRAINT fk_altersgruppe_pflicht FOREIGN KEY (pflicht_id) REFERENCES pflichten (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table attendance |
||||
-- |
||||
-- DROP TABLE IF EXISTS attendance; |
||||
CREATE TABLE attendance ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
on_date datetime DEFAULT NULL, |
||||
person_id int NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
UNIQUE KEY UNIQUE_person_id_on_date (person_id,on_date), |
||||
CONSTRAINT attendance_ibfk_1 FOREIGN KEY (person_id) REFERENCES person (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table clubevent_addon |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS clubevent_addon; |
||||
CREATE TABLE clubevent_addon ( |
||||
id varchar(250) NOT NULL, |
||||
competition_type varchar(45) NOT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT fk_event_addon_id FOREIGN KEY (id) REFERENCES clubevent (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table clubevent_has_person |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS clubevent_has_person; |
||||
CREATE TABLE clubevent_has_person ( |
||||
clubevent_id varchar(250) NOT NULL, |
||||
person_id int NOT NULL, |
||||
comment varchar(250) NOT NULL, |
||||
PRIMARY KEY (clubevent_id,person_id), |
||||
CONSTRAINT fk_clubevent_has_person_clubevent1 FOREIGN KEY (clubevent_id) REFERENCES clubevent (id), |
||||
CONSTRAINT fk_clubevent_has_person_person1 FOREIGN KEY (person_id) REFERENCES person (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table deleted_entries |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS deleted_entries; |
||||
CREATE TABLE deleted_entries ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
tablename varchar(25) NOT NULL, |
||||
entryId int NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table event_has_altersgruppe |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS event_has_altersgruppe; |
||||
CREATE TABLE event_has_altersgruppe ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
event_id varchar(250) NOT NULL, |
||||
altersgruppe_id int NOT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT fk_event_has_altersgruppe_altersgruppe FOREIGN KEY (altersgruppe_id) REFERENCES altersgruppe (id), |
||||
CONSTRAINT fk_event_has_altersgruppe_event FOREIGN KEY (event_id) REFERENCES clubevent (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table notes |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS notes; |
||||
CREATE TABLE notes ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
person_id int NOT NULL, |
||||
notekey varchar(25) DEFAULT NULL, |
||||
notetext varchar(2000) DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT fk_notes_person FOREIGN KEY (person_id) REFERENCES person (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table persongroup |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS persongroup; |
||||
CREATE TABLE persongroup ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
person_id int NOT NULL, |
||||
group_id int NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
UNIQUE KEY unique_person_group (person_id,group_id), |
||||
CONSTRAINT persongroup_ibfk_1 FOREIGN KEY (person_id) REFERENCES person (id), |
||||
CONSTRAINT persongroup_ibfk_2 FOREIGN KEY (group_id) REFERENCES groupdef (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table relative |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS relative; |
||||
CREATE TABLE relative ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
person1 int NOT NULL, |
||||
person2 int NOT NULL, |
||||
TO_PERSON1_RELATION varchar(255) DEFAULT NULL, |
||||
TO_PERSON2_RELATION varchar(255) DEFAULT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT relative_ibfk_1 FOREIGN KEY (person1) REFERENCES person (id), |
||||
CONSTRAINT relative_ibfk_2 FOREIGN KEY (person2) REFERENCES person (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table startpaesse |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS startpaesse; |
||||
CREATE TABLE startpaesse ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
person_id int NOT NULL, |
||||
startpass_nr varchar(25) NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
UNIQUE KEY startpass_nr (startpass_nr), |
||||
CONSTRAINT startpaesse_ibfk_1 FOREIGN KEY (person_id) REFERENCES person (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table startpass_startrechte |
||||
-- |
||||
|
||||
-- DROP TABLE IF EXISTS startpass_startrechte; |
||||
CREATE TABLE startpass_startrechte ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
startpass_id int NOT NULL, |
||||
verein_name varchar(100) NOT NULL, |
||||
fachgebiet varchar(25) NOT NULL, |
||||
startrecht_beginn datetime NOT NULL, |
||||
startrecht_ende datetime NOT NULL, |
||||
changed timestamp NULL DEFAULT CURRENT_TIMESTAMP, |
||||
created datetime DEFAULT CURRENT_TIMESTAMP, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id), |
||||
CONSTRAINT startpass_startrechte_ibfk_1 FOREIGN KEY (startpass_id) REFERENCES startpaesse (id) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table version |
||||
-- |
||||
-- DROP TABLE IF EXISTS version; |
||||
CREATE TABLE version ( |
||||
id int NOT NULL AUTO_INCREMENT, |
||||
version int NOT NULL, |
||||
deleted datetime DEFAULT NULL, |
||||
PRIMARY KEY (id) |
||||
); |
||||
|
||||
-- Dump completed |
||||
@ -0,0 +1,303 @@ |
||||
-- MySQL dump 10.13 Distrib 8.0.20, for Win64 (x86_64) |
||||
-- |
||||
-- ------------------------------------------------------ |
||||
-- |
||||
-- Table structure for table `adress` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `adress`; |
||||
CREATE TABLE `adress` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`adress1` varchar(255) DEFAULT NULL, |
||||
`adress2` varchar(255) DEFAULT NULL, |
||||
`plz` varchar(255) DEFAULT NULL, |
||||
`city` varchar(255) DEFAULT NULL, |
||||
`person_id` int NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
KEY `person_id` (`person_id`), |
||||
CONSTRAINT `adress_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `altersgruppe` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `altersgruppe`; |
||||
CREATE TABLE `altersgruppe` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`event_id` varchar(250) NOT NULL, |
||||
`pflicht_id` int DEFAULT NULL, |
||||
`bezeichnung` varchar(100) NOT NULL, |
||||
`start` int DEFAULT NULL, |
||||
`end` varchar(45) DEFAULT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
KEY `fk_altersgruppe_pflicht_idx` (`pflicht_id`), |
||||
KEY `fk_altersgruppe_event_idx` (`event_id`), |
||||
CONSTRAINT `fk_altersgruppe_event` FOREIGN KEY (`event_id`) REFERENCES `clubevent` (`id`), |
||||
CONSTRAINT `fk_altersgruppe_pflicht` FOREIGN KEY (`pflicht_id`) REFERENCES `pflichten` (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `attendance` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `attendance`; |
||||
CREATE TABLE `attendance` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`on_date` datetime DEFAULT NULL, |
||||
`person_id` int NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
UNIQUE KEY `UNIQUE_person_id_on_date` (`person_id`,`on_date`), |
||||
CONSTRAINT `attendance_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `clubevent` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `clubevent`; |
||||
CREATE TABLE `clubevent` ( |
||||
`id` varchar(250) NOT NULL, |
||||
`location` varchar(255) DEFAULT NULL, |
||||
`iCalUID` varchar(150) DEFAULT NULL, |
||||
`organizerDisplayName` varchar(150) DEFAULT NULL, |
||||
`caption` varchar(150) DEFAULT NULL, |
||||
`description` varchar(500) DEFAULT NULL, |
||||
`start` datetime DEFAULT NULL, |
||||
`end` datetime DEFAULT NULL, |
||||
`allDay` smallint DEFAULT NULL, |
||||
`deleted` smallint NOT NULL DEFAULT '0', |
||||
PRIMARY KEY (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `clubevent_addon` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `clubevent_addon`; |
||||
CREATE TABLE `clubevent_addon` ( |
||||
`id` varchar(250) NOT NULL, |
||||
`competition_type` varchar(45) NOT NULL, |
||||
PRIMARY KEY (`id`), |
||||
CONSTRAINT `fk_event_addon_id` FOREIGN KEY (`id`) REFERENCES `clubevent` (`id`) ON DELETE CASCADE |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `clubevent_has_person` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `clubevent_has_person`; |
||||
CREATE TABLE `clubevent_has_person` ( |
||||
`clubevent_id` varchar(250) NOT NULL, |
||||
`person_id` int NOT NULL, |
||||
`comment` varchar(250) NOT NULL DEFAULT '', |
||||
PRIMARY KEY (`clubevent_id`,`person_id`), |
||||
KEY `fk_clubevent_has_person_person1_idx` (`person_id`), |
||||
KEY `fk_clubevent_has_person_clubevent1_idx` (`clubevent_id`), |
||||
CONSTRAINT `fk_clubevent_has_person_clubevent1` FOREIGN KEY (`clubevent_id`) REFERENCES `clubevent` (`id`), |
||||
CONSTRAINT `fk_clubevent_has_person_person1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `deleted_entries` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `deleted_entries`; |
||||
CREATE TABLE `deleted_entries` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`tablename` varchar(25) NOT NULL, |
||||
`entryId` int NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `event_has_altersgruppe` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `event_has_altersgruppe`; |
||||
CREATE TABLE `event_has_altersgruppe` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`event_id` varchar(250) NOT NULL, |
||||
`altersgruppe_id` int NOT NULL, |
||||
PRIMARY KEY (`id`), |
||||
KEY `fk_event_has_altersgruppe_event_idx` (`event_id`), |
||||
KEY `fk_event_has_altersgruppe_altersgruppe_idx` (`altersgruppe_id`), |
||||
CONSTRAINT `fk_event_has_altersgruppe_altersgruppe` FOREIGN KEY (`altersgruppe_id`) REFERENCES `altersgruppe` (`id`), |
||||
CONSTRAINT `fk_event_has_altersgruppe_event` FOREIGN KEY (`event_id`) REFERENCES `clubevent` (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `groupdef` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `groupdef`; |
||||
CREATE TABLE `groupdef` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`name` varchar(255) NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
UNIQUE KEY `groupname_UNIQUE` (`name`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `notes` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `notes`; |
||||
CREATE TABLE `notes` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`person_id` int NOT NULL, |
||||
`notekey` varchar(25) DEFAULT NULL, |
||||
`notetext` varchar(2000) DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
KEY `fk_notes_person` (`person_id`), |
||||
CONSTRAINT `fk_notes_person` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `person` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `person`; |
||||
CREATE TABLE `person` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`prename` varchar(255) NOT NULL, |
||||
`surname` varchar(255) DEFAULT NULL, |
||||
`birth` datetime DEFAULT NULL, |
||||
`gender` smallint DEFAULT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
`username` varchar(255) DEFAULT NULL, |
||||
`password` varchar(255) DEFAULT NULL, |
||||
PRIMARY KEY (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `persongroup` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `persongroup`; |
||||
CREATE TABLE `persongroup` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`person_id` int NOT NULL, |
||||
`group_id` int NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
UNIQUE KEY `unique_person_group` (`person_id`,`group_id`), |
||||
KEY `group_id` (`group_id`), |
||||
CONSTRAINT `persongroup_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT, |
||||
CONSTRAINT `persongroup_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `groupdef` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `pflichten` |
||||
-- |
||||
DROP TABLE IF EXISTS `pflichten`; |
||||
CREATE TABLE `pflichten` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`name` varchar(45) NOT NULL, |
||||
`fixed` tinyint DEFAULT NULL, |
||||
`ordered` int NOT NULL, |
||||
`comment` varchar(500) DEFAULT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
UNIQUE KEY `name_UNIQUE` (`name`) |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `relative` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `relative`; |
||||
CREATE TABLE `relative` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`person1` int NOT NULL, |
||||
`person2` int NOT NULL, |
||||
`TO_PERSON1_RELATION` varchar(255) DEFAULT NULL, |
||||
`TO_PERSON2_RELATION` varchar(255) DEFAULT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
KEY `person1` (`person1`), |
||||
KEY `person2` (`person2`), |
||||
CONSTRAINT `relative_ibfk_1` FOREIGN KEY (`person1`) REFERENCES `person` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT, |
||||
CONSTRAINT `relative_ibfk_2` FOREIGN KEY (`person2`) REFERENCES `person` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `startpaesse` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `startpaesse`; |
||||
CREATE TABLE `startpaesse` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`person_id` int NOT NULL, |
||||
`startpass_nr` varchar(25) NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
UNIQUE KEY `startpass_nr` (`startpass_nr`), |
||||
KEY `person_id` (`person_id`), |
||||
CONSTRAINT `startpaesse_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `startpass_startrechte` |
||||
-- |
||||
|
||||
DROP TABLE IF EXISTS `startpass_startrechte`; |
||||
CREATE TABLE `startpass_startrechte` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`startpass_id` int NOT NULL, |
||||
`verein_name` varchar(100) NOT NULL, |
||||
`fachgebiet` varchar(25) NOT NULL, |
||||
`startrecht_beginn` datetime NOT NULL, |
||||
`startrecht_ende` datetime NOT NULL, |
||||
`changed` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
||||
`created` datetime DEFAULT CURRENT_TIMESTAMP, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`), |
||||
KEY `startpass_id` (`startpass_id`), |
||||
CONSTRAINT `startpass_startrechte_ibfk_1` FOREIGN KEY (`startpass_id`) REFERENCES `startpaesse` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT |
||||
); |
||||
|
||||
-- |
||||
-- Table structure for table `version` |
||||
-- |
||||
DROP TABLE IF EXISTS `version`; |
||||
CREATE TABLE `version` ( |
||||
`id` int NOT NULL AUTO_INCREMENT, |
||||
`version` int NOT NULL, |
||||
`deleted` datetime DEFAULT NULL, |
||||
PRIMARY KEY (`id`) |
||||
); |
||||
|
||||
-- |
||||
-- Dumping data for table `version` |
||||
-- |
||||
|
||||
INSERT INTO `version` VALUES (1,10,NULL); |
||||
|
||||
|
||||
-- Dump completed |
||||
Loading…
Reference in new issue