added missing classes
This commit is contained in:
parent
467cd5aa45
commit
3890720dae
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -22,7 +22,7 @@ apply plugin: 'java'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
group = 'de.jottyfan'
|
||||
version = '2023.12'
|
||||
version = '2023.12.1'
|
||||
|
||||
description = """COJooq"""
|
||||
|
||||
@ -76,7 +76,7 @@ jooq {
|
||||
deprecated = false
|
||||
relations = true
|
||||
records = true
|
||||
immutablePojos = false
|
||||
immutablePojos = true
|
||||
fluentSetters = true
|
||||
}
|
||||
target {
|
||||
|
@ -0,0 +1,282 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TCamp implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String name;
|
||||
private final LocalDateTime arrive;
|
||||
private final LocalDateTime depart;
|
||||
private final Integer fkLocation;
|
||||
private final Integer minAge;
|
||||
private final Integer maxAge;
|
||||
private final String price;
|
||||
private final String countries;
|
||||
private final Integer fkDocument;
|
||||
private final Boolean lockSales;
|
||||
private final Integer fkProfile;
|
||||
|
||||
public TCamp(TCamp value) {
|
||||
this.pk = value.pk;
|
||||
this.name = value.name;
|
||||
this.arrive = value.arrive;
|
||||
this.depart = value.depart;
|
||||
this.fkLocation = value.fkLocation;
|
||||
this.minAge = value.minAge;
|
||||
this.maxAge = value.maxAge;
|
||||
this.price = value.price;
|
||||
this.countries = value.countries;
|
||||
this.fkDocument = value.fkDocument;
|
||||
this.lockSales = value.lockSales;
|
||||
this.fkProfile = value.fkProfile;
|
||||
}
|
||||
|
||||
public TCamp(
|
||||
Integer pk,
|
||||
String name,
|
||||
LocalDateTime arrive,
|
||||
LocalDateTime depart,
|
||||
Integer fkLocation,
|
||||
Integer minAge,
|
||||
Integer maxAge,
|
||||
String price,
|
||||
String countries,
|
||||
Integer fkDocument,
|
||||
Boolean lockSales,
|
||||
Integer fkProfile
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.name = name;
|
||||
this.arrive = arrive;
|
||||
this.depart = depart;
|
||||
this.fkLocation = fkLocation;
|
||||
this.minAge = minAge;
|
||||
this.maxAge = maxAge;
|
||||
this.price = price;
|
||||
this.countries = countries;
|
||||
this.fkDocument = fkDocument;
|
||||
this.lockSales = lockSales;
|
||||
this.fkProfile = fkProfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.arrive</code>.
|
||||
*/
|
||||
public LocalDateTime getArrive() {
|
||||
return this.arrive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.depart</code>.
|
||||
*/
|
||||
public LocalDateTime getDepart() {
|
||||
return this.depart;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.fk_location</code>.
|
||||
*/
|
||||
public Integer getFkLocation() {
|
||||
return this.fkLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.min_age</code>.
|
||||
*/
|
||||
public Integer getMinAge() {
|
||||
return this.minAge;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.max_age</code>.
|
||||
*/
|
||||
public Integer getMaxAge() {
|
||||
return this.maxAge;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.price</code>.
|
||||
*/
|
||||
public String getPrice() {
|
||||
return this.price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.countries</code>.
|
||||
*/
|
||||
public String getCountries() {
|
||||
return this.countries;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.lock_sales</code>.
|
||||
*/
|
||||
public Boolean getLockSales() {
|
||||
return this.lockSales;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_camp.fk_profile</code>.
|
||||
*/
|
||||
public Integer getFkProfile() {
|
||||
return this.fkProfile;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TCamp other = (TCamp) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.arrive == null) {
|
||||
if (other.arrive != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.arrive.equals(other.arrive))
|
||||
return false;
|
||||
if (this.depart == null) {
|
||||
if (other.depart != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.depart.equals(other.depart))
|
||||
return false;
|
||||
if (this.fkLocation == null) {
|
||||
if (other.fkLocation != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkLocation.equals(other.fkLocation))
|
||||
return false;
|
||||
if (this.minAge == null) {
|
||||
if (other.minAge != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.minAge.equals(other.minAge))
|
||||
return false;
|
||||
if (this.maxAge == null) {
|
||||
if (other.maxAge != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.maxAge.equals(other.maxAge))
|
||||
return false;
|
||||
if (this.price == null) {
|
||||
if (other.price != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.price.equals(other.price))
|
||||
return false;
|
||||
if (this.countries == null) {
|
||||
if (other.countries != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.countries.equals(other.countries))
|
||||
return false;
|
||||
if (this.fkDocument == null) {
|
||||
if (other.fkDocument != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkDocument.equals(other.fkDocument))
|
||||
return false;
|
||||
if (this.lockSales == null) {
|
||||
if (other.lockSales != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.lockSales.equals(other.lockSales))
|
||||
return false;
|
||||
if (this.fkProfile == null) {
|
||||
if (other.fkProfile != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkProfile.equals(other.fkProfile))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.arrive == null) ? 0 : this.arrive.hashCode());
|
||||
result = prime * result + ((this.depart == null) ? 0 : this.depart.hashCode());
|
||||
result = prime * result + ((this.fkLocation == null) ? 0 : this.fkLocation.hashCode());
|
||||
result = prime * result + ((this.minAge == null) ? 0 : this.minAge.hashCode());
|
||||
result = prime * result + ((this.maxAge == null) ? 0 : this.maxAge.hashCode());
|
||||
result = prime * result + ((this.price == null) ? 0 : this.price.hashCode());
|
||||
result = prime * result + ((this.countries == null) ? 0 : this.countries.hashCode());
|
||||
result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
|
||||
result = prime * result + ((this.lockSales == null) ? 0 : this.lockSales.hashCode());
|
||||
result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TCamp (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(arrive);
|
||||
sb.append(", ").append(depart);
|
||||
sb.append(", ").append(fkLocation);
|
||||
sb.append(", ").append(minAge);
|
||||
sb.append(", ").append(maxAge);
|
||||
sb.append(", ").append(price);
|
||||
sb.append(", ").append(countries);
|
||||
sb.append(", ").append(fkDocument);
|
||||
sb.append(", ").append(lockSales);
|
||||
sb.append(", ").append(fkProfile);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TCampdocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final Integer fkCamp;
|
||||
private final Integer fkDocument;
|
||||
|
||||
public TCampdocument(TCampdocument value) {
|
||||
this.pk = value.pk;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.fkDocument = value.fkDocument;
|
||||
}
|
||||
|
||||
public TCampdocument(
|
||||
Integer pk,
|
||||
Integer fkCamp,
|
||||
Integer fkDocument
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.fkCamp = fkCamp;
|
||||
this.fkDocument = fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campdocument.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campdocument.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campdocument.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TCampdocument other = (TCampdocument) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.fkDocument == null) {
|
||||
if (other.fkDocument != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkDocument.equals(other.fkDocument))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TCampdocument (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(fkDocument);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TCampprofile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final Integer fkProfile;
|
||||
private final Integer fkCamp;
|
||||
private final EnumModule module;
|
||||
|
||||
public TCampprofile(TCampprofile value) {
|
||||
this.pk = value.pk;
|
||||
this.fkProfile = value.fkProfile;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.module = value.module;
|
||||
}
|
||||
|
||||
public TCampprofile(
|
||||
Integer pk,
|
||||
Integer fkProfile,
|
||||
Integer fkCamp,
|
||||
EnumModule module
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.fkProfile = fkProfile;
|
||||
this.fkCamp = fkCamp;
|
||||
this.module = module;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campprofile.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campprofile.fk_profile</code>.
|
||||
*/
|
||||
public Integer getFkProfile() {
|
||||
return this.fkProfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campprofile.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_campprofile.module</code>.
|
||||
*/
|
||||
public EnumModule getModule() {
|
||||
return this.module;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TCampprofile other = (TCampprofile) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.fkProfile == null) {
|
||||
if (other.fkProfile != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkProfile.equals(other.fkProfile))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.module == null) {
|
||||
if (other.module != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.module.equals(other.module))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.module == null) ? 0 : this.module.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TCampprofile (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(fkProfile);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(module);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final EnumDocument doctype;
|
||||
private final String name;
|
||||
private final String document;
|
||||
private final EnumFiletype filetype;
|
||||
|
||||
public TDocument(TDocument value) {
|
||||
this.pk = value.pk;
|
||||
this.doctype = value.doctype;
|
||||
this.name = value.name;
|
||||
this.document = value.document;
|
||||
this.filetype = value.filetype;
|
||||
}
|
||||
|
||||
public TDocument(
|
||||
Integer pk,
|
||||
EnumDocument doctype,
|
||||
String name,
|
||||
String document,
|
||||
EnumFiletype filetype
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.doctype = doctype;
|
||||
this.name = name;
|
||||
this.document = document;
|
||||
this.filetype = filetype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_document.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_document.doctype</code>.
|
||||
*/
|
||||
public EnumDocument getDoctype() {
|
||||
return this.doctype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_document.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_document.document</code>.
|
||||
*/
|
||||
public String getDocument() {
|
||||
return this.document;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_document.filetype</code>.
|
||||
*/
|
||||
public EnumFiletype getFiletype() {
|
||||
return this.filetype;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TDocument other = (TDocument) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.doctype == null) {
|
||||
if (other.doctype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.doctype.equals(other.doctype))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.document == null) {
|
||||
if (other.document != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.document.equals(other.document))
|
||||
return false;
|
||||
if (this.filetype == null) {
|
||||
if (other.filetype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.filetype.equals(other.filetype))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.doctype == null) ? 0 : this.doctype.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
|
||||
result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TDocument (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(doctype);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(document);
|
||||
sb.append(", ").append(filetype);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TDocumentrole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final Integer fkDocument;
|
||||
private final EnumCamprole camprole;
|
||||
|
||||
public TDocumentrole(TDocumentrole value) {
|
||||
this.pk = value.pk;
|
||||
this.fkDocument = value.fkDocument;
|
||||
this.camprole = value.camprole;
|
||||
}
|
||||
|
||||
public TDocumentrole(
|
||||
Integer pk,
|
||||
Integer fkDocument,
|
||||
EnumCamprole camprole
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.fkDocument = fkDocument;
|
||||
this.camprole = camprole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_documentrole.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_documentrole.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_documentrole.camprole</code>.
|
||||
*/
|
||||
public EnumCamprole getCamprole() {
|
||||
return this.camprole;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TDocumentrole other = (TDocumentrole) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.fkDocument == null) {
|
||||
if (other.fkDocument != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkDocument.equals(other.fkDocument))
|
||||
return false;
|
||||
if (this.camprole == null) {
|
||||
if (other.camprole != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.camprole.equals(other.camprole))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
|
||||
result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TDocumentrole (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(fkDocument);
|
||||
sb.append(", ").append(camprole);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TLocation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String name;
|
||||
private final String url;
|
||||
private final Integer fkDocument;
|
||||
|
||||
public TLocation(TLocation value) {
|
||||
this.pk = value.pk;
|
||||
this.name = value.name;
|
||||
this.url = value.url;
|
||||
this.fkDocument = value.fkDocument;
|
||||
}
|
||||
|
||||
public TLocation(
|
||||
Integer pk,
|
||||
String name,
|
||||
String url,
|
||||
Integer fkDocument
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.name = name;
|
||||
this.url = url;
|
||||
this.fkDocument = fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_location.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_location.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_location.url</code>.
|
||||
*/
|
||||
public String getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_location.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TLocation other = (TLocation) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.url == null) {
|
||||
if (other.url != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.url.equals(other.url))
|
||||
return false;
|
||||
if (this.fkDocument == null) {
|
||||
if (other.fkDocument != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkDocument.equals(other.fkDocument))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.url == null) ? 0 : this.url.hashCode());
|
||||
result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TLocation (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(url);
|
||||
sb.append(", ").append(fkDocument);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,439 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TPerson implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String forename;
|
||||
private final String surname;
|
||||
private final String street;
|
||||
private final String zip;
|
||||
private final String city;
|
||||
private final String phone;
|
||||
private final LocalDate birthdate;
|
||||
private final EnumCamprole camprole;
|
||||
private final String email;
|
||||
private final Integer fkCamp;
|
||||
private final Integer fkProfile;
|
||||
private final Boolean accept;
|
||||
private final LocalDateTime created;
|
||||
private final EnumSex sex;
|
||||
private final Integer fkRegistrator;
|
||||
private final BigDecimal paid;
|
||||
private final String comment;
|
||||
private final Boolean consentCatalogPhoto;
|
||||
private final BigDecimal requiredPrice;
|
||||
|
||||
public TPerson(TPerson value) {
|
||||
this.pk = value.pk;
|
||||
this.forename = value.forename;
|
||||
this.surname = value.surname;
|
||||
this.street = value.street;
|
||||
this.zip = value.zip;
|
||||
this.city = value.city;
|
||||
this.phone = value.phone;
|
||||
this.birthdate = value.birthdate;
|
||||
this.camprole = value.camprole;
|
||||
this.email = value.email;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.fkProfile = value.fkProfile;
|
||||
this.accept = value.accept;
|
||||
this.created = value.created;
|
||||
this.sex = value.sex;
|
||||
this.fkRegistrator = value.fkRegistrator;
|
||||
this.paid = value.paid;
|
||||
this.comment = value.comment;
|
||||
this.consentCatalogPhoto = value.consentCatalogPhoto;
|
||||
this.requiredPrice = value.requiredPrice;
|
||||
}
|
||||
|
||||
public TPerson(
|
||||
Integer pk,
|
||||
String forename,
|
||||
String surname,
|
||||
String street,
|
||||
String zip,
|
||||
String city,
|
||||
String phone,
|
||||
LocalDate birthdate,
|
||||
EnumCamprole camprole,
|
||||
String email,
|
||||
Integer fkCamp,
|
||||
Integer fkProfile,
|
||||
Boolean accept,
|
||||
LocalDateTime created,
|
||||
EnumSex sex,
|
||||
Integer fkRegistrator,
|
||||
BigDecimal paid,
|
||||
String comment,
|
||||
Boolean consentCatalogPhoto,
|
||||
BigDecimal requiredPrice
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.forename = forename;
|
||||
this.surname = surname;
|
||||
this.street = street;
|
||||
this.zip = zip;
|
||||
this.city = city;
|
||||
this.phone = phone;
|
||||
this.birthdate = birthdate;
|
||||
this.camprole = camprole;
|
||||
this.email = email;
|
||||
this.fkCamp = fkCamp;
|
||||
this.fkProfile = fkProfile;
|
||||
this.accept = accept;
|
||||
this.created = created;
|
||||
this.sex = sex;
|
||||
this.fkRegistrator = fkRegistrator;
|
||||
this.paid = paid;
|
||||
this.comment = comment;
|
||||
this.consentCatalogPhoto = consentCatalogPhoto;
|
||||
this.requiredPrice = requiredPrice;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return this.forename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return this.surname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.street</code>.
|
||||
*/
|
||||
public String getStreet() {
|
||||
return this.street;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.zip</code>.
|
||||
*/
|
||||
public String getZip() {
|
||||
return this.zip;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.city</code>.
|
||||
*/
|
||||
public String getCity() {
|
||||
return this.city;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return this.phone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.birthdate</code>.
|
||||
*/
|
||||
public LocalDate getBirthdate() {
|
||||
return this.birthdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.camprole</code>.
|
||||
*/
|
||||
public EnumCamprole getCamprole() {
|
||||
return this.camprole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.email</code>.
|
||||
*/
|
||||
public String getEmail() {
|
||||
return this.email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.fk_profile</code>.
|
||||
*/
|
||||
public Integer getFkProfile() {
|
||||
return this.fkProfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.accept</code>.
|
||||
*/
|
||||
public Boolean getAccept() {
|
||||
return this.accept;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.created</code>.
|
||||
*/
|
||||
public LocalDateTime getCreated() {
|
||||
return this.created;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.sex</code>.
|
||||
*/
|
||||
public EnumSex getSex() {
|
||||
return this.sex;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.fk_registrator</code>.
|
||||
*/
|
||||
public Integer getFkRegistrator() {
|
||||
return this.fkRegistrator;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.paid</code>.
|
||||
*/
|
||||
public BigDecimal getPaid() {
|
||||
return this.paid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.comment</code>.
|
||||
*/
|
||||
public String getComment() {
|
||||
return this.comment;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.consent_catalog_photo</code>.
|
||||
*/
|
||||
public Boolean getConsentCatalogPhoto() {
|
||||
return this.consentCatalogPhoto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_person.required_price</code>.
|
||||
*/
|
||||
public BigDecimal getRequiredPrice() {
|
||||
return this.requiredPrice;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TPerson other = (TPerson) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.forename == null) {
|
||||
if (other.forename != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.forename.equals(other.forename))
|
||||
return false;
|
||||
if (this.surname == null) {
|
||||
if (other.surname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.surname.equals(other.surname))
|
||||
return false;
|
||||
if (this.street == null) {
|
||||
if (other.street != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.street.equals(other.street))
|
||||
return false;
|
||||
if (this.zip == null) {
|
||||
if (other.zip != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.zip.equals(other.zip))
|
||||
return false;
|
||||
if (this.city == null) {
|
||||
if (other.city != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.city.equals(other.city))
|
||||
return false;
|
||||
if (this.phone == null) {
|
||||
if (other.phone != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.phone.equals(other.phone))
|
||||
return false;
|
||||
if (this.birthdate == null) {
|
||||
if (other.birthdate != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.birthdate.equals(other.birthdate))
|
||||
return false;
|
||||
if (this.camprole == null) {
|
||||
if (other.camprole != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.camprole.equals(other.camprole))
|
||||
return false;
|
||||
if (this.email == null) {
|
||||
if (other.email != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.email.equals(other.email))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.fkProfile == null) {
|
||||
if (other.fkProfile != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkProfile.equals(other.fkProfile))
|
||||
return false;
|
||||
if (this.accept == null) {
|
||||
if (other.accept != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.accept.equals(other.accept))
|
||||
return false;
|
||||
if (this.created == null) {
|
||||
if (other.created != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.created.equals(other.created))
|
||||
return false;
|
||||
if (this.sex == null) {
|
||||
if (other.sex != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.sex.equals(other.sex))
|
||||
return false;
|
||||
if (this.fkRegistrator == null) {
|
||||
if (other.fkRegistrator != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkRegistrator.equals(other.fkRegistrator))
|
||||
return false;
|
||||
if (this.paid == null) {
|
||||
if (other.paid != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.paid.equals(other.paid))
|
||||
return false;
|
||||
if (this.comment == null) {
|
||||
if (other.comment != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.comment.equals(other.comment))
|
||||
return false;
|
||||
if (this.consentCatalogPhoto == null) {
|
||||
if (other.consentCatalogPhoto != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.consentCatalogPhoto.equals(other.consentCatalogPhoto))
|
||||
return false;
|
||||
if (this.requiredPrice == null) {
|
||||
if (other.requiredPrice != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.requiredPrice.equals(other.requiredPrice))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
|
||||
result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
|
||||
result = prime * result + ((this.street == null) ? 0 : this.street.hashCode());
|
||||
result = prime * result + ((this.zip == null) ? 0 : this.zip.hashCode());
|
||||
result = prime * result + ((this.city == null) ? 0 : this.city.hashCode());
|
||||
result = prime * result + ((this.phone == null) ? 0 : this.phone.hashCode());
|
||||
result = prime * result + ((this.birthdate == null) ? 0 : this.birthdate.hashCode());
|
||||
result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
|
||||
result = prime * result + ((this.email == null) ? 0 : this.email.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
|
||||
result = prime * result + ((this.accept == null) ? 0 : this.accept.hashCode());
|
||||
result = prime * result + ((this.created == null) ? 0 : this.created.hashCode());
|
||||
result = prime * result + ((this.sex == null) ? 0 : this.sex.hashCode());
|
||||
result = prime * result + ((this.fkRegistrator == null) ? 0 : this.fkRegistrator.hashCode());
|
||||
result = prime * result + ((this.paid == null) ? 0 : this.paid.hashCode());
|
||||
result = prime * result + ((this.comment == null) ? 0 : this.comment.hashCode());
|
||||
result = prime * result + ((this.consentCatalogPhoto == null) ? 0 : this.consentCatalogPhoto.hashCode());
|
||||
result = prime * result + ((this.requiredPrice == null) ? 0 : this.requiredPrice.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TPerson (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(forename);
|
||||
sb.append(", ").append(surname);
|
||||
sb.append(", ").append(street);
|
||||
sb.append(", ").append(zip);
|
||||
sb.append(", ").append(city);
|
||||
sb.append(", ").append(phone);
|
||||
sb.append(", ").append(birthdate);
|
||||
sb.append(", ").append(camprole);
|
||||
sb.append(", ").append(email);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(fkProfile);
|
||||
sb.append(", ").append(accept);
|
||||
sb.append(", ").append(created);
|
||||
sb.append(", ").append(sex);
|
||||
sb.append(", ").append(fkRegistrator);
|
||||
sb.append(", ").append(paid);
|
||||
sb.append(", ").append(comment);
|
||||
sb.append(", ").append(consentCatalogPhoto);
|
||||
sb.append(", ").append(requiredPrice);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,150 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TPersondocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final Integer fkPerson;
|
||||
private final String name;
|
||||
private final String document;
|
||||
private final EnumFiletype filetype;
|
||||
|
||||
public TPersondocument(TPersondocument value) {
|
||||
this.pk = value.pk;
|
||||
this.fkPerson = value.fkPerson;
|
||||
this.name = value.name;
|
||||
this.document = value.document;
|
||||
this.filetype = value.filetype;
|
||||
}
|
||||
|
||||
public TPersondocument(
|
||||
Integer pk,
|
||||
Integer fkPerson,
|
||||
String name,
|
||||
String document,
|
||||
EnumFiletype filetype
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.fkPerson = fkPerson;
|
||||
this.name = name;
|
||||
this.document = document;
|
||||
this.filetype = filetype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_persondocument.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_persondocument.fk_person</code>.
|
||||
*/
|
||||
public Integer getFkPerson() {
|
||||
return this.fkPerson;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_persondocument.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_persondocument.document</code>.
|
||||
*/
|
||||
public String getDocument() {
|
||||
return this.document;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_persondocument.filetype</code>.
|
||||
*/
|
||||
public EnumFiletype getFiletype() {
|
||||
return this.filetype;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TPersondocument other = (TPersondocument) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.fkPerson == null) {
|
||||
if (other.fkPerson != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkPerson.equals(other.fkPerson))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.document == null) {
|
||||
if (other.document != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.document.equals(other.document))
|
||||
return false;
|
||||
if (this.filetype == null) {
|
||||
if (other.filetype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.filetype.equals(other.filetype))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.fkPerson == null) ? 0 : this.fkPerson.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
|
||||
result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TPersondocument (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(fkPerson);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(document);
|
||||
sb.append(", ").append(filetype);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,187 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String forename;
|
||||
private final String surname;
|
||||
private final String username;
|
||||
private final String password;
|
||||
private final LocalDateTime duedate;
|
||||
private final String uuid;
|
||||
|
||||
public TProfile(TProfile value) {
|
||||
this.pk = value.pk;
|
||||
this.forename = value.forename;
|
||||
this.surname = value.surname;
|
||||
this.username = value.username;
|
||||
this.password = value.password;
|
||||
this.duedate = value.duedate;
|
||||
this.uuid = value.uuid;
|
||||
}
|
||||
|
||||
public TProfile(
|
||||
Integer pk,
|
||||
String forename,
|
||||
String surname,
|
||||
String username,
|
||||
String password,
|
||||
LocalDateTime duedate,
|
||||
String uuid
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.forename = forename;
|
||||
this.surname = surname;
|
||||
this.username = username;
|
||||
this.password = password;
|
||||
this.duedate = duedate;
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return this.forename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return this.surname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return this.username;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.password</code>.
|
||||
*/
|
||||
public String getPassword() {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.duedate</code>.
|
||||
*/
|
||||
public LocalDateTime getDuedate() {
|
||||
return this.duedate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profile.uuid</code>.
|
||||
*/
|
||||
public String getUuid() {
|
||||
return this.uuid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TProfile other = (TProfile) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.forename == null) {
|
||||
if (other.forename != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.forename.equals(other.forename))
|
||||
return false;
|
||||
if (this.surname == null) {
|
||||
if (other.surname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.surname.equals(other.surname))
|
||||
return false;
|
||||
if (this.username == null) {
|
||||
if (other.username != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.username.equals(other.username))
|
||||
return false;
|
||||
if (this.password == null) {
|
||||
if (other.password != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.password.equals(other.password))
|
||||
return false;
|
||||
if (this.duedate == null) {
|
||||
if (other.duedate != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.duedate.equals(other.duedate))
|
||||
return false;
|
||||
if (this.uuid == null) {
|
||||
if (other.uuid != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.uuid.equals(other.uuid))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
|
||||
result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
|
||||
result = prime * result + ((this.username == null) ? 0 : this.username.hashCode());
|
||||
result = prime * result + ((this.password == null) ? 0 : this.password.hashCode());
|
||||
result = prime * result + ((this.duedate == null) ? 0 : this.duedate.hashCode());
|
||||
result = prime * result + ((this.uuid == null) ? 0 : this.uuid.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TProfile (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(forename);
|
||||
sb.append(", ").append(surname);
|
||||
sb.append(", ").append(username);
|
||||
sb.append(", ").append(password);
|
||||
sb.append(", ").append(duedate);
|
||||
sb.append(", ").append(uuid);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TProfilerole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer fkProfile;
|
||||
private final EnumRole role;
|
||||
|
||||
public TProfilerole(TProfilerole value) {
|
||||
this.fkProfile = value.fkProfile;
|
||||
this.role = value.role;
|
||||
}
|
||||
|
||||
public TProfilerole(
|
||||
Integer fkProfile,
|
||||
EnumRole role
|
||||
) {
|
||||
this.fkProfile = fkProfile;
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profilerole.fk_profile</code>.
|
||||
*/
|
||||
public Integer getFkProfile() {
|
||||
return this.fkProfile;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_profilerole.role</code>.
|
||||
*/
|
||||
public EnumRole getRole() {
|
||||
return this.role;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TProfilerole other = (TProfilerole) obj;
|
||||
if (this.fkProfile == null) {
|
||||
if (other.fkProfile != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkProfile.equals(other.fkProfile))
|
||||
return false;
|
||||
if (this.role == null) {
|
||||
if (other.role != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.role.equals(other.role))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.fkProfile == null) ? 0 : this.fkProfile.hashCode());
|
||||
result = prime * result + ((this.role == null) ? 0 : this.role.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TProfilerole (");
|
||||
|
||||
sb.append(fkProfile);
|
||||
sb.append(", ").append(role);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TRss implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final String msg;
|
||||
private final LocalDateTime regdate;
|
||||
private final String recipient;
|
||||
private final Integer pk;
|
||||
|
||||
public TRss(TRss value) {
|
||||
this.msg = value.msg;
|
||||
this.regdate = value.regdate;
|
||||
this.recipient = value.recipient;
|
||||
this.pk = value.pk;
|
||||
}
|
||||
|
||||
public TRss(
|
||||
String msg,
|
||||
LocalDateTime regdate,
|
||||
String recipient,
|
||||
Integer pk
|
||||
) {
|
||||
this.msg = msg;
|
||||
this.regdate = regdate;
|
||||
this.recipient = recipient;
|
||||
this.pk = pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_rss.msg</code>.
|
||||
*/
|
||||
public String getMsg() {
|
||||
return this.msg;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_rss.regdate</code>.
|
||||
*/
|
||||
public LocalDateTime getRegdate() {
|
||||
return this.regdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_rss.recipient</code>.
|
||||
*/
|
||||
public String getRecipient() {
|
||||
return this.recipient;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_rss.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TRss other = (TRss) obj;
|
||||
if (this.msg == null) {
|
||||
if (other.msg != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.msg.equals(other.msg))
|
||||
return false;
|
||||
if (this.regdate == null) {
|
||||
if (other.regdate != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.regdate.equals(other.regdate))
|
||||
return false;
|
||||
if (this.recipient == null) {
|
||||
if (other.recipient != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.recipient.equals(other.recipient))
|
||||
return false;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.msg == null) ? 0 : this.msg.hashCode());
|
||||
result = prime * result + ((this.regdate == null) ? 0 : this.regdate.hashCode());
|
||||
result = prime * result + ((this.recipient == null) ? 0 : this.recipient.hashCode());
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TRss (");
|
||||
|
||||
sb.append(msg);
|
||||
sb.append(", ").append(regdate);
|
||||
sb.append(", ").append(recipient);
|
||||
sb.append(", ").append(pk);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,265 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TSales implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String trader;
|
||||
private final Integer fkCamp;
|
||||
private final String provider;
|
||||
private final BigDecimal cash;
|
||||
private final LocalDateTime buydate;
|
||||
private final String recipenumber;
|
||||
private final byte[] recipeshot;
|
||||
private final String recipenote;
|
||||
private final String incredients;
|
||||
private final String recipefilename;
|
||||
|
||||
public TSales(TSales value) {
|
||||
this.pk = value.pk;
|
||||
this.trader = value.trader;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.provider = value.provider;
|
||||
this.cash = value.cash;
|
||||
this.buydate = value.buydate;
|
||||
this.recipenumber = value.recipenumber;
|
||||
this.recipeshot = value.recipeshot;
|
||||
this.recipenote = value.recipenote;
|
||||
this.incredients = value.incredients;
|
||||
this.recipefilename = value.recipefilename;
|
||||
}
|
||||
|
||||
public TSales(
|
||||
Integer pk,
|
||||
String trader,
|
||||
Integer fkCamp,
|
||||
String provider,
|
||||
BigDecimal cash,
|
||||
LocalDateTime buydate,
|
||||
String recipenumber,
|
||||
byte[] recipeshot,
|
||||
String recipenote,
|
||||
String incredients,
|
||||
String recipefilename
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.trader = trader;
|
||||
this.fkCamp = fkCamp;
|
||||
this.provider = provider;
|
||||
this.cash = cash;
|
||||
this.buydate = buydate;
|
||||
this.recipenumber = recipenumber;
|
||||
this.recipeshot = recipeshot;
|
||||
this.recipenote = recipenote;
|
||||
this.incredients = incredients;
|
||||
this.recipefilename = recipefilename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.trader</code>.
|
||||
*/
|
||||
public String getTrader() {
|
||||
return this.trader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.provider</code>.
|
||||
*/
|
||||
public String getProvider() {
|
||||
return this.provider;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.cash</code>.
|
||||
*/
|
||||
public BigDecimal getCash() {
|
||||
return this.cash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.buydate</code>.
|
||||
*/
|
||||
public LocalDateTime getBuydate() {
|
||||
return this.buydate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.recipenumber</code>.
|
||||
*/
|
||||
public String getRecipenumber() {
|
||||
return this.recipenumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.recipeshot</code>.
|
||||
*/
|
||||
public byte[] getRecipeshot() {
|
||||
return this.recipeshot;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.recipenote</code>.
|
||||
*/
|
||||
public String getRecipenote() {
|
||||
return this.recipenote;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.incredients</code>.
|
||||
*/
|
||||
public String getIncredients() {
|
||||
return this.incredients;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_sales.recipefilename</code>.
|
||||
*/
|
||||
public String getRecipefilename() {
|
||||
return this.recipefilename;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TSales other = (TSales) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.trader == null) {
|
||||
if (other.trader != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.trader.equals(other.trader))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.provider == null) {
|
||||
if (other.provider != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.provider.equals(other.provider))
|
||||
return false;
|
||||
if (this.cash == null) {
|
||||
if (other.cash != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.cash.equals(other.cash))
|
||||
return false;
|
||||
if (this.buydate == null) {
|
||||
if (other.buydate != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.buydate.equals(other.buydate))
|
||||
return false;
|
||||
if (this.recipenumber == null) {
|
||||
if (other.recipenumber != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.recipenumber.equals(other.recipenumber))
|
||||
return false;
|
||||
if (this.recipeshot == null) {
|
||||
if (other.recipeshot != null)
|
||||
return false;
|
||||
}
|
||||
else if (!Arrays.equals(this.recipeshot, other.recipeshot))
|
||||
return false;
|
||||
if (this.recipenote == null) {
|
||||
if (other.recipenote != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.recipenote.equals(other.recipenote))
|
||||
return false;
|
||||
if (this.incredients == null) {
|
||||
if (other.incredients != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.incredients.equals(other.incredients))
|
||||
return false;
|
||||
if (this.recipefilename == null) {
|
||||
if (other.recipefilename != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.recipefilename.equals(other.recipefilename))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.trader == null) ? 0 : this.trader.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.provider == null) ? 0 : this.provider.hashCode());
|
||||
result = prime * result + ((this.cash == null) ? 0 : this.cash.hashCode());
|
||||
result = prime * result + ((this.buydate == null) ? 0 : this.buydate.hashCode());
|
||||
result = prime * result + ((this.recipenumber == null) ? 0 : this.recipenumber.hashCode());
|
||||
result = prime * result + ((this.recipeshot == null) ? 0 : Arrays.hashCode(this.recipeshot));
|
||||
result = prime * result + ((this.recipenote == null) ? 0 : this.recipenote.hashCode());
|
||||
result = prime * result + ((this.incredients == null) ? 0 : this.incredients.hashCode());
|
||||
result = prime * result + ((this.recipefilename == null) ? 0 : this.recipefilename.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TSales (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(trader);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(provider);
|
||||
sb.append(", ").append(cash);
|
||||
sb.append(", ").append(buydate);
|
||||
sb.append(", ").append(recipenumber);
|
||||
sb.append(", ").append("[binary...]");
|
||||
sb.append(", ").append(recipenote);
|
||||
sb.append(", ").append(incredients);
|
||||
sb.append(", ").append(recipefilename);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TSalescontent implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer fkSales;
|
||||
private final String fkSalescontenttype;
|
||||
|
||||
public TSalescontent(TSalescontent value) {
|
||||
this.fkSales = value.fkSales;
|
||||
this.fkSalescontenttype = value.fkSalescontenttype;
|
||||
}
|
||||
|
||||
public TSalescontent(
|
||||
Integer fkSales,
|
||||
String fkSalescontenttype
|
||||
) {
|
||||
this.fkSales = fkSales;
|
||||
this.fkSalescontenttype = fkSalescontenttype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_salescontent.fk_sales</code>.
|
||||
*/
|
||||
public Integer getFkSales() {
|
||||
return this.fkSales;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_salescontent.fk_salescontenttype</code>.
|
||||
*/
|
||||
public String getFkSalescontenttype() {
|
||||
return this.fkSalescontenttype;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TSalescontent other = (TSalescontent) obj;
|
||||
if (this.fkSales == null) {
|
||||
if (other.fkSales != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkSales.equals(other.fkSales))
|
||||
return false;
|
||||
if (this.fkSalescontenttype == null) {
|
||||
if (other.fkSalescontenttype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkSalescontenttype.equals(other.fkSalescontenttype))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.fkSales == null) ? 0 : this.fkSales.hashCode());
|
||||
result = prime * result + ((this.fkSalescontenttype == null) ? 0 : this.fkSalescontenttype.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TSalescontent (");
|
||||
|
||||
sb.append(fkSales);
|
||||
sb.append(", ").append(fkSalescontenttype);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TSalescontenttype implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final String name;
|
||||
|
||||
public TSalescontenttype(TSalescontenttype value) {
|
||||
this.name = value.name;
|
||||
}
|
||||
|
||||
public TSalescontenttype(
|
||||
String name
|
||||
) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.t_salescontenttype.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final TSalescontenttype other = (TSalescontenttype) obj;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TSalescontenttype (");
|
||||
|
||||
sb.append(name);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VBudget implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final BigDecimal budget;
|
||||
private final Integer fkCamp;
|
||||
private final String name;
|
||||
private final String location;
|
||||
private final Double year;
|
||||
|
||||
public VBudget(VBudget value) {
|
||||
this.budget = value.budget;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.name = value.name;
|
||||
this.location = value.location;
|
||||
this.year = value.year;
|
||||
}
|
||||
|
||||
public VBudget(
|
||||
BigDecimal budget,
|
||||
Integer fkCamp,
|
||||
String name,
|
||||
String location,
|
||||
Double year
|
||||
) {
|
||||
this.budget = budget;
|
||||
this.fkCamp = fkCamp;
|
||||
this.name = name;
|
||||
this.location = location;
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_budget.budget</code>.
|
||||
*/
|
||||
public BigDecimal getBudget() {
|
||||
return this.budget;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_budget.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_budget.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_budget.location</code>.
|
||||
*/
|
||||
public String getLocation() {
|
||||
return this.location;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_budget.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VBudget other = (VBudget) obj;
|
||||
if (this.budget == null) {
|
||||
if (other.budget != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.budget.equals(other.budget))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.location == null) {
|
||||
if (other.location != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.location.equals(other.location))
|
||||
return false;
|
||||
if (this.year == null) {
|
||||
if (other.year != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.year.equals(other.year))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.budget == null) ? 0 : this.budget.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.location == null) ? 0 : this.location.hashCode());
|
||||
result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VBudget (");
|
||||
|
||||
sb.append(budget);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(location);
|
||||
sb.append(", ").append(year);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,301 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCamp implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final Boolean isOver;
|
||||
private final String name;
|
||||
private final LocalDateTime arrive;
|
||||
private final LocalDateTime depart;
|
||||
private final Double year;
|
||||
private final String locationName;
|
||||
private final Integer minAge;
|
||||
private final Integer maxAge;
|
||||
private final String url;
|
||||
private final String price;
|
||||
private final String countries;
|
||||
private final Integer fkDocument;
|
||||
|
||||
public VCamp(VCamp value) {
|
||||
this.pk = value.pk;
|
||||
this.isOver = value.isOver;
|
||||
this.name = value.name;
|
||||
this.arrive = value.arrive;
|
||||
this.depart = value.depart;
|
||||
this.year = value.year;
|
||||
this.locationName = value.locationName;
|
||||
this.minAge = value.minAge;
|
||||
this.maxAge = value.maxAge;
|
||||
this.url = value.url;
|
||||
this.price = value.price;
|
||||
this.countries = value.countries;
|
||||
this.fkDocument = value.fkDocument;
|
||||
}
|
||||
|
||||
public VCamp(
|
||||
Integer pk,
|
||||
Boolean isOver,
|
||||
String name,
|
||||
LocalDateTime arrive,
|
||||
LocalDateTime depart,
|
||||
Double year,
|
||||
String locationName,
|
||||
Integer minAge,
|
||||
Integer maxAge,
|
||||
String url,
|
||||
String price,
|
||||
String countries,
|
||||
Integer fkDocument
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.isOver = isOver;
|
||||
this.name = name;
|
||||
this.arrive = arrive;
|
||||
this.depart = depart;
|
||||
this.year = year;
|
||||
this.locationName = locationName;
|
||||
this.minAge = minAge;
|
||||
this.maxAge = maxAge;
|
||||
this.url = url;
|
||||
this.price = price;
|
||||
this.countries = countries;
|
||||
this.fkDocument = fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.is_over</code>.
|
||||
*/
|
||||
public Boolean getIsOver() {
|
||||
return this.isOver;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.arrive</code>.
|
||||
*/
|
||||
public LocalDateTime getArrive() {
|
||||
return this.arrive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.depart</code>.
|
||||
*/
|
||||
public LocalDateTime getDepart() {
|
||||
return this.depart;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.location_name</code>.
|
||||
*/
|
||||
public String getLocationName() {
|
||||
return this.locationName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.min_age</code>.
|
||||
*/
|
||||
public Integer getMinAge() {
|
||||
return this.minAge;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.max_age</code>.
|
||||
*/
|
||||
public Integer getMaxAge() {
|
||||
return this.maxAge;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.url</code>.
|
||||
*/
|
||||
public String getUrl() {
|
||||
return this.url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.price</code>.
|
||||
*/
|
||||
public String getPrice() {
|
||||
return this.price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.countries</code>.
|
||||
*/
|
||||
public String getCountries() {
|
||||
return this.countries;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VCamp other = (VCamp) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.isOver == null) {
|
||||
if (other.isOver != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.isOver.equals(other.isOver))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.arrive == null) {
|
||||
if (other.arrive != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.arrive.equals(other.arrive))
|
||||
return false;
|
||||
if (this.depart == null) {
|
||||
if (other.depart != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.depart.equals(other.depart))
|
||||
return false;
|
||||
if (this.year == null) {
|
||||
if (other.year != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.year.equals(other.year))
|
||||
return false;
|
||||
if (this.locationName == null) {
|
||||
if (other.locationName != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.locationName.equals(other.locationName))
|
||||
return false;
|
||||
if (this.minAge == null) {
|
||||
if (other.minAge != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.minAge.equals(other.minAge))
|
||||
return false;
|
||||
if (this.maxAge == null) {
|
||||
if (other.maxAge != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.maxAge.equals(other.maxAge))
|
||||
return false;
|
||||
if (this.url == null) {
|
||||
if (other.url != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.url.equals(other.url))
|
||||
return false;
|
||||
if (this.price == null) {
|
||||
if (other.price != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.price.equals(other.price))
|
||||
return false;
|
||||
if (this.countries == null) {
|
||||
if (other.countries != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.countries.equals(other.countries))
|
||||
return false;
|
||||
if (this.fkDocument == null) {
|
||||
if (other.fkDocument != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkDocument.equals(other.fkDocument))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.isOver == null) ? 0 : this.isOver.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.arrive == null) ? 0 : this.arrive.hashCode());
|
||||
result = prime * result + ((this.depart == null) ? 0 : this.depart.hashCode());
|
||||
result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
|
||||
result = prime * result + ((this.locationName == null) ? 0 : this.locationName.hashCode());
|
||||
result = prime * result + ((this.minAge == null) ? 0 : this.minAge.hashCode());
|
||||
result = prime * result + ((this.maxAge == null) ? 0 : this.maxAge.hashCode());
|
||||
result = prime * result + ((this.url == null) ? 0 : this.url.hashCode());
|
||||
result = prime * result + ((this.price == null) ? 0 : this.price.hashCode());
|
||||
result = prime * result + ((this.countries == null) ? 0 : this.countries.hashCode());
|
||||
result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VCamp (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(isOver);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(arrive);
|
||||
sb.append(", ").append(depart);
|
||||
sb.append(", ").append(year);
|
||||
sb.append(", ").append(locationName);
|
||||
sb.append(", ").append(minAge);
|
||||
sb.append(", ").append(maxAge);
|
||||
sb.append(", ").append(url);
|
||||
sb.append(", ").append(price);
|
||||
sb.append(", ").append(countries);
|
||||
sb.append(", ").append(fkDocument);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,130 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCampBudget implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final BigDecimal budget;
|
||||
private final Integer fkCamp;
|
||||
private final String campName;
|
||||
private final Double year;
|
||||
|
||||
public VCampBudget(VCampBudget value) {
|
||||
this.budget = value.budget;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.campName = value.campName;
|
||||
this.year = value.year;
|
||||
}
|
||||
|
||||
public VCampBudget(
|
||||
BigDecimal budget,
|
||||
Integer fkCamp,
|
||||
String campName,
|
||||
Double year
|
||||
) {
|
||||
this.budget = budget;
|
||||
this.fkCamp = fkCamp;
|
||||
this.campName = campName;
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp_budget.budget</code>.
|
||||
*/
|
||||
public BigDecimal getBudget() {
|
||||
return this.budget;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp_budget.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp_budget.camp_name</code>.
|
||||
*/
|
||||
public String getCampName() {
|
||||
return this.campName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp_budget.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VCampBudget other = (VCampBudget) obj;
|
||||
if (this.budget == null) {
|
||||
if (other.budget != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.budget.equals(other.budget))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.campName == null) {
|
||||
if (other.campName != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.campName.equals(other.campName))
|
||||
return false;
|
||||
if (this.year == null) {
|
||||
if (other.year != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.year.equals(other.year))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.budget == null) ? 0 : this.budget.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.campName == null) ? 0 : this.campName.hashCode());
|
||||
result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VCampBudget (");
|
||||
|
||||
sb.append(budget);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(campName);
|
||||
sb.append(", ").append(year);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCampBudgetYear implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final BigDecimal sum;
|
||||
private final Double year;
|
||||
|
||||
public VCampBudgetYear(VCampBudgetYear value) {
|
||||
this.sum = value.sum;
|
||||
this.year = value.year;
|
||||
}
|
||||
|
||||
public VCampBudgetYear(
|
||||
BigDecimal sum,
|
||||
Double year
|
||||
) {
|
||||
this.sum = sum;
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp_budget_year.sum</code>.
|
||||
*/
|
||||
public BigDecimal getSum() {
|
||||
return this.sum;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camp_budget_year.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VCampBudgetYear other = (VCampBudgetYear) obj;
|
||||
if (this.sum == null) {
|
||||
if (other.sum != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.sum.equals(other.sum))
|
||||
return false;
|
||||
if (this.year == null) {
|
||||
if (other.year != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.year.equals(other.year))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.sum == null) ? 0 : this.sum.hashCode());
|
||||
result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VCampBudgetYear (");
|
||||
|
||||
sb.append(sum);
|
||||
sb.append(", ").append(year);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,209 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCampdocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer fkCamp;
|
||||
private final String campname;
|
||||
private final LocalDateTime arrive;
|
||||
private final Integer fkDocument;
|
||||
private final String document;
|
||||
private final String documentname;
|
||||
private final EnumDocument doctype;
|
||||
private final EnumFiletype filetype;
|
||||
|
||||
public VCampdocument(VCampdocument value) {
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.campname = value.campname;
|
||||
this.arrive = value.arrive;
|
||||
this.fkDocument = value.fkDocument;
|
||||
this.document = value.document;
|
||||
this.documentname = value.documentname;
|
||||
this.doctype = value.doctype;
|
||||
this.filetype = value.filetype;
|
||||
}
|
||||
|
||||
public VCampdocument(
|
||||
Integer fkCamp,
|
||||
String campname,
|
||||
LocalDateTime arrive,
|
||||
Integer fkDocument,
|
||||
String document,
|
||||
String documentname,
|
||||
EnumDocument doctype,
|
||||
EnumFiletype filetype
|
||||
) {
|
||||
this.fkCamp = fkCamp;
|
||||
this.campname = campname;
|
||||
this.arrive = arrive;
|
||||
this.fkDocument = fkDocument;
|
||||
this.document = document;
|
||||
this.documentname = documentname;
|
||||
this.doctype = doctype;
|
||||
this.filetype = filetype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.campname</code>.
|
||||
*/
|
||||
public String getCampname() {
|
||||
return this.campname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.arrive</code>.
|
||||
*/
|
||||
public LocalDateTime getArrive() {
|
||||
return this.arrive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.fk_document</code>.
|
||||
*/
|
||||
public Integer getFkDocument() {
|
||||
return this.fkDocument;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.document</code>.
|
||||
*/
|
||||
public String getDocument() {
|
||||
return this.document;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.documentname</code>.
|
||||
*/
|
||||
public String getDocumentname() {
|
||||
return this.documentname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.doctype</code>.
|
||||
*/
|
||||
public EnumDocument getDoctype() {
|
||||
return this.doctype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_campdocument.filetype</code>.
|
||||
*/
|
||||
public EnumFiletype getFiletype() {
|
||||
return this.filetype;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VCampdocument other = (VCampdocument) obj;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.campname == null) {
|
||||
if (other.campname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.campname.equals(other.campname))
|
||||
return false;
|
||||
if (this.arrive == null) {
|
||||
if (other.arrive != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.arrive.equals(other.arrive))
|
||||
return false;
|
||||
if (this.fkDocument == null) {
|
||||
if (other.fkDocument != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkDocument.equals(other.fkDocument))
|
||||
return false;
|
||||
if (this.document == null) {
|
||||
if (other.document != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.document.equals(other.document))
|
||||
return false;
|
||||
if (this.documentname == null) {
|
||||
if (other.documentname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.documentname.equals(other.documentname))
|
||||
return false;
|
||||
if (this.doctype == null) {
|
||||
if (other.doctype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.doctype.equals(other.doctype))
|
||||
return false;
|
||||
if (this.filetype == null) {
|
||||
if (other.filetype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.filetype.equals(other.filetype))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.campname == null) ? 0 : this.campname.hashCode());
|
||||
result = prime * result + ((this.arrive == null) ? 0 : this.arrive.hashCode());
|
||||
result = prime * result + ((this.fkDocument == null) ? 0 : this.fkDocument.hashCode());
|
||||
result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
|
||||
result = prime * result + ((this.documentname == null) ? 0 : this.documentname.hashCode());
|
||||
result = prime * result + ((this.doctype == null) ? 0 : this.doctype.hashCode());
|
||||
result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VCampdocument (");
|
||||
|
||||
sb.append(fkCamp);
|
||||
sb.append(", ").append(campname);
|
||||
sb.append(", ").append(arrive);
|
||||
sb.append(", ").append(fkDocument);
|
||||
sb.append(", ").append(document);
|
||||
sb.append(", ").append(documentname);
|
||||
sb.append(", ").append(doctype);
|
||||
sb.append(", ").append(filetype);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VCamprole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final EnumCamprole name;
|
||||
|
||||
public VCamprole(VCamprole value) {
|
||||
this.name = value.name;
|
||||
}
|
||||
|
||||
public VCamprole(
|
||||
EnumCamprole name
|
||||
) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_camprole.name</code>.
|
||||
*/
|
||||
public EnumCamprole getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VCamprole other = (VCamprole) obj;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VCamprole (");
|
||||
|
||||
sb.append(name);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,170 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final EnumDocument doctype;
|
||||
private final String name;
|
||||
private final String document;
|
||||
private final EnumFiletype filetype;
|
||||
private final String roles;
|
||||
|
||||
public VDocument(VDocument value) {
|
||||
this.pk = value.pk;
|
||||
this.doctype = value.doctype;
|
||||
this.name = value.name;
|
||||
this.document = value.document;
|
||||
this.filetype = value.filetype;
|
||||
this.roles = value.roles;
|
||||
}
|
||||
|
||||
public VDocument(
|
||||
Integer pk,
|
||||
EnumDocument doctype,
|
||||
String name,
|
||||
String document,
|
||||
EnumFiletype filetype,
|
||||
String roles
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.doctype = doctype;
|
||||
this.name = name;
|
||||
this.document = document;
|
||||
this.filetype = filetype;
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_document.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_document.doctype</code>.
|
||||
*/
|
||||
public EnumDocument getDoctype() {
|
||||
return this.doctype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_document.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_document.document</code>.
|
||||
*/
|
||||
public String getDocument() {
|
||||
return this.document;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_document.filetype</code>.
|
||||
*/
|
||||
public EnumFiletype getFiletype() {
|
||||
return this.filetype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_document.roles</code>.
|
||||
*/
|
||||
public String getRoles() {
|
||||
return this.roles;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VDocument other = (VDocument) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.doctype == null) {
|
||||
if (other.doctype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.doctype.equals(other.doctype))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.document == null) {
|
||||
if (other.document != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.document.equals(other.document))
|
||||
return false;
|
||||
if (this.filetype == null) {
|
||||
if (other.filetype != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.filetype.equals(other.filetype))
|
||||
return false;
|
||||
if (this.roles == null) {
|
||||
if (other.roles != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.roles.equals(other.roles))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.doctype == null) ? 0 : this.doctype.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.document == null) ? 0 : this.document.hashCode());
|
||||
result = prime * result + ((this.filetype == null) ? 0 : this.filetype.hashCode());
|
||||
result = prime * result + ((this.roles == null) ? 0 : this.roles.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VDocument (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(doctype);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(document);
|
||||
sb.append(", ").append(filetype);
|
||||
sb.append(", ").append(roles);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,189 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VProfile implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String forename;
|
||||
private final String surname;
|
||||
private final String username;
|
||||
private final String password;
|
||||
private final String uuid;
|
||||
private final EnumRole[] roles;
|
||||
|
||||
public VProfile(VProfile value) {
|
||||
this.pk = value.pk;
|
||||
this.forename = value.forename;
|
||||
this.surname = value.surname;
|
||||
this.username = value.username;
|
||||
this.password = value.password;
|
||||
this.uuid = value.uuid;
|
||||
this.roles = value.roles;
|
||||
}
|
||||
|
||||
public VProfile(
|
||||
Integer pk,
|
||||
String forename,
|
||||
String surname,
|
||||
String username,
|
||||
String password,
|
||||
String uuid,
|
||||
EnumRole[] roles
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.forename = forename;
|
||||
this.surname = surname;
|
||||
this.username = username;
|
||||
this.password = password;
|
||||
this.uuid = uuid;
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return this.forename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return this.surname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return this.username;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.password</code>.
|
||||
*/
|
||||
public String getPassword() {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.uuid</code>.
|
||||
*/
|
||||
public String getUuid() {
|
||||
return this.uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_profile.roles</code>.
|
||||
*/
|
||||
public EnumRole[] getRoles() {
|
||||
return this.roles;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VProfile other = (VProfile) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.forename == null) {
|
||||
if (other.forename != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.forename.equals(other.forename))
|
||||
return false;
|
||||
if (this.surname == null) {
|
||||
if (other.surname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.surname.equals(other.surname))
|
||||
return false;
|
||||
if (this.username == null) {
|
||||
if (other.username != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.username.equals(other.username))
|
||||
return false;
|
||||
if (this.password == null) {
|
||||
if (other.password != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.password.equals(other.password))
|
||||
return false;
|
||||
if (this.uuid == null) {
|
||||
if (other.uuid != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.uuid.equals(other.uuid))
|
||||
return false;
|
||||
if (this.roles == null) {
|
||||
if (other.roles != null)
|
||||
return false;
|
||||
}
|
||||
else if (!Arrays.deepEquals(this.roles, other.roles))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
|
||||
result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
|
||||
result = prime * result + ((this.username == null) ? 0 : this.username.hashCode());
|
||||
result = prime * result + ((this.password == null) ? 0 : this.password.hashCode());
|
||||
result = prime * result + ((this.uuid == null) ? 0 : this.uuid.hashCode());
|
||||
result = prime * result + ((this.roles == null) ? 0 : Arrays.deepHashCode(this.roles));
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VProfile (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(forename);
|
||||
sb.append(", ").append(surname);
|
||||
sb.append(", ").append(username);
|
||||
sb.append(", ").append(password);
|
||||
sb.append(", ").append(uuid);
|
||||
sb.append(", ").append(Arrays.deepToString(roles));
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,265 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VRegistration implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String forename;
|
||||
private final String surname;
|
||||
private final String street;
|
||||
private final String zip;
|
||||
private final String city;
|
||||
private final String phone;
|
||||
private final LocalDate birthdate;
|
||||
private final EnumCamprole camprole;
|
||||
private final String email;
|
||||
private final String campname;
|
||||
|
||||
public VRegistration(VRegistration value) {
|
||||
this.pk = value.pk;
|
||||
this.forename = value.forename;
|
||||
this.surname = value.surname;
|
||||
this.street = value.street;
|
||||
this.zip = value.zip;
|
||||
this.city = value.city;
|
||||
this.phone = value.phone;
|
||||
this.birthdate = value.birthdate;
|
||||
this.camprole = value.camprole;
|
||||
this.email = value.email;
|
||||
this.campname = value.campname;
|
||||
}
|
||||
|
||||
public VRegistration(
|
||||
Integer pk,
|
||||
String forename,
|
||||
String surname,
|
||||
String street,
|
||||
String zip,
|
||||
String city,
|
||||
String phone,
|
||||
LocalDate birthdate,
|
||||
EnumCamprole camprole,
|
||||
String email,
|
||||
String campname
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.forename = forename;
|
||||
this.surname = surname;
|
||||
this.street = street;
|
||||
this.zip = zip;
|
||||
this.city = city;
|
||||
this.phone = phone;
|
||||
this.birthdate = birthdate;
|
||||
this.camprole = camprole;
|
||||
this.email = email;
|
||||
this.campname = campname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.forename</code>.
|
||||
*/
|
||||
public String getForename() {
|
||||
return this.forename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.surname</code>.
|
||||
*/
|
||||
public String getSurname() {
|
||||
return this.surname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.street</code>.
|
||||
*/
|
||||
public String getStreet() {
|
||||
return this.street;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.zip</code>.
|
||||
*/
|
||||
public String getZip() {
|
||||
return this.zip;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.city</code>.
|
||||
*/
|
||||
public String getCity() {
|
||||
return this.city;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return this.phone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.birthdate</code>.
|
||||
*/
|
||||
public LocalDate getBirthdate() {
|
||||
return this.birthdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.camprole</code>.
|
||||
*/
|
||||
public EnumCamprole getCamprole() {
|
||||
return this.camprole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.email</code>.
|
||||
*/
|
||||
public String getEmail() {
|
||||
return this.email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_registration.campname</code>.
|
||||
*/
|
||||
public String getCampname() {
|
||||
return this.campname;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VRegistration other = (VRegistration) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.forename == null) {
|
||||
if (other.forename != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.forename.equals(other.forename))
|
||||
return false;
|
||||
if (this.surname == null) {
|
||||
if (other.surname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.surname.equals(other.surname))
|
||||
return false;
|
||||
if (this.street == null) {
|
||||
if (other.street != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.street.equals(other.street))
|
||||
return false;
|
||||
if (this.zip == null) {
|
||||
if (other.zip != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.zip.equals(other.zip))
|
||||
return false;
|
||||
if (this.city == null) {
|
||||
if (other.city != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.city.equals(other.city))
|
||||
return false;
|
||||
if (this.phone == null) {
|
||||
if (other.phone != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.phone.equals(other.phone))
|
||||
return false;
|
||||
if (this.birthdate == null) {
|
||||
if (other.birthdate != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.birthdate.equals(other.birthdate))
|
||||
return false;
|
||||
if (this.camprole == null) {
|
||||
if (other.camprole != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.camprole.equals(other.camprole))
|
||||
return false;
|
||||
if (this.email == null) {
|
||||
if (other.email != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.email.equals(other.email))
|
||||
return false;
|
||||
if (this.campname == null) {
|
||||
if (other.campname != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.campname.equals(other.campname))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.forename == null) ? 0 : this.forename.hashCode());
|
||||
result = prime * result + ((this.surname == null) ? 0 : this.surname.hashCode());
|
||||
result = prime * result + ((this.street == null) ? 0 : this.street.hashCode());
|
||||
result = prime * result + ((this.zip == null) ? 0 : this.zip.hashCode());
|
||||
result = prime * result + ((this.city == null) ? 0 : this.city.hashCode());
|
||||
result = prime * result + ((this.phone == null) ? 0 : this.phone.hashCode());
|
||||
result = prime * result + ((this.birthdate == null) ? 0 : this.birthdate.hashCode());
|
||||
result = prime * result + ((this.camprole == null) ? 0 : this.camprole.hashCode());
|
||||
result = prime * result + ((this.email == null) ? 0 : this.email.hashCode());
|
||||
result = prime * result + ((this.campname == null) ? 0 : this.campname.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VRegistration (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(forename);
|
||||
sb.append(", ").append(surname);
|
||||
sb.append(", ").append(street);
|
||||
sb.append(", ").append(zip);
|
||||
sb.append(", ").append(city);
|
||||
sb.append(", ").append(phone);
|
||||
sb.append(", ").append(birthdate);
|
||||
sb.append(", ").append(camprole);
|
||||
sb.append(", ").append(email);
|
||||
sb.append(", ").append(campname);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VRole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final EnumRole unnest;
|
||||
|
||||
public VRole(VRole value) {
|
||||
this.unnest = value.unnest;
|
||||
}
|
||||
|
||||
public VRole(
|
||||
EnumRole unnest
|
||||
) {
|
||||
this.unnest = unnest;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_role.unnest</code>.
|
||||
*/
|
||||
public EnumRole getUnnest() {
|
||||
return this.unnest;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VRole other = (VRole) obj;
|
||||
if (this.unnest == null) {
|
||||
if (other.unnest != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.unnest.equals(other.unnest))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.unnest == null) ? 0 : this.unnest.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VRole (");
|
||||
|
||||
sb.append(unnest);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,360 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VSales implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Integer pk;
|
||||
private final String trader;
|
||||
private final Integer fkCamp;
|
||||
private final String name;
|
||||
private final Integer fkLocation;
|
||||
private final String location;
|
||||
private final String incredients;
|
||||
private final Double year;
|
||||
private final Integer fkSales;
|
||||
private final String provider;
|
||||
private final BigDecimal cash;
|
||||
private final LocalDateTime buydate;
|
||||
private final String recipenumber;
|
||||
private final byte[] recipeshot;
|
||||
private final String recipenote;
|
||||
private final String[] content;
|
||||
|
||||
public VSales(VSales value) {
|
||||
this.pk = value.pk;
|
||||
this.trader = value.trader;
|
||||
this.fkCamp = value.fkCamp;
|
||||
this.name = value.name;
|
||||
this.fkLocation = value.fkLocation;
|
||||
this.location = value.location;
|
||||
this.incredients = value.incredients;
|
||||
this.year = value.year;
|
||||
this.fkSales = value.fkSales;
|
||||
this.provider = value.provider;
|
||||
this.cash = value.cash;
|
||||
this.buydate = value.buydate;
|
||||
this.recipenumber = value.recipenumber;
|
||||
this.recipeshot = value.recipeshot;
|
||||
this.recipenote = value.recipenote;
|
||||
this.content = value.content;
|
||||
}
|
||||
|
||||
public VSales(
|
||||
Integer pk,
|
||||
String trader,
|
||||
Integer fkCamp,
|
||||
String name,
|
||||
Integer fkLocation,
|
||||
String location,
|
||||
String incredients,
|
||||
Double year,
|
||||
Integer fkSales,
|
||||
String provider,
|
||||
BigDecimal cash,
|
||||
LocalDateTime buydate,
|
||||
String recipenumber,
|
||||
byte[] recipeshot,
|
||||
String recipenote,
|
||||
String[] content
|
||||
) {
|
||||
this.pk = pk;
|
||||
this.trader = trader;
|
||||
this.fkCamp = fkCamp;
|
||||
this.name = name;
|
||||
this.fkLocation = fkLocation;
|
||||
this.location = location;
|
||||
this.incredients = incredients;
|
||||
this.year = year;
|
||||
this.fkSales = fkSales;
|
||||
this.provider = provider;
|
||||
this.cash = cash;
|
||||
this.buydate = buydate;
|
||||
this.recipenumber = recipenumber;
|
||||
this.recipeshot = recipeshot;
|
||||
this.recipenote = recipenote;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.pk</code>.
|
||||
*/
|
||||
public Integer getPk() {
|
||||
return this.pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.trader</code>.
|
||||
*/
|
||||
public String getTrader() {
|
||||
return this.trader;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.fk_camp</code>.
|
||||
*/
|
||||
public Integer getFkCamp() {
|
||||
return this.fkCamp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.fk_location</code>.
|
||||
*/
|
||||
public Integer getFkLocation() {
|
||||
return this.fkLocation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.location</code>.
|
||||
*/
|
||||
public String getLocation() {
|
||||
return this.location;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.incredients</code>.
|
||||
*/
|
||||
public String getIncredients() {
|
||||
return this.incredients;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.year</code>.
|
||||
*/
|
||||
public Double getYear() {
|
||||
return this.year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.fk_sales</code>.
|
||||
*/
|
||||
public Integer getFkSales() {
|
||||
return this.fkSales;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.provider</code>.
|
||||
*/
|
||||
public String getProvider() {
|
||||
return this.provider;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.cash</code>.
|
||||
*/
|
||||
public BigDecimal getCash() {
|
||||
return this.cash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.buydate</code>.
|
||||
*/
|
||||
public LocalDateTime getBuydate() {
|
||||
return this.buydate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.recipenumber</code>.
|
||||
*/
|
||||
public String getRecipenumber() {
|
||||
return this.recipenumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.recipeshot</code>.
|
||||
*/
|
||||
public byte[] getRecipeshot() {
|
||||
return this.recipeshot;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.recipenote</code>.
|
||||
*/
|
||||
public String getRecipenote() {
|
||||
return this.recipenote;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_sales.content</code>.
|
||||
*/
|
||||
public String[] getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VSales other = (VSales) obj;
|
||||
if (this.pk == null) {
|
||||
if (other.pk != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.pk.equals(other.pk))
|
||||
return false;
|
||||
if (this.trader == null) {
|
||||
if (other.trader != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.trader.equals(other.trader))
|
||||
return false;
|
||||
if (this.fkCamp == null) {
|
||||
if (other.fkCamp != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkCamp.equals(other.fkCamp))
|
||||
return false;
|
||||
if (this.name == null) {
|
||||
if (other.name != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.name.equals(other.name))
|
||||
return false;
|
||||
if (this.fkLocation == null) {
|
||||
if (other.fkLocation != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkLocation.equals(other.fkLocation))
|
||||
return false;
|
||||
if (this.location == null) {
|
||||
if (other.location != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.location.equals(other.location))
|
||||
return false;
|
||||
if (this.incredients == null) {
|
||||
if (other.incredients != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.incredients.equals(other.incredients))
|
||||
return false;
|
||||
if (this.year == null) {
|
||||
if (other.year != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.year.equals(other.year))
|
||||
return false;
|
||||
if (this.fkSales == null) {
|
||||
if (other.fkSales != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.fkSales.equals(other.fkSales))
|
||||
return false;
|
||||
if (this.provider == null) {
|
||||
if (other.provider != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.provider.equals(other.provider))
|
||||
return false;
|
||||
if (this.cash == null) {
|
||||
if (other.cash != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.cash.equals(other.cash))
|
||||
return false;
|
||||
if (this.buydate == null) {
|
||||
if (other.buydate != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.buydate.equals(other.buydate))
|
||||
return false;
|
||||
if (this.recipenumber == null) {
|
||||
if (other.recipenumber != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.recipenumber.equals(other.recipenumber))
|
||||
return false;
|
||||
if (this.recipeshot == null) {
|
||||
if (other.recipeshot != null)
|
||||
return false;
|
||||
}
|
||||
else if (!Arrays.equals(this.recipeshot, other.recipeshot))
|
||||
return false;
|
||||
if (this.recipenote == null) {
|
||||
if (other.recipenote != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.recipenote.equals(other.recipenote))
|
||||
return false;
|
||||
if (this.content == null) {
|
||||
if (other.content != null)
|
||||
return false;
|
||||
}
|
||||
else if (!Arrays.deepEquals(this.content, other.content))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.pk == null) ? 0 : this.pk.hashCode());
|
||||
result = prime * result + ((this.trader == null) ? 0 : this.trader.hashCode());
|
||||
result = prime * result + ((this.fkCamp == null) ? 0 : this.fkCamp.hashCode());
|
||||
result = prime * result + ((this.name == null) ? 0 : this.name.hashCode());
|
||||
result = prime * result + ((this.fkLocation == null) ? 0 : this.fkLocation.hashCode());
|
||||
result = prime * result + ((this.location == null) ? 0 : this.location.hashCode());
|
||||
result = prime * result + ((this.incredients == null) ? 0 : this.incredients.hashCode());
|
||||
result = prime * result + ((this.year == null) ? 0 : this.year.hashCode());
|
||||
result = prime * result + ((this.fkSales == null) ? 0 : this.fkSales.hashCode());
|
||||
result = prime * result + ((this.provider == null) ? 0 : this.provider.hashCode());
|
||||
result = prime * result + ((this.cash == null) ? 0 : this.cash.hashCode());
|
||||
result = prime * result + ((this.buydate == null) ? 0 : this.buydate.hashCode());
|
||||
result = prime * result + ((this.recipenumber == null) ? 0 : this.recipenumber.hashCode());
|
||||
result = prime * result + ((this.recipeshot == null) ? 0 : Arrays.hashCode(this.recipeshot));
|
||||
result = prime * result + ((this.recipenote == null) ? 0 : this.recipenote.hashCode());
|
||||
result = prime * result + ((this.content == null) ? 0 : Arrays.deepHashCode(this.content));
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VSales (");
|
||||
|
||||
sb.append(pk);
|
||||
sb.append(", ").append(trader);
|
||||
sb.append(", ").append(fkCamp);
|
||||
sb.append(", ").append(name);
|
||||
sb.append(", ").append(fkLocation);
|
||||
sb.append(", ").append(location);
|
||||
sb.append(", ").append(incredients);
|
||||
sb.append(", ").append(year);
|
||||
sb.append(", ").append(fkSales);
|
||||
sb.append(", ").append(provider);
|
||||
sb.append(", ").append(cash);
|
||||
sb.append(", ").append(buydate);
|
||||
sb.append(", ").append(recipenumber);
|
||||
sb.append(", ").append("[binary...]");
|
||||
sb.append(", ").append(recipenote);
|
||||
sb.append(", ").append(Arrays.deepToString(content));
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package de.jottyfan.camporganizer.db.jooq.tables.pojos;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class VVersion implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final String version;
|
||||
|
||||
public VVersion(VVersion value) {
|
||||
this.version = value.version;
|
||||
}
|
||||
|
||||
public VVersion(
|
||||
String version
|
||||
) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>camp.v_version.version</code>.
|
||||
*/
|
||||
public String getVersion() {
|
||||
return this.version;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
final VVersion other = (VVersion) obj;
|
||||
if (this.version == null) {
|
||||
if (other.version != null)
|
||||
return false;
|
||||
}
|
||||
else if (!this.version.equals(other.version))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int result = 1;
|
||||
result = prime * result + ((this.version == null) ? 0 : this.version.hashCode());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("VVersion (");
|
||||
|
||||
sb.append(version);
|
||||
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
@ -240,4 +240,27 @@ public class TCampRecord extends UpdatableRecordImpl<TCampRecord> {
|
||||
setFkProfile(fkProfile);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TCampRecord
|
||||
*/
|
||||
public TCampRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TCamp value) {
|
||||
super(TCamp.T_CAMP);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setName(value.getName());
|
||||
setArrive(value.getArrive());
|
||||
setDepart(value.getDepart());
|
||||
setFkLocation(value.getFkLocation());
|
||||
setMinAge(value.getMinAge());
|
||||
setMaxAge(value.getMaxAge());
|
||||
setPrice(value.getPrice());
|
||||
setCountries(value.getCountries());
|
||||
setFkDocument(value.getFkDocument());
|
||||
setLockSales(value.getLockSales());
|
||||
setFkProfile(value.getFkProfile());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -94,4 +94,18 @@ public class TCampdocumentRecord extends UpdatableRecordImpl<TCampdocumentRecord
|
||||
setFkDocument(fkDocument);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TCampdocumentRecord
|
||||
*/
|
||||
public TCampdocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TCampdocument value) {
|
||||
super(TCampdocument.T_CAMPDOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setFkDocument(value.getFkDocument());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -111,4 +111,19 @@ public class TCampprofileRecord extends UpdatableRecordImpl<TCampprofileRecord>
|
||||
setModule(module);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TCampprofileRecord
|
||||
*/
|
||||
public TCampprofileRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TCampprofile value) {
|
||||
super(TCampprofile.T_CAMPPROFILE);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setFkProfile(value.getFkProfile());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setModule(value.getModule());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -128,4 +128,20 @@ public class TDocumentRecord extends UpdatableRecordImpl<TDocumentRecord> {
|
||||
setFiletype(filetype);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TDocumentRecord
|
||||
*/
|
||||
public TDocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TDocument value) {
|
||||
super(TDocument.T_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setDoctype(value.getDoctype());
|
||||
setName(value.getName());
|
||||
setDocument(value.getDocument());
|
||||
setFiletype(value.getFiletype());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -95,4 +95,18 @@ public class TDocumentroleRecord extends UpdatableRecordImpl<TDocumentroleRecord
|
||||
setCamprole(camprole);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TDocumentroleRecord
|
||||
*/
|
||||
public TDocumentroleRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TDocumentrole value) {
|
||||
super(TDocumentrole.T_DOCUMENTROLE);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setFkDocument(value.getFkDocument());
|
||||
setCamprole(value.getCamprole());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -110,4 +110,19 @@ public class TLocationRecord extends UpdatableRecordImpl<TLocationRecord> {
|
||||
setFkDocument(fkDocument);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TLocationRecord
|
||||
*/
|
||||
public TLocationRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TLocation value) {
|
||||
super(TLocation.T_LOCATION);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setName(value.getName());
|
||||
setUrl(value.getUrl());
|
||||
setFkDocument(value.getFkDocument());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -372,4 +372,35 @@ public class TPersonRecord extends UpdatableRecordImpl<TPersonRecord> {
|
||||
setRequiredPrice(requiredPrice);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TPersonRecord
|
||||
*/
|
||||
public TPersonRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TPerson value) {
|
||||
super(TPerson.T_PERSON);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setForename(value.getForename());
|
||||
setSurname(value.getSurname());
|
||||
setStreet(value.getStreet());
|
||||
setZip(value.getZip());
|
||||
setCity(value.getCity());
|
||||
setPhone(value.getPhone());
|
||||
setBirthdate(value.getBirthdate());
|
||||
setCamprole(value.getCamprole());
|
||||
setEmail(value.getEmail());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setFkProfile(value.getFkProfile());
|
||||
setAccept(value.getAccept());
|
||||
setCreated(value.getCreated());
|
||||
setSex(value.getSex());
|
||||
setFkRegistrator(value.getFkRegistrator());
|
||||
setPaid(value.getPaid());
|
||||
setComment(value.getComment());
|
||||
setConsentCatalogPhoto(value.getConsentCatalogPhoto());
|
||||
setRequiredPrice(value.getRequiredPrice());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -127,4 +127,20 @@ public class TPersondocumentRecord extends UpdatableRecordImpl<TPersondocumentRe
|
||||
setFiletype(filetype);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TPersondocumentRecord
|
||||
*/
|
||||
public TPersondocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TPersondocument value) {
|
||||
super(TPersondocument.T_PERSONDOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setFkPerson(value.getFkPerson());
|
||||
setName(value.getName());
|
||||
setDocument(value.getDocument());
|
||||
setFiletype(value.getFiletype());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -160,4 +160,22 @@ public class TProfileRecord extends UpdatableRecordImpl<TProfileRecord> {
|
||||
setUuid(uuid);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TProfileRecord
|
||||
*/
|
||||
public TProfileRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TProfile value) {
|
||||
super(TProfile.T_PROFILE);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setForename(value.getForename());
|
||||
setSurname(value.getSurname());
|
||||
setUsername(value.getUsername());
|
||||
setPassword(value.getPassword());
|
||||
setDuedate(value.getDuedate());
|
||||
setUuid(value.getUuid());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -69,4 +69,17 @@ public class TProfileroleRecord extends TableRecordImpl<TProfileroleRecord> {
|
||||
setRole(role);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TProfileroleRecord
|
||||
*/
|
||||
public TProfileroleRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TProfilerole value) {
|
||||
super(TProfilerole.T_PROFILEROLE);
|
||||
|
||||
if (value != null) {
|
||||
setFkProfile(value.getFkProfile());
|
||||
setRole(value.getRole());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -112,4 +112,19 @@ public class TRssRecord extends UpdatableRecordImpl<TRssRecord> {
|
||||
setPk(pk);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TRssRecord
|
||||
*/
|
||||
public TRssRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TRss value) {
|
||||
super(TRss.T_RSS);
|
||||
|
||||
if (value != null) {
|
||||
setMsg(value.getMsg());
|
||||
setRegdate(value.getRegdate());
|
||||
setRecipient(value.getRecipient());
|
||||
setPk(value.getPk());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -225,4 +225,26 @@ public class TSalesRecord extends UpdatableRecordImpl<TSalesRecord> {
|
||||
setRecipefilename(recipefilename);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TSalesRecord
|
||||
*/
|
||||
public TSalesRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSales value) {
|
||||
super(TSales.T_SALES);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setTrader(value.getTrader());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setProvider(value.getProvider());
|
||||
setCash(value.getCash());
|
||||
setBuydate(value.getBuydate());
|
||||
setRecipenumber(value.getRecipenumber());
|
||||
setRecipeshot(value.getRecipeshot());
|
||||
setRecipenote(value.getRecipenote());
|
||||
setIncredients(value.getIncredients());
|
||||
setRecipefilename(value.getRecipefilename());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,4 +68,17 @@ public class TSalescontentRecord extends TableRecordImpl<TSalescontentRecord> {
|
||||
setFkSalescontenttype(fkSalescontenttype);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TSalescontentRecord
|
||||
*/
|
||||
public TSalescontentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSalescontent value) {
|
||||
super(TSalescontent.T_SALESCONTENT);
|
||||
|
||||
if (value != null) {
|
||||
setFkSales(value.getFkSales());
|
||||
setFkSalescontenttype(value.getFkSalescontenttype());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -62,4 +62,16 @@ public class TSalescontenttypeRecord extends UpdatableRecordImpl<TSalescontentty
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TSalescontenttypeRecord
|
||||
*/
|
||||
public TSalescontenttypeRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.TSalescontenttype value) {
|
||||
super(TSalescontenttype.T_SALESCONTENTTYPE);
|
||||
|
||||
if (value != null) {
|
||||
setName(value.getName());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -118,4 +118,20 @@ public class VBudgetRecord extends TableRecordImpl<VBudgetRecord> {
|
||||
setYear(year);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VBudgetRecord
|
||||
*/
|
||||
public VBudgetRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VBudget value) {
|
||||
super(VBudget.V_BUDGET);
|
||||
|
||||
if (value != null) {
|
||||
setBudget(value.getBudget());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setName(value.getName());
|
||||
setLocation(value.getLocation());
|
||||
setYear(value.getYear());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -102,4 +102,19 @@ public class VCampBudgetRecord extends TableRecordImpl<VCampBudgetRecord> {
|
||||
setYear(year);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCampBudgetRecord
|
||||
*/
|
||||
public VCampBudgetRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCampBudget value) {
|
||||
super(VCampBudget.V_CAMP_BUDGET);
|
||||
|
||||
if (value != null) {
|
||||
setBudget(value.getBudget());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setCampName(value.getCampName());
|
||||
setYear(value.getYear());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -70,4 +70,17 @@ public class VCampBudgetYearRecord extends TableRecordImpl<VCampBudgetYearRecord
|
||||
setYear(year);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCampBudgetYearRecord
|
||||
*/
|
||||
public VCampBudgetYearRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCampBudgetYear value) {
|
||||
super(VCampBudgetYear.V_CAMP_BUDGET_YEAR);
|
||||
|
||||
if (value != null) {
|
||||
setSum(value.getSum());
|
||||
setYear(value.getYear());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -246,4 +246,28 @@ public class VCampRecord extends TableRecordImpl<VCampRecord> {
|
||||
setFkDocument(fkDocument);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCampRecord
|
||||
*/
|
||||
public VCampRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCamp value) {
|
||||
super(VCamp.V_CAMP);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setIsOver(value.getIsOver());
|
||||
setName(value.getName());
|
||||
setArrive(value.getArrive());
|
||||
setDepart(value.getDepart());
|
||||
setYear(value.getYear());
|
||||
setLocationName(value.getLocationName());
|
||||
setMinAge(value.getMinAge());
|
||||
setMaxAge(value.getMaxAge());
|
||||
setUrl(value.getUrl());
|
||||
setPrice(value.getPrice());
|
||||
setCountries(value.getCountries());
|
||||
setFkDocument(value.getFkDocument());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -168,4 +168,23 @@ public class VCampdocumentRecord extends TableRecordImpl<VCampdocumentRecord> {
|
||||
setFiletype(filetype);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCampdocumentRecord
|
||||
*/
|
||||
public VCampdocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCampdocument value) {
|
||||
super(VCampdocument.V_CAMPDOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setFkCamp(value.getFkCamp());
|
||||
setCampname(value.getCampname());
|
||||
setArrive(value.getArrive());
|
||||
setFkDocument(value.getFkDocument());
|
||||
setDocument(value.getDocument());
|
||||
setDocumentname(value.getDocumentname());
|
||||
setDoctype(value.getDoctype());
|
||||
setFiletype(value.getFiletype());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,16 @@ public class VCamproleRecord extends TableRecordImpl<VCamproleRecord> {
|
||||
setName(name);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VCamproleRecord
|
||||
*/
|
||||
public VCamproleRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VCamprole value) {
|
||||
super(VCamprole.V_CAMPROLE);
|
||||
|
||||
if (value != null) {
|
||||
setName(value.getName());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -134,4 +134,21 @@ public class VDocumentRecord extends TableRecordImpl<VDocumentRecord> {
|
||||
setRoles(roles);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VDocumentRecord
|
||||
*/
|
||||
public VDocumentRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VDocument value) {
|
||||
super(VDocument.V_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setDoctype(value.getDoctype());
|
||||
setName(value.getName());
|
||||
setDocument(value.getDocument());
|
||||
setFiletype(value.getFiletype());
|
||||
setRoles(value.getRoles());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -149,4 +149,22 @@ public class VProfileRecord extends TableRecordImpl<VProfileRecord> {
|
||||
setRoles(roles);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VProfileRecord
|
||||
*/
|
||||
public VProfileRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VProfile value) {
|
||||
super(VProfile.V_PROFILE);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setForename(value.getForename());
|
||||
setSurname(value.getSurname());
|
||||
setUsername(value.getUsername());
|
||||
setPassword(value.getPassword());
|
||||
setUuid(value.getUuid());
|
||||
setRoles(value.getRoles());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -215,4 +215,26 @@ public class VRegistrationRecord extends TableRecordImpl<VRegistrationRecord> {
|
||||
setCampname(campname);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VRegistrationRecord
|
||||
*/
|
||||
public VRegistrationRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VRegistration value) {
|
||||
super(VRegistration.V_REGISTRATION);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setForename(value.getForename());
|
||||
setSurname(value.getSurname());
|
||||
setStreet(value.getStreet());
|
||||
setZip(value.getZip());
|
||||
setCity(value.getCity());
|
||||
setPhone(value.getPhone());
|
||||
setBirthdate(value.getBirthdate());
|
||||
setCamprole(value.getCamprole());
|
||||
setEmail(value.getEmail());
|
||||
setCampname(value.getCampname());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,16 @@ public class VRoleRecord extends TableRecordImpl<VRoleRecord> {
|
||||
setUnnest(unnest);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VRoleRecord
|
||||
*/
|
||||
public VRoleRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VRole value) {
|
||||
super(VRole.V_ROLE);
|
||||
|
||||
if (value != null) {
|
||||
setUnnest(value.getUnnest());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -295,4 +295,31 @@ public class VSalesRecord extends TableRecordImpl<VSalesRecord> {
|
||||
setContent(content);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VSalesRecord
|
||||
*/
|
||||
public VSalesRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VSales value) {
|
||||
super(VSales.V_SALES);
|
||||
|
||||
if (value != null) {
|
||||
setPk(value.getPk());
|
||||
setTrader(value.getTrader());
|
||||
setFkCamp(value.getFkCamp());
|
||||
setName(value.getName());
|
||||
setFkLocation(value.getFkLocation());
|
||||
setLocation(value.getLocation());
|
||||
setIncredients(value.getIncredients());
|
||||
setYear(value.getYear());
|
||||
setFkSales(value.getFkSales());
|
||||
setProvider(value.getProvider());
|
||||
setCash(value.getCash());
|
||||
setBuydate(value.getBuydate());
|
||||
setRecipenumber(value.getRecipenumber());
|
||||
setRecipeshot(value.getRecipeshot());
|
||||
setRecipenote(value.getRecipenote());
|
||||
setContent(value.getContent());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,4 +52,16 @@ public class VVersionRecord extends TableRecordImpl<VVersionRecord> {
|
||||
setVersion(version);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised VVersionRecord
|
||||
*/
|
||||
public VVersionRecord(de.jottyfan.camporganizer.db.jooq.tables.pojos.VVersion value) {
|
||||
super(VVersion.V_VERSION);
|
||||
|
||||
if (value != null) {
|
||||
setVersion(value.getVersion());
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user