2022.02
This commit is contained in:
12
.classpath
Normal file
12
.classpath
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" output="bin/main" path="src/main/java">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="gradle_scope" value="main"/>
|
||||||
|
<attribute name="gradle_used_by_scope" value="main,test"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
||||||
|
<classpathentry kind="output" path="bin/default"/>
|
||||||
|
</classpath>
|
BIN
.gradle/6.8/fileChanges/last-build.bin
Normal file
BIN
.gradle/6.8/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
.gradle/6.8/fileHashes/fileHashes.lock
Normal file
BIN
.gradle/6.8/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
0
.gradle/6.8/gc.properties
Normal file
0
.gradle/6.8/gc.properties
Normal file
BIN
.gradle/7.3/checksums/checksums.lock
Normal file
BIN
.gradle/7.3/checksums/checksums.lock
Normal file
Binary file not shown.
BIN
.gradle/7.3/checksums/md5-checksums.bin
Normal file
BIN
.gradle/7.3/checksums/md5-checksums.bin
Normal file
Binary file not shown.
BIN
.gradle/7.3/checksums/sha1-checksums.bin
Normal file
BIN
.gradle/7.3/checksums/sha1-checksums.bin
Normal file
Binary file not shown.
BIN
.gradle/7.3/dependencies-accessors/dependencies-accessors.lock
Normal file
BIN
.gradle/7.3/dependencies-accessors/dependencies-accessors.lock
Normal file
Binary file not shown.
0
.gradle/7.3/dependencies-accessors/gc.properties
Normal file
0
.gradle/7.3/dependencies-accessors/gc.properties
Normal file
BIN
.gradle/7.3/executionHistory/executionHistory.bin
Normal file
BIN
.gradle/7.3/executionHistory/executionHistory.bin
Normal file
Binary file not shown.
BIN
.gradle/7.3/executionHistory/executionHistory.lock
Normal file
BIN
.gradle/7.3/executionHistory/executionHistory.lock
Normal file
Binary file not shown.
BIN
.gradle/7.3/fileChanges/last-build.bin
Normal file
BIN
.gradle/7.3/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
.gradle/7.3/fileHashes/fileHashes.bin
Normal file
BIN
.gradle/7.3/fileHashes/fileHashes.bin
Normal file
Binary file not shown.
BIN
.gradle/7.3/fileHashes/fileHashes.lock
Normal file
BIN
.gradle/7.3/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
0
.gradle/7.3/gc.properties
Normal file
0
.gradle/7.3/gc.properties
Normal file
BIN
.gradle/buildOutputCleanup/buildOutputCleanup.lock
Normal file
BIN
.gradle/buildOutputCleanup/buildOutputCleanup.lock
Normal file
Binary file not shown.
2
.gradle/buildOutputCleanup/cache.properties
Normal file
2
.gradle/buildOutputCleanup/cache.properties
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Thu Jun 30 21:33:48 CEST 2022
|
||||||
|
gradle.version=7.3
|
BIN
.gradle/buildOutputCleanup/outputFiles.bin
Normal file
BIN
.gradle/buildOutputCleanup/outputFiles.bin
Normal file
Binary file not shown.
BIN
.gradle/checksums/checksums.lock
Normal file
BIN
.gradle/checksums/checksums.lock
Normal file
Binary file not shown.
0
.gradle/configuration-cache/gc.properties
Normal file
0
.gradle/configuration-cache/gc.properties
Normal file
BIN
.gradle/file-system.probe
Normal file
BIN
.gradle/file-system.probe
Normal file
Binary file not shown.
0
.gradle/vcs-1/gc.properties
Normal file
0
.gradle/vcs-1/gc.properties
Normal file
23
.project
Normal file
23
.project
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>COJooq</name>
|
||||||
|
<comment>Project COJooq created by Buildship.</comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
2
.settings/org.eclipse.buildship.core.prefs
Normal file
2
.settings/org.eclipse.buildship.core.prefs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
connection.project.dir=
|
||||||
|
eclipse.preferences.version=1
|
4
.settings/org.eclipse.jdt.core.prefs
Normal file
4
.settings/org.eclipse.jdt.core.prefs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=11
|
||||||
|
org.eclipse.jdt.core.compiler.source=11
|
661
LICENSE
Normal file
661
LICENSE
Normal file
@ -0,0 +1,661 @@
|
|||||||
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 19 November 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU Affero General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
our General Public Licenses are intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.
|
||||||
|
|
||||||
|
The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.
|
||||||
|
|
||||||
|
An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing under
|
||||||
|
this license.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your version
|
||||||
|
supports such interaction) an opportunity to receive the Corresponding
|
||||||
|
Source of your version by providing access to the Corresponding Source
|
||||||
|
from a network server at no charge, through some standard or customary
|
||||||
|
means of facilitating copying of software. This Corresponding Source
|
||||||
|
shall include the Corresponding Source for any work covered by version 3
|
||||||
|
of the GNU General Public License that is incorporated pursuant to the
|
||||||
|
following paragraph.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the work with which it is combined will remain governed by version
|
||||||
|
3 of the GNU General Public License.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU Affero General Public License from time to time. Such new versions
|
||||||
|
will be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU Affero General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU Affero General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU Affero General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
car
|
||||||
|
Copyright (C) 2022 Jottyfan
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as published
|
||||||
|
by the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for the
|
||||||
|
specific requirements.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU AGPL, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
11
README.md
Normal file
11
README.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# COJooq
|
||||||
|
|
||||||
|
business man tasks
|
||||||
|
|
||||||
|
# installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gradlew clean build
|
||||||
|
```
|
||||||
|
|
||||||
|
copy the corresponding jar file from `build/libs` to the folder of your destination
|
89
build.gradle
Normal file
89
build.gradle
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
plugins {
|
||||||
|
id 'nu.studer.jooq' version '7.1.1'
|
||||||
|
}
|
||||||
|
|
||||||
|
apply plugin: 'java'
|
||||||
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
|
group = 'de.jottyfan'
|
||||||
|
version = '2021.02'
|
||||||
|
|
||||||
|
description = """COJooq"""
|
||||||
|
|
||||||
|
sourceCompatibility = 11
|
||||||
|
targetCompatibility = 11
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation 'org.jooq:jooq:3.16.4'
|
||||||
|
implementation 'org.jooq:jooq-codegen:3.16.4'
|
||||||
|
|
||||||
|
implementation 'org.postgresql:postgresql:42.3.2'
|
||||||
|
|
||||||
|
jooqGenerator 'org.postgresql:postgresql:42.3.2'
|
||||||
|
}
|
||||||
|
|
||||||
|
import org.jooq.meta.jaxb.Logging
|
||||||
|
|
||||||
|
jooq {
|
||||||
|
version = '3.16.4'
|
||||||
|
edition = nu.studer.gradle.jooq.JooqEdition.OSS
|
||||||
|
configurations {
|
||||||
|
camporganizer {
|
||||||
|
generateSchemaSourceOnCompilation = true
|
||||||
|
generationTool {
|
||||||
|
logging = Logging.WARN
|
||||||
|
jdbc {
|
||||||
|
driver = 'org.postgresql.Driver'
|
||||||
|
url = 'jdbc:postgresql://localhost:5432/camporganizer'
|
||||||
|
user = 'jooq'
|
||||||
|
password = 'jooq'
|
||||||
|
properties {
|
||||||
|
property {
|
||||||
|
key = 'ssl'
|
||||||
|
value = 'false'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
generator {
|
||||||
|
name = 'org.jooq.codegen.DefaultGenerator'
|
||||||
|
database {
|
||||||
|
name = 'org.jooq.meta.postgres.PostgresDatabase'
|
||||||
|
inputSchema = 'camp'
|
||||||
|
}
|
||||||
|
generate {
|
||||||
|
deprecated = false
|
||||||
|
relations = true
|
||||||
|
records = true
|
||||||
|
immutablePojos = true
|
||||||
|
fluentSetters = true
|
||||||
|
}
|
||||||
|
target {
|
||||||
|
packageName = 'de.jottyfan.camporganizer.db.jooq'
|
||||||
|
directory = 'src/main/java'
|
||||||
|
}
|
||||||
|
strategy.name = 'org.jooq.codegen.DefaultGeneratorStrategy'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
binary(MavenPublication) {
|
||||||
|
from components.java
|
||||||
|
}
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url = layout.buildDirectory.dir("/home/henkej/git/libs/")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
Binary file not shown.
5
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
5
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
distributionBase=GRADLE_USER_HOME
|
||||||
|
distributionPath=wrapper/dists
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-all.zip
|
||||||
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
zipStorePath=wrapper/dists
|
234
gradlew
vendored
Executable file
234
gradlew
vendored
Executable file
@ -0,0 +1,234 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#
|
||||||
|
# Copyright © 2015-2021 the original authors.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# Gradle start up script for POSIX generated by Gradle.
|
||||||
|
#
|
||||||
|
# Important for running:
|
||||||
|
#
|
||||||
|
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||||
|
# noncompliant, but you have some other compliant shell such as ksh or
|
||||||
|
# bash, then to run this script, type that shell name before the whole
|
||||||
|
# command line, like:
|
||||||
|
#
|
||||||
|
# ksh Gradle
|
||||||
|
#
|
||||||
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
|
# requires all of these POSIX shell features:
|
||||||
|
# * functions;
|
||||||
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
|
#
|
||||||
|
# Important for patching:
|
||||||
|
#
|
||||||
|
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||||
|
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||||
|
#
|
||||||
|
# The "traditional" practice of packing multiple parameters into a
|
||||||
|
# space-separated string is a well documented source of bugs and security
|
||||||
|
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||||
|
# options in "$@", and eventually passing that to Java.
|
||||||
|
#
|
||||||
|
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||||
|
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||||
|
# see the in-line comments for details.
|
||||||
|
#
|
||||||
|
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||||
|
# Darwin, MinGW, and NonStop.
|
||||||
|
#
|
||||||
|
# (3) This script is generated from the Groovy template
|
||||||
|
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||||
|
# within the Gradle project.
|
||||||
|
#
|
||||||
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# Attempt to set APP_HOME
|
||||||
|
|
||||||
|
# Resolve links: $0 may be a link
|
||||||
|
app_path=$0
|
||||||
|
|
||||||
|
# Need this for daisy-chained symlinks.
|
||||||
|
while
|
||||||
|
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||||
|
[ -h "$app_path" ]
|
||||||
|
do
|
||||||
|
ls=$( ls -ld "$app_path" )
|
||||||
|
link=${ls#*' -> '}
|
||||||
|
case $link in #(
|
||||||
|
/*) app_path=$link ;; #(
|
||||||
|
*) app_path=$APP_HOME$link ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
|
|
||||||
|
APP_NAME="Gradle"
|
||||||
|
APP_BASE_NAME=${0##*/}
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
|
MAX_FD=maximum
|
||||||
|
|
||||||
|
warn () {
|
||||||
|
echo "$*"
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
die () {
|
||||||
|
echo
|
||||||
|
echo "$*"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
} >&2
|
||||||
|
|
||||||
|
# OS specific support (must be 'true' or 'false').
|
||||||
|
cygwin=false
|
||||||
|
msys=false
|
||||||
|
darwin=false
|
||||||
|
nonstop=false
|
||||||
|
case "$( uname )" in #(
|
||||||
|
CYGWIN* ) cygwin=true ;; #(
|
||||||
|
Darwin* ) darwin=true ;; #(
|
||||||
|
MSYS* | MINGW* ) msys=true ;; #(
|
||||||
|
NONSTOP* ) nonstop=true ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
|
|
||||||
|
# Determine the Java command to use to start the JVM.
|
||||||
|
if [ -n "$JAVA_HOME" ] ; then
|
||||||
|
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||||
|
# IBM's JDK on AIX uses strange locations for the executables
|
||||||
|
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||||
|
else
|
||||||
|
JAVACMD=$JAVA_HOME/bin/java
|
||||||
|
fi
|
||||||
|
if [ ! -x "$JAVACMD" ] ; then
|
||||||
|
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
JAVACMD=java
|
||||||
|
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||||
|
|
||||||
|
Please set the JAVA_HOME variable in your environment to match the
|
||||||
|
location of your Java installation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Increase the maximum file descriptors if we can.
|
||||||
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||||
|
case $MAX_FD in #(
|
||||||
|
max*)
|
||||||
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
|
warn "Could not query maximum file descriptor limit"
|
||||||
|
esac
|
||||||
|
case $MAX_FD in #(
|
||||||
|
'' | soft) :;; #(
|
||||||
|
*)
|
||||||
|
ulimit -n "$MAX_FD" ||
|
||||||
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command, stacking in reverse order:
|
||||||
|
# * args from the command line
|
||||||
|
# * the main class name
|
||||||
|
# * -classpath
|
||||||
|
# * -D...appname settings
|
||||||
|
# * --module-path (only if needed)
|
||||||
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||||
|
|
||||||
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||||
|
if "$cygwin" || "$msys" ; then
|
||||||
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||||
|
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||||
|
|
||||||
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||||
|
|
||||||
|
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||||
|
for arg do
|
||||||
|
if
|
||||||
|
case $arg in #(
|
||||||
|
-*) false ;; # don't mess with options #(
|
||||||
|
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||||
|
[ -e "$t" ] ;; #(
|
||||||
|
*) false ;;
|
||||||
|
esac
|
||||||
|
then
|
||||||
|
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||||
|
fi
|
||||||
|
# Roll the args list around exactly as many times as the number of
|
||||||
|
# args, so each arg winds up back in the position where it started, but
|
||||||
|
# possibly modified.
|
||||||
|
#
|
||||||
|
# NB: a `for` loop captures its iteration list before it begins, so
|
||||||
|
# changing the positional parameters here affects neither the number of
|
||||||
|
# iterations, nor the values presented in `arg`.
|
||||||
|
shift # remove old arg
|
||||||
|
set -- "$@" "$arg" # push replacement arg
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Collect all arguments for the java command;
|
||||||
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
# double quotes to make sure that they get re-expanded; and
|
||||||
|
# * put everything else in single quotes, so that it's not re-expanded.
|
||||||
|
|
||||||
|
set -- \
|
||||||
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
-classpath "$CLASSPATH" \
|
||||||
|
org.gradle.wrapper.GradleWrapperMain \
|
||||||
|
"$@"
|
||||||
|
|
||||||
|
# Use "xargs" to parse quoted args.
|
||||||
|
#
|
||||||
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||||
|
#
|
||||||
|
# In Bash we could simply go:
|
||||||
|
#
|
||||||
|
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||||
|
# set -- "${ARGS[@]}" "$@"
|
||||||
|
#
|
||||||
|
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||||
|
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||||
|
# character that might be a shell metacharacter, then use eval to reverse
|
||||||
|
# that process (while maintaining the separation between arguments), and wrap
|
||||||
|
# the whole thing up as a single "set" statement.
|
||||||
|
#
|
||||||
|
# This will of course break if any of these variables contains a newline or
|
||||||
|
# an unmatched quote.
|
||||||
|
#
|
||||||
|
|
||||||
|
eval "set -- $(
|
||||||
|
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||||
|
xargs -n1 |
|
||||||
|
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||||
|
tr '\n' ' '
|
||||||
|
)" '"$@"'
|
||||||
|
|
||||||
|
exec "$JAVACMD" "$@"
|
1
settings.gradle
Normal file
1
settings.gradle
Normal file
@ -0,0 +1 @@
|
|||||||
|
rootProject.name = 'COJooq'
|
257
src/main/java/de/jottyfan/camporganizer/db/jooq/Camp.java
Normal file
257
src/main/java/de/jottyfan/camporganizer/db/jooq/Camp.java
Normal file
@ -0,0 +1,257 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCamp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TPerson;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TRss;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSales;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VDsgvoDeleteCandidate;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VFeeder;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VProfile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VRegistration;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VRole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VSales;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VVersion;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.impl.SchemaImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class Camp extends SchemaImpl {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp</code>
|
||||||
|
*/
|
||||||
|
public static final Camp CAMP = new Camp();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TCamp T_CAMP = TCamp.T_CAMP;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_campdocument</code>.
|
||||||
|
*/
|
||||||
|
public final TCampdocument T_CAMPDOCUMENT = TCampdocument.T_CAMPDOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_campprofile</code>.
|
||||||
|
*/
|
||||||
|
public final TCampprofile T_CAMPPROFILE = TCampprofile.T_CAMPPROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_document</code>.
|
||||||
|
*/
|
||||||
|
public final TDocument T_DOCUMENT = TDocument.T_DOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_documentrole</code>.
|
||||||
|
*/
|
||||||
|
public final TDocumentrole T_DOCUMENTROLE = TDocumentrole.T_DOCUMENTROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_location</code>.
|
||||||
|
*/
|
||||||
|
public final TLocation T_LOCATION = TLocation.T_LOCATION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_person</code>.
|
||||||
|
*/
|
||||||
|
public final TPerson T_PERSON = TPerson.T_PERSON;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_persondocument</code>.
|
||||||
|
*/
|
||||||
|
public final TPersondocument T_PERSONDOCUMENT = TPersondocument.T_PERSONDOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_profile</code>.
|
||||||
|
*/
|
||||||
|
public final TProfile T_PROFILE = TProfile.T_PROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_profilerole</code>.
|
||||||
|
*/
|
||||||
|
public final TProfilerole T_PROFILEROLE = TProfilerole.T_PROFILEROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_rss</code>.
|
||||||
|
*/
|
||||||
|
public final TRss T_RSS = TRss.T_RSS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_sales</code>.
|
||||||
|
*/
|
||||||
|
public final TSales T_SALES = TSales.T_SALES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_salescontent</code>.
|
||||||
|
*/
|
||||||
|
public final TSalescontent T_SALESCONTENT = TSalescontent.T_SALESCONTENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_salescontenttype</code>.
|
||||||
|
*/
|
||||||
|
public final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_salesprofile</code>.
|
||||||
|
*/
|
||||||
|
public final TSalesprofile T_SALESPROFILE = TSalesprofile.T_SALESPROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_adult</code>.
|
||||||
|
*/
|
||||||
|
public final VAdult V_ADULT = VAdult.V_ADULT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_budget</code>.
|
||||||
|
*/
|
||||||
|
public final VBudget V_BUDGET = VBudget.V_BUDGET;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camp</code>.
|
||||||
|
*/
|
||||||
|
public final VCamp V_CAMP = VCamp.V_CAMP;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camp_budget</code>.
|
||||||
|
*/
|
||||||
|
public final VCampBudget V_CAMP_BUDGET = VCampBudget.V_CAMP_BUDGET;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camp_budget_year</code>.
|
||||||
|
*/
|
||||||
|
public final VCampBudgetYear V_CAMP_BUDGET_YEAR = VCampBudgetYear.V_CAMP_BUDGET_YEAR;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_campdocument</code>.
|
||||||
|
*/
|
||||||
|
public final VCampdocument V_CAMPDOCUMENT = VCampdocument.V_CAMPDOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camprole</code>.
|
||||||
|
*/
|
||||||
|
public final VCamprole V_CAMPROLE = VCamprole.V_CAMPROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_document</code>.
|
||||||
|
*/
|
||||||
|
public final VDocument V_DOCUMENT = VDocument.V_DOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_dsgvo_delete_candidate</code>.
|
||||||
|
*/
|
||||||
|
public final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_feeder</code>.
|
||||||
|
*/
|
||||||
|
public final VFeeder V_FEEDER = VFeeder.V_FEEDER;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_profile</code>.
|
||||||
|
*/
|
||||||
|
public final VProfile V_PROFILE = VProfile.V_PROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_registration</code>.
|
||||||
|
*/
|
||||||
|
public final VRegistration V_REGISTRATION = VRegistration.V_REGISTRATION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_role</code>.
|
||||||
|
*/
|
||||||
|
public final VRole V_ROLE = VRole.V_ROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_sales</code>.
|
||||||
|
*/
|
||||||
|
public final VSales V_SALES = VSales.V_SALES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_version</code>.
|
||||||
|
*/
|
||||||
|
public final VVersion V_VERSION = VVersion.V_VERSION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No further instances allowed
|
||||||
|
*/
|
||||||
|
private Camp() {
|
||||||
|
super("camp", null);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return DefaultCatalog.DEFAULT_CATALOG;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public final List<Table<?>> getTables() {
|
||||||
|
return Arrays.asList(
|
||||||
|
TCamp.T_CAMP,
|
||||||
|
TCampdocument.T_CAMPDOCUMENT,
|
||||||
|
TCampprofile.T_CAMPPROFILE,
|
||||||
|
TDocument.T_DOCUMENT,
|
||||||
|
TDocumentrole.T_DOCUMENTROLE,
|
||||||
|
TLocation.T_LOCATION,
|
||||||
|
TPerson.T_PERSON,
|
||||||
|
TPersondocument.T_PERSONDOCUMENT,
|
||||||
|
TProfile.T_PROFILE,
|
||||||
|
TProfilerole.T_PROFILEROLE,
|
||||||
|
TRss.T_RSS,
|
||||||
|
TSales.T_SALES,
|
||||||
|
TSalescontent.T_SALESCONTENT,
|
||||||
|
TSalescontenttype.T_SALESCONTENTTYPE,
|
||||||
|
TSalesprofile.T_SALESPROFILE,
|
||||||
|
VAdult.V_ADULT,
|
||||||
|
VBudget.V_BUDGET,
|
||||||
|
VCamp.V_CAMP,
|
||||||
|
VCampBudget.V_CAMP_BUDGET,
|
||||||
|
VCampBudgetYear.V_CAMP_BUDGET_YEAR,
|
||||||
|
VCampdocument.V_CAMPDOCUMENT,
|
||||||
|
VCamprole.V_CAMPROLE,
|
||||||
|
VDocument.V_DOCUMENT,
|
||||||
|
VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE,
|
||||||
|
VFeeder.V_FEEDER,
|
||||||
|
VProfile.V_PROFILE,
|
||||||
|
VRegistration.V_REGISTRATION,
|
||||||
|
VRole.V_ROLE,
|
||||||
|
VSales.V_SALES,
|
||||||
|
VVersion.V_VERSION
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Constants;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.impl.CatalogImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class DefaultCatalog extends CatalogImpl {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>DEFAULT_CATALOG</code>
|
||||||
|
*/
|
||||||
|
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The schema <code>camp</code>.
|
||||||
|
*/
|
||||||
|
public final Camp CAMP = Camp.CAMP;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* No further instances allowed
|
||||||
|
*/
|
||||||
|
private DefaultCatalog() {
|
||||||
|
super("");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public final List<Schema> getSchemas() {
|
||||||
|
return Arrays.asList(
|
||||||
|
Camp.CAMP
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A reference to the 3.16 minor release of the code generator. If this
|
||||||
|
* doesn't compile, it's because the runtime library uses an older minor
|
||||||
|
* release, namely: 3.16. You can turn off the generation of this reference
|
||||||
|
* by specifying /configuration/generator/generate/jooqVersionReference
|
||||||
|
*/
|
||||||
|
private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_16;
|
||||||
|
}
|
102
src/main/java/de/jottyfan/camporganizer/db/jooq/Keys.java
Normal file
102
src/main/java/de/jottyfan/camporganizer/db/jooq/Keys.java
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCamp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TPerson;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TRss;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSales;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentroleRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TLocationRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersondocumentRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileroleRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TRssRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesprofileRecord;
|
||||||
|
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.Internal;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class modelling foreign key relationships and constraints of tables in
|
||||||
|
* camp.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class Keys {
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// UNIQUE and PRIMARY KEY definitions
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
public static final UniqueKey<TCampRecord> T_CAMP_PKEY = Internal.createUniqueKey(TCamp.T_CAMP, DSL.name("t_camp_pkey"), new TableField[] { TCamp.T_CAMP.PK }, true);
|
||||||
|
public static final UniqueKey<TCampdocumentRecord> T_CAMPDOCUMENT_PKEY = Internal.createUniqueKey(TCampdocument.T_CAMPDOCUMENT, DSL.name("t_campdocument_pkey"), new TableField[] { TCampdocument.T_CAMPDOCUMENT.PK }, true);
|
||||||
|
public static final UniqueKey<TCampdocumentRecord> UK_CAMPDOCUMENT = Internal.createUniqueKey(TCampdocument.T_CAMPDOCUMENT, DSL.name("uk_campdocument"), new TableField[] { TCampdocument.T_CAMPDOCUMENT.FK_CAMP, TCampdocument.T_CAMPDOCUMENT.FK_DOCUMENT }, true);
|
||||||
|
public static final UniqueKey<TCampprofileRecord> T_CAMPPROFILE_FK_PROFILE_FK_CAMP_MODULE_KEY = Internal.createUniqueKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_profile_fk_camp_module_key"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_PROFILE, TCampprofile.T_CAMPPROFILE.FK_CAMP, TCampprofile.T_CAMPPROFILE.MODULE }, true);
|
||||||
|
public static final UniqueKey<TCampprofileRecord> T_CAMPPROFILE_PKEY = Internal.createUniqueKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_pkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.PK }, true);
|
||||||
|
public static final UniqueKey<TDocumentRecord> T_DOCUMENT_NAME_KEY = Internal.createUniqueKey(TDocument.T_DOCUMENT, DSL.name("t_document_name_key"), new TableField[] { TDocument.T_DOCUMENT.NAME }, true);
|
||||||
|
public static final UniqueKey<TDocumentRecord> T_DOCUMENT_PKEY = Internal.createUniqueKey(TDocument.T_DOCUMENT, DSL.name("t_document_pkey"), new TableField[] { TDocument.T_DOCUMENT.PK }, true);
|
||||||
|
public static final UniqueKey<TDocumentroleRecord> T_DOCUMENTROLE_FK_DOCUMENT_CAMPROLE_KEY = Internal.createUniqueKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_fk_document_camprole_key"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.FK_DOCUMENT, TDocumentrole.T_DOCUMENTROLE.CAMPROLE }, true);
|
||||||
|
public static final UniqueKey<TDocumentroleRecord> T_DOCUMENTROLE_PKEY = Internal.createUniqueKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_pkey"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.PK }, true);
|
||||||
|
public static final UniqueKey<TLocationRecord> T_LOCATION_PKEY = Internal.createUniqueKey(TLocation.T_LOCATION, DSL.name("t_location_pkey"), new TableField[] { TLocation.T_LOCATION.PK }, true);
|
||||||
|
public static final UniqueKey<TPersonRecord> T_PERSON_PKEY = Internal.createUniqueKey(TPerson.T_PERSON, DSL.name("t_person_pkey"), new TableField[] { TPerson.T_PERSON.PK }, true);
|
||||||
|
public static final UniqueKey<TPersonRecord> UK_PERSON = Internal.createUniqueKey(TPerson.T_PERSON, DSL.name("uk_person"), new TableField[] { TPerson.T_PERSON.FORENAME, TPerson.T_PERSON.SURNAME, TPerson.T_PERSON.BIRTHDATE, TPerson.T_PERSON.FK_CAMP }, true);
|
||||||
|
public static final UniqueKey<TPersondocumentRecord> T_PERSONDOCUMENT_FK_PERSON_NAME_KEY = Internal.createUniqueKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_name_key"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON, TPersondocument.T_PERSONDOCUMENT.NAME }, true);
|
||||||
|
public static final UniqueKey<TPersondocumentRecord> T_PERSONDOCUMENT_PKEY = Internal.createUniqueKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_pkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.PK }, true);
|
||||||
|
public static final UniqueKey<TProfileRecord> T_PROFILE_PKEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_pkey"), new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
public static final UniqueKey<TProfileRecord> T_PROFILE_USERNAME_KEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_username_key"), new TableField[] { TProfile.T_PROFILE.USERNAME }, true);
|
||||||
|
public static final UniqueKey<TProfileRecord> T_PROFILE_UUID_KEY = Internal.createUniqueKey(TProfile.T_PROFILE, DSL.name("t_profile_uuid_key"), new TableField[] { TProfile.T_PROFILE.UUID }, true);
|
||||||
|
public static final UniqueKey<TProfileroleRecord> T_PROFILEROLE_FK_PROFILE_ROLE_KEY = Internal.createUniqueKey(TProfilerole.T_PROFILEROLE, DSL.name("t_profilerole_fk_profile_role_key"), new TableField[] { TProfilerole.T_PROFILEROLE.FK_PROFILE, TProfilerole.T_PROFILEROLE.ROLE }, true);
|
||||||
|
public static final UniqueKey<TRssRecord> T_RSS_PKEY = Internal.createUniqueKey(TRss.T_RSS, DSL.name("t_rss_pkey"), new TableField[] { TRss.T_RSS.PK }, true);
|
||||||
|
public static final UniqueKey<TSalesRecord> T_SALES_PKEY = Internal.createUniqueKey(TSales.T_SALES, DSL.name("t_sales_pkey"), new TableField[] { TSales.T_SALES.PK }, true);
|
||||||
|
public static final UniqueKey<TSalescontentRecord> T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY = Internal.createUniqueKey(TSalescontent.T_SALESCONTENT, DSL.name("t_salescontent_fk_sales_fk_salescontenttype_key"), new TableField[] { TSalescontent.T_SALESCONTENT.FK_SALES, TSalescontent.T_SALESCONTENT.FK_SALESCONTENTTYPE }, true);
|
||||||
|
public static final UniqueKey<TSalescontenttypeRecord> T_SALESCONTENTTYPE_PKEY = Internal.createUniqueKey(TSalescontenttype.T_SALESCONTENTTYPE, DSL.name("t_salescontenttype_pkey"), new TableField[] { TSalescontenttype.T_SALESCONTENTTYPE.NAME }, true);
|
||||||
|
public static final UniqueKey<TSalesprofileRecord> T_SALESPROFILE_FK_CAMP_FK_PROFILE_KEY = Internal.createUniqueKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_fk_camp_fk_profile_key"), new TableField[] { TSalesprofile.T_SALESPROFILE.FK_CAMP, TSalesprofile.T_SALESPROFILE.FK_PROFILE }, true);
|
||||||
|
public static final UniqueKey<TSalesprofileRecord> T_SALESPROFILE_PKEY = Internal.createUniqueKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_pkey"), new TableField[] { TSalesprofile.T_SALESPROFILE.PK }, true);
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// FOREIGN KEY definitions
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
public static final ForeignKey<TCampRecord, TDocumentRecord> T_CAMP__T_CAMP_FK_DOCUMENT_FKEY = Internal.createForeignKey(TCamp.T_CAMP, DSL.name("t_camp_fk_document_fkey"), new TableField[] { TCamp.T_CAMP.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true);
|
||||||
|
public static final ForeignKey<TCampRecord, TLocationRecord> T_CAMP__T_CAMP_FK_LOCATION_FKEY = Internal.createForeignKey(TCamp.T_CAMP, DSL.name("t_camp_fk_location_fkey"), new TableField[] { TCamp.T_CAMP.FK_LOCATION }, Keys.T_LOCATION_PKEY, new TableField[] { TLocation.T_LOCATION.PK }, true);
|
||||||
|
public static final ForeignKey<TCampRecord, TProfileRecord> T_CAMP__T_CAMP_FK_PROFILE_FKEY = Internal.createForeignKey(TCamp.T_CAMP, DSL.name("t_camp_fk_profile_fkey"), new TableField[] { TCamp.T_CAMP.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
public static final ForeignKey<TCampdocumentRecord, TCampRecord> T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY = Internal.createForeignKey(TCampdocument.T_CAMPDOCUMENT, DSL.name("t_campdocument_fk_camp_fkey"), new TableField[] { TCampdocument.T_CAMPDOCUMENT.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
|
||||||
|
public static final ForeignKey<TCampdocumentRecord, TDocumentRecord> T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY = Internal.createForeignKey(TCampdocument.T_CAMPDOCUMENT, DSL.name("t_campdocument_fk_document_fkey"), new TableField[] { TCampdocument.T_CAMPDOCUMENT.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true);
|
||||||
|
public static final ForeignKey<TCampprofileRecord, TCampRecord> T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY = Internal.createForeignKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_camp_fkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
|
||||||
|
public static final ForeignKey<TCampprofileRecord, TProfileRecord> T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY = Internal.createForeignKey(TCampprofile.T_CAMPPROFILE, DSL.name("t_campprofile_fk_profile_fkey"), new TableField[] { TCampprofile.T_CAMPPROFILE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
public static final ForeignKey<TDocumentroleRecord, TDocumentRecord> T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY = Internal.createForeignKey(TDocumentrole.T_DOCUMENTROLE, DSL.name("t_documentrole_fk_document_fkey"), new TableField[] { TDocumentrole.T_DOCUMENTROLE.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true);
|
||||||
|
public static final ForeignKey<TLocationRecord, TDocumentRecord> T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY = Internal.createForeignKey(TLocation.T_LOCATION, DSL.name("t_location_fk_document_fkey"), new TableField[] { TLocation.T_LOCATION.FK_DOCUMENT }, Keys.T_DOCUMENT_PKEY, new TableField[] { TDocument.T_DOCUMENT.PK }, true);
|
||||||
|
public static final ForeignKey<TPersonRecord, TCampRecord> T_PERSON__T_PERSON_FK_CAMP_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_camp_fkey"), new TableField[] { TPerson.T_PERSON.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
|
||||||
|
public static final ForeignKey<TPersonRecord, TProfileRecord> T_PERSON__T_PERSON_FK_PROFILE_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_profile_fkey"), new TableField[] { TPerson.T_PERSON.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
public static final ForeignKey<TPersonRecord, TProfileRecord> T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY = Internal.createForeignKey(TPerson.T_PERSON, DSL.name("t_person_fk_registrator_fkey"), new TableField[] { TPerson.T_PERSON.FK_REGISTRATOR }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
public static final ForeignKey<TPersondocumentRecord, TPersonRecord> T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY = Internal.createForeignKey(TPersondocument.T_PERSONDOCUMENT, DSL.name("t_persondocument_fk_person_fkey"), new TableField[] { TPersondocument.T_PERSONDOCUMENT.FK_PERSON }, Keys.T_PERSON_PKEY, new TableField[] { TPerson.T_PERSON.PK }, true);
|
||||||
|
public static final ForeignKey<TProfileroleRecord, TProfileRecord> T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY = Internal.createForeignKey(TProfilerole.T_PROFILEROLE, DSL.name("t_profilerole_fk_profile_fkey"), new TableField[] { TProfilerole.T_PROFILEROLE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
public static final ForeignKey<TSalesRecord, TCampRecord> T_SALES__T_SALES_FK_CAMP_FKEY = Internal.createForeignKey(TSales.T_SALES, DSL.name("t_sales_fk_camp_fkey"), new TableField[] { TSales.T_SALES.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
|
||||||
|
public static final ForeignKey<TSalesprofileRecord, TCampRecord> T_SALESPROFILE__T_SALESPROFILE_FK_CAMP_FKEY = Internal.createForeignKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_fk_camp_fkey"), new TableField[] { TSalesprofile.T_SALESPROFILE.FK_CAMP }, Keys.T_CAMP_PKEY, new TableField[] { TCamp.T_CAMP.PK }, true);
|
||||||
|
public static final ForeignKey<TSalesprofileRecord, TProfileRecord> T_SALESPROFILE__T_SALESPROFILE_FK_PROFILE_FKEY = Internal.createForeignKey(TSalesprofile.T_SALESPROFILE, DSL.name("t_salesprofile_fk_profile_fkey"), new TableField[] { TSalesprofile.T_SALESPROFILE.FK_PROFILE }, Keys.T_PROFILE_PKEY, new TableField[] { TProfile.T_PROFILE.PK }, true);
|
||||||
|
}
|
194
src/main/java/de/jottyfan/camporganizer/db/jooq/Tables.java
Normal file
194
src/main/java/de/jottyfan/camporganizer/db/jooq/Tables.java
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCamp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCampdocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TCampprofile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TDocumentrole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TLocation;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TPerson;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TPersondocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TProfile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TProfilerole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TRss;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSales;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontent;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalescontenttype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.TSalesprofile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VAdult;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VBudget;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCamp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudget;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCampBudgetYear;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCampdocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VDsgvoDeleteCandidate;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VFeeder;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VProfile;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VRegistration;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VRole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VSales;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.VVersion;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convenience access to all tables in camp.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class Tables {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_camp</code>.
|
||||||
|
*/
|
||||||
|
public static final TCamp T_CAMP = TCamp.T_CAMP;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_campdocument</code>.
|
||||||
|
*/
|
||||||
|
public static final TCampdocument T_CAMPDOCUMENT = TCampdocument.T_CAMPDOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_campprofile</code>.
|
||||||
|
*/
|
||||||
|
public static final TCampprofile T_CAMPPROFILE = TCampprofile.T_CAMPPROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_document</code>.
|
||||||
|
*/
|
||||||
|
public static final TDocument T_DOCUMENT = TDocument.T_DOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_documentrole</code>.
|
||||||
|
*/
|
||||||
|
public static final TDocumentrole T_DOCUMENTROLE = TDocumentrole.T_DOCUMENTROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_location</code>.
|
||||||
|
*/
|
||||||
|
public static final TLocation T_LOCATION = TLocation.T_LOCATION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_person</code>.
|
||||||
|
*/
|
||||||
|
public static final TPerson T_PERSON = TPerson.T_PERSON;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_persondocument</code>.
|
||||||
|
*/
|
||||||
|
public static final TPersondocument T_PERSONDOCUMENT = TPersondocument.T_PERSONDOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_profile</code>.
|
||||||
|
*/
|
||||||
|
public static final TProfile T_PROFILE = TProfile.T_PROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_profilerole</code>.
|
||||||
|
*/
|
||||||
|
public static final TProfilerole T_PROFILEROLE = TProfilerole.T_PROFILEROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_rss</code>.
|
||||||
|
*/
|
||||||
|
public static final TRss T_RSS = TRss.T_RSS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_sales</code>.
|
||||||
|
*/
|
||||||
|
public static final TSales T_SALES = TSales.T_SALES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_salescontent</code>.
|
||||||
|
*/
|
||||||
|
public static final TSalescontent T_SALESCONTENT = TSalescontent.T_SALESCONTENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_salescontenttype</code>.
|
||||||
|
*/
|
||||||
|
public static final TSalescontenttype T_SALESCONTENTTYPE = TSalescontenttype.T_SALESCONTENTTYPE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.t_salesprofile</code>.
|
||||||
|
*/
|
||||||
|
public static final TSalesprofile T_SALESPROFILE = TSalesprofile.T_SALESPROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_adult</code>.
|
||||||
|
*/
|
||||||
|
public static final VAdult V_ADULT = VAdult.V_ADULT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_budget</code>.
|
||||||
|
*/
|
||||||
|
public static final VBudget V_BUDGET = VBudget.V_BUDGET;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camp</code>.
|
||||||
|
*/
|
||||||
|
public static final VCamp V_CAMP = VCamp.V_CAMP;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camp_budget</code>.
|
||||||
|
*/
|
||||||
|
public static final VCampBudget V_CAMP_BUDGET = VCampBudget.V_CAMP_BUDGET;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camp_budget_year</code>.
|
||||||
|
*/
|
||||||
|
public static final VCampBudgetYear V_CAMP_BUDGET_YEAR = VCampBudgetYear.V_CAMP_BUDGET_YEAR;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_campdocument</code>.
|
||||||
|
*/
|
||||||
|
public static final VCampdocument V_CAMPDOCUMENT = VCampdocument.V_CAMPDOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_camprole</code>.
|
||||||
|
*/
|
||||||
|
public static final VCamprole V_CAMPROLE = VCamprole.V_CAMPROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_document</code>.
|
||||||
|
*/
|
||||||
|
public static final VDocument V_DOCUMENT = VDocument.V_DOCUMENT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_dsgvo_delete_candidate</code>.
|
||||||
|
*/
|
||||||
|
public static final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = VDsgvoDeleteCandidate.V_DSGVO_DELETE_CANDIDATE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_feeder</code>.
|
||||||
|
*/
|
||||||
|
public static final VFeeder V_FEEDER = VFeeder.V_FEEDER;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_profile</code>.
|
||||||
|
*/
|
||||||
|
public static final VProfile V_PROFILE = VProfile.V_PROFILE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_registration</code>.
|
||||||
|
*/
|
||||||
|
public static final VRegistration V_REGISTRATION = VRegistration.V_REGISTRATION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_role</code>.
|
||||||
|
*/
|
||||||
|
public static final VRole V_ROLE = VRole.V_ROLE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_sales</code>.
|
||||||
|
*/
|
||||||
|
public static final VSales V_SALES = VSales.V_SALES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The table <code>camp.v_version</code>.
|
||||||
|
*/
|
||||||
|
public static final VVersion V_VERSION = VVersion.V_VERSION;
|
||||||
|
}
|
@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.EnumType;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public enum EnumCamprole implements EnumType {
|
||||||
|
|
||||||
|
student("student"),
|
||||||
|
|
||||||
|
teacher("teacher"),
|
||||||
|
|
||||||
|
director("director"),
|
||||||
|
|
||||||
|
feeder("feeder");
|
||||||
|
|
||||||
|
private final String literal;
|
||||||
|
|
||||||
|
private EnumCamprole(String literal) {
|
||||||
|
this.literal = literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return getSchema().getCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "enum_camprole";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLiteral() {
|
||||||
|
return literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup a value of this EnumType by its literal
|
||||||
|
*/
|
||||||
|
public static EnumCamprole lookupLiteral(String literal) {
|
||||||
|
return EnumType.lookupLiteral(EnumCamprole.class, literal);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.EnumType;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public enum EnumDocument implements EnumType {
|
||||||
|
|
||||||
|
camppass("camppass"),
|
||||||
|
|
||||||
|
location("location"),
|
||||||
|
|
||||||
|
camp("camp");
|
||||||
|
|
||||||
|
private final String literal;
|
||||||
|
|
||||||
|
private EnumDocument(String literal) {
|
||||||
|
this.literal = literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return getSchema().getCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "enum_document";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLiteral() {
|
||||||
|
return literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup a value of this EnumType by its literal
|
||||||
|
*/
|
||||||
|
public static EnumDocument lookupLiteral(String literal) {
|
||||||
|
return EnumType.lookupLiteral(EnumDocument.class, literal);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.EnumType;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public enum EnumFiletype implements EnumType {
|
||||||
|
|
||||||
|
pdf("pdf"),
|
||||||
|
|
||||||
|
png("png"),
|
||||||
|
|
||||||
|
jpg("jpg");
|
||||||
|
|
||||||
|
private final String literal;
|
||||||
|
|
||||||
|
private EnumFiletype(String literal) {
|
||||||
|
this.literal = literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return getSchema().getCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "enum_filetype";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLiteral() {
|
||||||
|
return literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup a value of this EnumType by its literal
|
||||||
|
*/
|
||||||
|
public static EnumFiletype lookupLiteral(String literal) {
|
||||||
|
return EnumType.lookupLiteral(EnumFiletype.class, literal);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.EnumType;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public enum EnumModule implements EnumType {
|
||||||
|
|
||||||
|
registration("registration"),
|
||||||
|
|
||||||
|
business("business");
|
||||||
|
|
||||||
|
private final String literal;
|
||||||
|
|
||||||
|
private EnumModule(String literal) {
|
||||||
|
this.literal = literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return getSchema().getCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "enum_module";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLiteral() {
|
||||||
|
return literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup a value of this EnumType by its literal
|
||||||
|
*/
|
||||||
|
public static EnumModule lookupLiteral(String literal) {
|
||||||
|
return EnumType.lookupLiteral(EnumModule.class, literal);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.EnumType;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public enum EnumRole implements EnumType {
|
||||||
|
|
||||||
|
subscriber("subscriber"),
|
||||||
|
|
||||||
|
registrator("registrator"),
|
||||||
|
|
||||||
|
businessman("businessman"),
|
||||||
|
|
||||||
|
admin("admin"),
|
||||||
|
|
||||||
|
campadmin("campadmin"),
|
||||||
|
|
||||||
|
registratoradmin("registratoradmin");
|
||||||
|
|
||||||
|
private final String literal;
|
||||||
|
|
||||||
|
private EnumRole(String literal) {
|
||||||
|
this.literal = literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return getSchema().getCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "enum_role";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLiteral() {
|
||||||
|
return literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup a value of this EnumType by its literal
|
||||||
|
*/
|
||||||
|
public static EnumRole lookupLiteral(String literal) {
|
||||||
|
return EnumType.lookupLiteral(EnumRole.class, literal);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.enums;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
|
||||||
|
import org.jooq.Catalog;
|
||||||
|
import org.jooq.EnumType;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public enum EnumSex implements EnumType {
|
||||||
|
|
||||||
|
male("male"),
|
||||||
|
|
||||||
|
female("female");
|
||||||
|
|
||||||
|
private final String literal;
|
||||||
|
|
||||||
|
private EnumSex(String literal) {
|
||||||
|
this.literal = literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Catalog getCatalog() {
|
||||||
|
return getSchema().getCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return "enum_sex";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLiteral() {
|
||||||
|
return literal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lookup a value of this EnumType by its literal
|
||||||
|
*/
|
||||||
|
public static EnumSex lookupLiteral(String literal) {
|
||||||
|
return EnumType.lookupLiteral(EnumSex.class, literal);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,233 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampRecord;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row12;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TCamp extends TableImpl<TCampRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_camp</code>
|
||||||
|
*/
|
||||||
|
public static final TCamp T_CAMP = new TCamp();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TCampRecord> getRecordType() {
|
||||||
|
return TCampRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.arrive</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, LocalDateTime> ARRIVE = createField(DSL.name("arrive"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.depart</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, LocalDateTime> DEPART = createField(DSL.name("depart"), SQLDataType.LOCALDATETIME(6).nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.fk_location</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Integer> FK_LOCATION = createField(DSL.name("fk_location"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.min_age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Integer> MIN_AGE = createField(DSL.name("min_age"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.max_age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Integer> MAX_AGE = createField(DSL.name("max_age"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.price</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, String> PRICE = createField(DSL.name("price"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.countries</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, String> COUNTRIES = createField(DSL.name("countries"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.fk_document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.lock_sales</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Boolean> LOCK_SALES = createField(DSL.name("lock_sales"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_camp.fk_profile</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
private TCamp(Name alias, Table<TCampRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TCamp(Name alias, Table<TCampRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_camp</code> table reference
|
||||||
|
*/
|
||||||
|
public TCamp(String alias) {
|
||||||
|
this(DSL.name(alias), T_CAMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_camp</code> table reference
|
||||||
|
*/
|
||||||
|
public TCamp(Name alias) {
|
||||||
|
this(alias, T_CAMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_camp</code> table reference
|
||||||
|
*/
|
||||||
|
public TCamp() {
|
||||||
|
this(DSL.name("t_camp"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TCamp(Table<O> child, ForeignKey<O, TCampRecord> key) {
|
||||||
|
super(child, key, T_CAMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TCampRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TCampRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TCampRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_CAMP_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TCampRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TLocation _tLocation;
|
||||||
|
private transient TDocument _tDocument;
|
||||||
|
private transient TProfile _tProfile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_location</code> table.
|
||||||
|
*/
|
||||||
|
public TLocation tLocation() {
|
||||||
|
if (_tLocation == null)
|
||||||
|
_tLocation = new TLocation(this, Keys.T_CAMP__T_CAMP_FK_LOCATION_FKEY);
|
||||||
|
|
||||||
|
return _tLocation;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_document</code> table.
|
||||||
|
*/
|
||||||
|
public TDocument tDocument() {
|
||||||
|
if (_tDocument == null)
|
||||||
|
_tDocument = new TDocument(this, Keys.T_CAMP__T_CAMP_FK_DOCUMENT_FKEY);
|
||||||
|
|
||||||
|
return _tDocument;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_profile</code> table.
|
||||||
|
*/
|
||||||
|
public TProfile tProfile() {
|
||||||
|
if (_tProfile == null)
|
||||||
|
_tProfile = new TProfile(this, Keys.T_CAMP__T_CAMP_FK_PROFILE_FKEY);
|
||||||
|
|
||||||
|
return _tProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TCamp as(String alias) {
|
||||||
|
return new TCamp(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TCamp as(Name alias) {
|
||||||
|
return new TCamp(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TCamp rename(String name) {
|
||||||
|
return new TCamp(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TCamp rename(Name name) {
|
||||||
|
return new TCamp(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row12 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row12<Integer, String, LocalDateTime, LocalDateTime, Integer, Integer, Integer, String, String, Integer, Boolean, Integer> fieldsRow() {
|
||||||
|
return (Row12) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,181 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampdocumentRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row3;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TCampdocument extends TableImpl<TCampdocumentRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_campdocument</code>
|
||||||
|
*/
|
||||||
|
public static final TCampdocument T_CAMPDOCUMENT = new TCampdocument();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TCampdocumentRecord> getRecordType() {
|
||||||
|
return TCampdocumentRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campdocument.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampdocumentRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campdocument.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampdocumentRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campdocument.fk_document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampdocumentRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
private TCampdocument(Name alias, Table<TCampdocumentRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TCampdocument(Name alias, Table<TCampdocumentRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_campdocument</code> table reference
|
||||||
|
*/
|
||||||
|
public TCampdocument(String alias) {
|
||||||
|
this(DSL.name(alias), T_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_campdocument</code> table reference
|
||||||
|
*/
|
||||||
|
public TCampdocument(Name alias) {
|
||||||
|
this(alias, T_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_campdocument</code> table reference
|
||||||
|
*/
|
||||||
|
public TCampdocument() {
|
||||||
|
this(DSL.name("t_campdocument"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TCampdocument(Table<O> child, ForeignKey<O, TCampdocumentRecord> key) {
|
||||||
|
super(child, key, T_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TCampdocumentRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TCampdocumentRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TCampdocumentRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_CAMPDOCUMENT_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TCampdocumentRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.UK_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TCampdocumentRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TCamp _tCamp;
|
||||||
|
private transient TDocument _tDocument;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_camp</code> table.
|
||||||
|
*/
|
||||||
|
public TCamp tCamp() {
|
||||||
|
if (_tCamp == null)
|
||||||
|
_tCamp = new TCamp(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_CAMP_FKEY);
|
||||||
|
|
||||||
|
return _tCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_document</code> table.
|
||||||
|
*/
|
||||||
|
public TDocument tDocument() {
|
||||||
|
if (_tDocument == null)
|
||||||
|
_tDocument = new TDocument(this, Keys.T_CAMPDOCUMENT__T_CAMPDOCUMENT_FK_DOCUMENT_FKEY);
|
||||||
|
|
||||||
|
return _tDocument;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TCampdocument as(String alias) {
|
||||||
|
return new TCampdocument(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TCampdocument as(Name alias) {
|
||||||
|
return new TCampdocument(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TCampdocument rename(String name) {
|
||||||
|
return new TCampdocument(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TCampdocument rename(Name name) {
|
||||||
|
return new TCampdocument(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row3 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row3<Integer, Integer, Integer> fieldsRow() {
|
||||||
|
return (Row3) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumModule;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TCampprofileRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row4;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TCampprofile extends TableImpl<TCampprofileRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_campprofile</code>
|
||||||
|
*/
|
||||||
|
public static final TCampprofile T_CAMPPROFILE = new TCampprofile();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TCampprofileRecord> getRecordType() {
|
||||||
|
return TCampprofileRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campprofile.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampprofileRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campprofile.fk_profile</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampprofileRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campprofile.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampprofileRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_campprofile.module</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TCampprofileRecord, EnumModule> MODULE = createField(DSL.name("module"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumModule.class), this, "");
|
||||||
|
|
||||||
|
private TCampprofile(Name alias, Table<TCampprofileRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TCampprofile(Name alias, Table<TCampprofileRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_campprofile</code> table reference
|
||||||
|
*/
|
||||||
|
public TCampprofile(String alias) {
|
||||||
|
this(DSL.name(alias), T_CAMPPROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_campprofile</code> table reference
|
||||||
|
*/
|
||||||
|
public TCampprofile(Name alias) {
|
||||||
|
this(alias, T_CAMPPROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_campprofile</code> table reference
|
||||||
|
*/
|
||||||
|
public TCampprofile() {
|
||||||
|
this(DSL.name("t_campprofile"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TCampprofile(Table<O> child, ForeignKey<O, TCampprofileRecord> key) {
|
||||||
|
super(child, key, T_CAMPPROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TCampprofileRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TCampprofileRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TCampprofileRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_CAMPPROFILE_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TCampprofileRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_CAMPPROFILE_FK_PROFILE_FK_CAMP_MODULE_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TCampprofileRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TProfile _tProfile;
|
||||||
|
private transient TCamp _tCamp;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_profile</code> table.
|
||||||
|
*/
|
||||||
|
public TProfile tProfile() {
|
||||||
|
if (_tProfile == null)
|
||||||
|
_tProfile = new TProfile(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_PROFILE_FKEY);
|
||||||
|
|
||||||
|
return _tProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_camp</code> table.
|
||||||
|
*/
|
||||||
|
public TCamp tCamp() {
|
||||||
|
if (_tCamp == null)
|
||||||
|
_tCamp = new TCamp(this, Keys.T_CAMPPROFILE__T_CAMPPROFILE_FK_CAMP_FKEY);
|
||||||
|
|
||||||
|
return _tCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TCampprofile as(String alias) {
|
||||||
|
return new TCampprofile(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TCampprofile as(Name alias) {
|
||||||
|
return new TCampprofile(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TCampprofile rename(String name) {
|
||||||
|
return new TCampprofile(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TCampprofile rename(Name name) {
|
||||||
|
return new TCampprofile(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row4 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row4<Integer, Integer, Integer, EnumModule> fieldsRow() {
|
||||||
|
return (Row4) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,165 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row5;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TDocument extends TableImpl<TDocumentRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_document</code>
|
||||||
|
*/
|
||||||
|
public static final TDocument T_DOCUMENT = new TDocument();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TDocumentRecord> getRecordType() {
|
||||||
|
return TDocumentRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_document.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_document.doctype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumDocument.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_document.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_document.document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentRecord, String> DOCUMENT = createField(DSL.name("document"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_document.filetype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, "");
|
||||||
|
|
||||||
|
private TDocument(Name alias, Table<TDocumentRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TDocument(Name alias, Table<TDocumentRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_document</code> table reference
|
||||||
|
*/
|
||||||
|
public TDocument(String alias) {
|
||||||
|
this(DSL.name(alias), T_DOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_document</code> table reference
|
||||||
|
*/
|
||||||
|
public TDocument(Name alias) {
|
||||||
|
this(alias, T_DOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_document</code> table reference
|
||||||
|
*/
|
||||||
|
public TDocument() {
|
||||||
|
this(DSL.name("t_document"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TDocument(Table<O> child, ForeignKey<O, TDocumentRecord> key) {
|
||||||
|
super(child, key, T_DOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TDocumentRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TDocumentRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TDocumentRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_DOCUMENT_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TDocumentRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_DOCUMENT_NAME_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TDocument as(String alias) {
|
||||||
|
return new TDocument(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TDocument as(Name alias) {
|
||||||
|
return new TDocument(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TDocument rename(String name) {
|
||||||
|
return new TDocument(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TDocument rename(Name name) {
|
||||||
|
return new TDocument(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row5 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row5<Integer, EnumDocument, String, String, EnumFiletype> fieldsRow() {
|
||||||
|
return (Row5) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,171 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TDocumentroleRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row3;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TDocumentrole extends TableImpl<TDocumentroleRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_documentrole</code>
|
||||||
|
*/
|
||||||
|
public static final TDocumentrole T_DOCUMENTROLE = new TDocumentrole();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TDocumentroleRecord> getRecordType() {
|
||||||
|
return TDocumentroleRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_documentrole.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentroleRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_documentrole.fk_document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentroleRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_documentrole.camprole</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TDocumentroleRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
|
||||||
|
|
||||||
|
private TDocumentrole(Name alias, Table<TDocumentroleRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TDocumentrole(Name alias, Table<TDocumentroleRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_documentrole</code> table reference
|
||||||
|
*/
|
||||||
|
public TDocumentrole(String alias) {
|
||||||
|
this(DSL.name(alias), T_DOCUMENTROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_documentrole</code> table reference
|
||||||
|
*/
|
||||||
|
public TDocumentrole(Name alias) {
|
||||||
|
this(alias, T_DOCUMENTROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_documentrole</code> table reference
|
||||||
|
*/
|
||||||
|
public TDocumentrole() {
|
||||||
|
this(DSL.name("t_documentrole"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TDocumentrole(Table<O> child, ForeignKey<O, TDocumentroleRecord> key) {
|
||||||
|
super(child, key, T_DOCUMENTROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TDocumentroleRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TDocumentroleRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TDocumentroleRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_DOCUMENTROLE_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TDocumentroleRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_DOCUMENTROLE_FK_DOCUMENT_CAMPROLE_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TDocumentroleRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TDocument _tDocument;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_document</code> table.
|
||||||
|
*/
|
||||||
|
public TDocument tDocument() {
|
||||||
|
if (_tDocument == null)
|
||||||
|
_tDocument = new TDocument(this, Keys.T_DOCUMENTROLE__T_DOCUMENTROLE_FK_DOCUMENT_FKEY);
|
||||||
|
|
||||||
|
return _tDocument;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TDocumentrole as(String alias) {
|
||||||
|
return new TDocumentrole(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TDocumentrole as(Name alias) {
|
||||||
|
return new TDocumentrole(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TDocumentrole rename(String name) {
|
||||||
|
return new TDocumentrole(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TDocumentrole rename(Name name) {
|
||||||
|
return new TDocumentrole(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row3 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row3<Integer, Integer, EnumCamprole> fieldsRow() {
|
||||||
|
return (Row3) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,170 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TLocationRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row4;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TLocation extends TableImpl<TLocationRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_location</code>
|
||||||
|
*/
|
||||||
|
public static final TLocation T_LOCATION = new TLocation();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TLocationRecord> getRecordType() {
|
||||||
|
return TLocationRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_location.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TLocationRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_location.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TLocationRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_location.url</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TLocationRecord, String> URL = createField(DSL.name("url"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_location.fk_document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TLocationRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
private TLocation(Name alias, Table<TLocationRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TLocation(Name alias, Table<TLocationRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_location</code> table reference
|
||||||
|
*/
|
||||||
|
public TLocation(String alias) {
|
||||||
|
this(DSL.name(alias), T_LOCATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_location</code> table reference
|
||||||
|
*/
|
||||||
|
public TLocation(Name alias) {
|
||||||
|
this(alias, T_LOCATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_location</code> table reference
|
||||||
|
*/
|
||||||
|
public TLocation() {
|
||||||
|
this(DSL.name("t_location"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TLocation(Table<O> child, ForeignKey<O, TLocationRecord> key) {
|
||||||
|
super(child, key, T_LOCATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TLocationRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TLocationRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TLocationRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_LOCATION_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TLocationRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TDocument _tDocument;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_document</code> table.
|
||||||
|
*/
|
||||||
|
public TDocument tDocument() {
|
||||||
|
if (_tDocument == null)
|
||||||
|
_tDocument = new TDocument(this, Keys.T_LOCATION__T_LOCATION_FK_DOCUMENT_FKEY);
|
||||||
|
|
||||||
|
return _tDocument;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TLocation as(String alias) {
|
||||||
|
return new TLocation(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TLocation as(Name alias) {
|
||||||
|
return new TLocation(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TLocation rename(String name) {
|
||||||
|
return new TLocation(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TLocation rename(Name name) {
|
||||||
|
return new TLocation(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row4 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row4<Integer, String, String, Integer> fieldsRow() {
|
||||||
|
return (Row4) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,279 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersonRecord;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row19;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TPerson extends TableImpl<TPersonRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_person</code>
|
||||||
|
*/
|
||||||
|
public static final TPerson T_PERSON = new TPerson();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TPersonRecord> getRecordType() {
|
||||||
|
return TPersonRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.street</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> STREET = createField(DSL.name("street"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.zip</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> ZIP = createField(DSL.name("zip"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.city</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> CITY = createField(DSL.name("city"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.phone</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.birthdate</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, LocalDate> BIRTHDATE = createField(DSL.name("birthdate"), SQLDataType.LOCALDATE, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.camprole</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.email</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.fk_profile</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.accept</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, Boolean> ACCEPT = createField(DSL.name("accept"), SQLDataType.BOOLEAN, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.created</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, LocalDateTime> CREATED = createField(DSL.name("created"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.sex</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, EnumSex> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumSex.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.fk_registrator</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, Integer> FK_REGISTRATOR = createField(DSL.name("fk_registrator"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.paid</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, BigDecimal> PAID = createField(DSL.name("paid"), SQLDataType.NUMERIC(7, 2), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.comment</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, String> COMMENT = createField(DSL.name("comment"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_person.consent_catalog_photo</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersonRecord, Boolean> CONSENT_CATALOG_PHOTO = createField(DSL.name("consent_catalog_photo"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field("false", SQLDataType.BOOLEAN)), this, "");
|
||||||
|
|
||||||
|
private TPerson(Name alias, Table<TPersonRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TPerson(Name alias, Table<TPersonRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_person</code> table reference
|
||||||
|
*/
|
||||||
|
public TPerson(String alias) {
|
||||||
|
this(DSL.name(alias), T_PERSON);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_person</code> table reference
|
||||||
|
*/
|
||||||
|
public TPerson(Name alias) {
|
||||||
|
this(alias, T_PERSON);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_person</code> table reference
|
||||||
|
*/
|
||||||
|
public TPerson() {
|
||||||
|
this(DSL.name("t_person"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TPerson(Table<O> child, ForeignKey<O, TPersonRecord> key) {
|
||||||
|
super(child, key, T_PERSON);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TPersonRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TPersonRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TPersonRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_PERSON_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TPersonRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.UK_PERSON);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TPersonRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TCamp _tCamp;
|
||||||
|
private transient TProfile _tPersonFkProfileFkey;
|
||||||
|
private transient TProfile _tPersonFkRegistratorFkey;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_camp</code> table.
|
||||||
|
*/
|
||||||
|
public TCamp tCamp() {
|
||||||
|
if (_tCamp == null)
|
||||||
|
_tCamp = new TCamp(this, Keys.T_PERSON__T_PERSON_FK_CAMP_FKEY);
|
||||||
|
|
||||||
|
return _tCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_profile</code> table, via
|
||||||
|
* the <code>t_person_fk_profile_fkey</code> key.
|
||||||
|
*/
|
||||||
|
public TProfile tPersonFkProfileFkey() {
|
||||||
|
if (_tPersonFkProfileFkey == null)
|
||||||
|
_tPersonFkProfileFkey = new TProfile(this, Keys.T_PERSON__T_PERSON_FK_PROFILE_FKEY);
|
||||||
|
|
||||||
|
return _tPersonFkProfileFkey;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_profile</code> table, via
|
||||||
|
* the <code>t_person_fk_registrator_fkey</code> key.
|
||||||
|
*/
|
||||||
|
public TProfile tPersonFkRegistratorFkey() {
|
||||||
|
if (_tPersonFkRegistratorFkey == null)
|
||||||
|
_tPersonFkRegistratorFkey = new TProfile(this, Keys.T_PERSON__T_PERSON_FK_REGISTRATOR_FKEY);
|
||||||
|
|
||||||
|
return _tPersonFkRegistratorFkey;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TPerson as(String alias) {
|
||||||
|
return new TPerson(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TPerson as(Name alias) {
|
||||||
|
return new TPerson(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TPerson rename(String name) {
|
||||||
|
return new TPerson(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TPerson rename(Name name) {
|
||||||
|
return new TPerson(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row19 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row19<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, Integer, Integer, Boolean, LocalDateTime, EnumSex, Integer, BigDecimal, String, Boolean> fieldsRow() {
|
||||||
|
return (Row19) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,181 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TPersondocumentRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row5;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TPersondocument extends TableImpl<TPersondocumentRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_persondocument</code>
|
||||||
|
*/
|
||||||
|
public static final TPersondocument T_PERSONDOCUMENT = new TPersondocument();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TPersondocumentRecord> getRecordType() {
|
||||||
|
return TPersondocumentRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_persondocument.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersondocumentRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_persondocument.fk_person</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersondocumentRecord, Integer> FK_PERSON = createField(DSL.name("fk_person"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_persondocument.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersondocumentRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_persondocument.document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersondocumentRecord, String> DOCUMENT = createField(DSL.name("document"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_persondocument.filetype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TPersondocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, "");
|
||||||
|
|
||||||
|
private TPersondocument(Name alias, Table<TPersondocumentRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TPersondocument(Name alias, Table<TPersondocumentRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_persondocument</code> table reference
|
||||||
|
*/
|
||||||
|
public TPersondocument(String alias) {
|
||||||
|
this(DSL.name(alias), T_PERSONDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_persondocument</code> table reference
|
||||||
|
*/
|
||||||
|
public TPersondocument(Name alias) {
|
||||||
|
this(alias, T_PERSONDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_persondocument</code> table reference
|
||||||
|
*/
|
||||||
|
public TPersondocument() {
|
||||||
|
this(DSL.name("t_persondocument"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TPersondocument(Table<O> child, ForeignKey<O, TPersondocumentRecord> key) {
|
||||||
|
super(child, key, T_PERSONDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TPersondocumentRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TPersondocumentRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TPersondocumentRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_PERSONDOCUMENT_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TPersondocumentRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_PERSONDOCUMENT_FK_PERSON_NAME_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TPersondocumentRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TPerson _tPerson;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_person</code> table.
|
||||||
|
*/
|
||||||
|
public TPerson tPerson() {
|
||||||
|
if (_tPerson == null)
|
||||||
|
_tPerson = new TPerson(this, Keys.T_PERSONDOCUMENT__T_PERSONDOCUMENT_FK_PERSON_FKEY);
|
||||||
|
|
||||||
|
return _tPerson;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TPersondocument as(String alias) {
|
||||||
|
return new TPersondocument(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TPersondocument as(Name alias) {
|
||||||
|
return new TPersondocument(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TPersondocument rename(String name) {
|
||||||
|
return new TPersondocument(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TPersondocument rename(Name name) {
|
||||||
|
return new TPersondocument(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row5 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row5<Integer, Integer, String, String, EnumFiletype> fieldsRow() {
|
||||||
|
return (Row5) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,174 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileRecord;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row7;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TProfile extends TableImpl<TProfileRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_profile</code>
|
||||||
|
*/
|
||||||
|
public static final TProfile T_PROFILE = new TProfile();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TProfileRecord> getRecordType() {
|
||||||
|
return TProfileRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.username</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.password</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, String> PASSWORD = createField(DSL.name("password"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.duedate</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, LocalDateTime> DUEDATE = createField(DSL.name("duedate"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("(now() + '1 year'::interval)", SQLDataType.LOCALDATETIME)), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profile.uuid</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileRecord, String> UUID = createField(DSL.name("uuid"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
private TProfile(Name alias, Table<TProfileRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TProfile(Name alias, Table<TProfileRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_profile</code> table reference
|
||||||
|
*/
|
||||||
|
public TProfile(String alias) {
|
||||||
|
this(DSL.name(alias), T_PROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_profile</code> table reference
|
||||||
|
*/
|
||||||
|
public TProfile(Name alias) {
|
||||||
|
this(alias, T_PROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_profile</code> table reference
|
||||||
|
*/
|
||||||
|
public TProfile() {
|
||||||
|
this(DSL.name("t_profile"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TProfile(Table<O> child, ForeignKey<O, TProfileRecord> key) {
|
||||||
|
super(child, key, T_PROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TProfileRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TProfileRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TProfileRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_PROFILE_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TProfileRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_PROFILE_USERNAME_KEY, Keys.T_PROFILE_UUID_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TProfile as(String alias) {
|
||||||
|
return new TProfile(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TProfile as(Name alias) {
|
||||||
|
return new TProfile(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TProfile rename(String name) {
|
||||||
|
return new TProfile(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TProfile rename(Name name) {
|
||||||
|
return new TProfile(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row7 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row7<Integer, String, String, String, String, LocalDateTime, String> fieldsRow() {
|
||||||
|
return (Row7) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,155 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TProfileroleRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row2;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TProfilerole extends TableImpl<TProfileroleRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_profilerole</code>
|
||||||
|
*/
|
||||||
|
public static final TProfilerole T_PROFILEROLE = new TProfilerole();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TProfileroleRecord> getRecordType() {
|
||||||
|
return TProfileroleRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profilerole.fk_profile</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileroleRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_profilerole.role</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TProfileroleRecord, EnumRole> ROLE = createField(DSL.name("role"), SQLDataType.VARCHAR.nullable(false).asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumRole.class), this, "");
|
||||||
|
|
||||||
|
private TProfilerole(Name alias, Table<TProfileroleRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TProfilerole(Name alias, Table<TProfileroleRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_profilerole</code> table reference
|
||||||
|
*/
|
||||||
|
public TProfilerole(String alias) {
|
||||||
|
this(DSL.name(alias), T_PROFILEROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_profilerole</code> table reference
|
||||||
|
*/
|
||||||
|
public TProfilerole(Name alias) {
|
||||||
|
this(alias, T_PROFILEROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_profilerole</code> table reference
|
||||||
|
*/
|
||||||
|
public TProfilerole() {
|
||||||
|
this(DSL.name("t_profilerole"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TProfilerole(Table<O> child, ForeignKey<O, TProfileroleRecord> key) {
|
||||||
|
super(child, key, T_PROFILEROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TProfileroleRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_PROFILEROLE_FK_PROFILE_ROLE_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TProfileroleRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TProfile _tProfile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_profile</code> table.
|
||||||
|
*/
|
||||||
|
public TProfile tProfile() {
|
||||||
|
if (_tProfile == null)
|
||||||
|
_tProfile = new TProfile(this, Keys.T_PROFILEROLE__T_PROFILEROLE_FK_PROFILE_FKEY);
|
||||||
|
|
||||||
|
return _tProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TProfilerole as(String alias) {
|
||||||
|
return new TProfilerole(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TProfilerole as(Name alias) {
|
||||||
|
return new TProfilerole(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TProfilerole rename(String name) {
|
||||||
|
return new TProfilerole(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TProfilerole rename(Name name) {
|
||||||
|
return new TProfilerole(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row2 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row2<Integer, EnumRole> fieldsRow() {
|
||||||
|
return (Row2) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
152
src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TRss.java
Normal file
152
src/main/java/de/jottyfan/camporganizer/db/jooq/tables/TRss.java
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TRssRecord;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row4;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TRss extends TableImpl<TRssRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_rss</code>
|
||||||
|
*/
|
||||||
|
public static final TRss T_RSS = new TRss();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TRssRecord> getRecordType() {
|
||||||
|
return TRssRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_rss.msg</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TRssRecord, String> MSG = createField(DSL.name("msg"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_rss.regdate</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TRssRecord, LocalDateTime> REGDATE = createField(DSL.name("regdate"), SQLDataType.LOCALDATETIME(6).defaultValue(DSL.field("now()", SQLDataType.LOCALDATETIME)), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_rss.recipient</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TRssRecord, String> RECIPIENT = createField(DSL.name("recipient"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_rss.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TRssRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
private TRss(Name alias, Table<TRssRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TRss(Name alias, Table<TRssRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_rss</code> table reference
|
||||||
|
*/
|
||||||
|
public TRss(String alias) {
|
||||||
|
this(DSL.name(alias), T_RSS);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_rss</code> table reference
|
||||||
|
*/
|
||||||
|
public TRss(Name alias) {
|
||||||
|
this(alias, T_RSS);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_rss</code> table reference
|
||||||
|
*/
|
||||||
|
public TRss() {
|
||||||
|
this(DSL.name("t_rss"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TRss(Table<O> child, ForeignKey<O, TRssRecord> key) {
|
||||||
|
super(child, key, T_RSS);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TRssRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TRssRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TRssRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_RSS_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TRss as(String alias) {
|
||||||
|
return new TRss(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TRss as(Name alias) {
|
||||||
|
return new TRss(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TRss rename(String name) {
|
||||||
|
return new TRss(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TRss rename(Name name) {
|
||||||
|
return new TRss(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row4 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row4<String, LocalDateTime, String, Integer> fieldsRow() {
|
||||||
|
return (Row4) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,207 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesRecord;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row11;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TSales extends TableImpl<TSalesRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_sales</code>
|
||||||
|
*/
|
||||||
|
public static final TSales T_SALES = new TSales();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TSalesRecord> getRecordType() {
|
||||||
|
return TSalesRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.trader</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, String> TRADER = createField(DSL.name("trader"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.provider</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, String> PROVIDER = createField(DSL.name("provider"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.cash</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, BigDecimal> CASH = createField(DSL.name("cash"), SQLDataType.NUMERIC(11, 2).nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.buydate</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, LocalDateTime> BUYDATE = createField(DSL.name("buydate"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.recipenumber</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, String> RECIPENUMBER = createField(DSL.name("recipenumber"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.recipeshot</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, byte[]> RECIPESHOT = createField(DSL.name("recipeshot"), SQLDataType.BLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.recipenote</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, String> RECIPENOTE = createField(DSL.name("recipenote"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.incredients</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, String> INCREDIENTS = createField(DSL.name("incredients"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_sales.recipefilename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesRecord, String> RECIPEFILENAME = createField(DSL.name("recipefilename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
private TSales(Name alias, Table<TSalesRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TSales(Name alias, Table<TSalesRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_sales</code> table reference
|
||||||
|
*/
|
||||||
|
public TSales(String alias) {
|
||||||
|
this(DSL.name(alias), T_SALES);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_sales</code> table reference
|
||||||
|
*/
|
||||||
|
public TSales(Name alias) {
|
||||||
|
this(alias, T_SALES);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_sales</code> table reference
|
||||||
|
*/
|
||||||
|
public TSales() {
|
||||||
|
this(DSL.name("t_sales"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TSales(Table<O> child, ForeignKey<O, TSalesRecord> key) {
|
||||||
|
super(child, key, T_SALES);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TSalesRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TSalesRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TSalesRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_SALES_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TSalesRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_SALES__T_SALES_FK_CAMP_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TCamp _tCamp;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_camp</code> table.
|
||||||
|
*/
|
||||||
|
public TCamp tCamp() {
|
||||||
|
if (_tCamp == null)
|
||||||
|
_tCamp = new TCamp(this, Keys.T_SALES__T_SALES_FK_CAMP_FKEY);
|
||||||
|
|
||||||
|
return _tCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSales as(String alias) {
|
||||||
|
return new TSales(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSales as(Name alias) {
|
||||||
|
return new TSales(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSales rename(String name) {
|
||||||
|
return new TSales(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSales rename(Name name) {
|
||||||
|
return new TSales(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row11 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row11<Integer, String, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String, String> fieldsRow() {
|
||||||
|
return (Row11) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,137 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontentRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row2;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TSalescontent extends TableImpl<TSalescontentRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_salescontent</code>
|
||||||
|
*/
|
||||||
|
public static final TSalescontent T_SALESCONTENT = new TSalescontent();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TSalescontentRecord> getRecordType() {
|
||||||
|
return TSalescontentRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_salescontent.fk_sales</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalescontentRecord, Integer> FK_SALES = createField(DSL.name("fk_sales"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_salescontent.fk_salescontenttype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalescontentRecord, String> FK_SALESCONTENTTYPE = createField(DSL.name("fk_salescontenttype"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
private TSalescontent(Name alias, Table<TSalescontentRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TSalescontent(Name alias, Table<TSalescontentRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_salescontent</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalescontent(String alias) {
|
||||||
|
this(DSL.name(alias), T_SALESCONTENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_salescontent</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalescontent(Name alias) {
|
||||||
|
this(alias, T_SALESCONTENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_salescontent</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalescontent() {
|
||||||
|
this(DSL.name("t_salescontent"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TSalescontent(Table<O> child, ForeignKey<O, TSalescontentRecord> key) {
|
||||||
|
super(child, key, T_SALESCONTENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TSalescontentRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_SALESCONTENT_FK_SALES_FK_SALESCONTENTTYPE_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSalescontent as(String alias) {
|
||||||
|
return new TSalescontent(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSalescontent as(Name alias) {
|
||||||
|
return new TSalescontent(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSalescontent rename(String name) {
|
||||||
|
return new TSalescontent(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSalescontent rename(Name name) {
|
||||||
|
return new TSalescontent(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row2 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row2<Integer, String> fieldsRow() {
|
||||||
|
return (Row2) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,129 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalescontenttypeRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row1;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TSalescontenttype extends TableImpl<TSalescontenttypeRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_salescontenttype</code>
|
||||||
|
*/
|
||||||
|
public static final TSalescontenttype T_SALESCONTENTTYPE = new TSalescontenttype();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TSalescontenttypeRecord> getRecordType() {
|
||||||
|
return TSalescontenttypeRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_salescontenttype.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalescontenttypeRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB.nullable(false), this, "");
|
||||||
|
|
||||||
|
private TSalescontenttype(Name alias, Table<TSalescontenttypeRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TSalescontenttype(Name alias, Table<TSalescontenttypeRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_salescontenttype</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalescontenttype(String alias) {
|
||||||
|
this(DSL.name(alias), T_SALESCONTENTTYPE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_salescontenttype</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalescontenttype(Name alias) {
|
||||||
|
this(alias, T_SALESCONTENTTYPE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_salescontenttype</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalescontenttype() {
|
||||||
|
this(DSL.name("t_salescontenttype"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TSalescontenttype(Table<O> child, ForeignKey<O, TSalescontenttypeRecord> key) {
|
||||||
|
super(child, key, T_SALESCONTENTTYPE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TSalescontenttypeRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_SALESCONTENTTYPE_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSalescontenttype as(String alias) {
|
||||||
|
return new TSalescontenttype(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSalescontenttype as(Name alias) {
|
||||||
|
return new TSalescontenttype(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSalescontenttype rename(String name) {
|
||||||
|
return new TSalescontenttype(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSalescontenttype rename(Name name) {
|
||||||
|
return new TSalescontenttype(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row1 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row1<String> fieldsRow() {
|
||||||
|
return (Row1) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,181 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Keys;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.TSalesprofileRecord;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Identity;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row3;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.UniqueKey;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class TSalesprofile extends TableImpl<TSalesprofileRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.t_salesprofile</code>
|
||||||
|
*/
|
||||||
|
public static final TSalesprofile T_SALESPROFILE = new TSalesprofile();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<TSalesprofileRecord> getRecordType() {
|
||||||
|
return TSalesprofileRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_salesprofile.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesprofileRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER.nullable(false).identity(true), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_salesprofile.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesprofileRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.t_salesprofile.fk_profile</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<TSalesprofileRecord, Integer> FK_PROFILE = createField(DSL.name("fk_profile"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||||
|
|
||||||
|
private TSalesprofile(Name alias, Table<TSalesprofileRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private TSalesprofile(Name alias, Table<TSalesprofileRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_salesprofile</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalesprofile(String alias) {
|
||||||
|
this(DSL.name(alias), T_SALESPROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.t_salesprofile</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalesprofile(Name alias) {
|
||||||
|
this(alias, T_SALESPROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.t_salesprofile</code> table reference
|
||||||
|
*/
|
||||||
|
public TSalesprofile() {
|
||||||
|
this(DSL.name("t_salesprofile"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> TSalesprofile(Table<O> child, ForeignKey<O, TSalesprofileRecord> key) {
|
||||||
|
super(child, key, T_SALESPROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Identity<TSalesprofileRecord, Integer> getIdentity() {
|
||||||
|
return (Identity<TSalesprofileRecord, Integer>) super.getIdentity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public UniqueKey<TSalesprofileRecord> getPrimaryKey() {
|
||||||
|
return Keys.T_SALESPROFILE_PKEY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UniqueKey<TSalesprofileRecord>> getUniqueKeys() {
|
||||||
|
return Arrays.asList(Keys.T_SALESPROFILE_FK_CAMP_FK_PROFILE_KEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<ForeignKey<TSalesprofileRecord, ?>> getReferences() {
|
||||||
|
return Arrays.asList(Keys.T_SALESPROFILE__T_SALESPROFILE_FK_CAMP_FKEY, Keys.T_SALESPROFILE__T_SALESPROFILE_FK_PROFILE_FKEY);
|
||||||
|
}
|
||||||
|
|
||||||
|
private transient TCamp _tCamp;
|
||||||
|
private transient TProfile _tProfile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_camp</code> table.
|
||||||
|
*/
|
||||||
|
public TCamp tCamp() {
|
||||||
|
if (_tCamp == null)
|
||||||
|
_tCamp = new TCamp(this, Keys.T_SALESPROFILE__T_SALESPROFILE_FK_CAMP_FKEY);
|
||||||
|
|
||||||
|
return _tCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the implicit join path to the <code>camp.t_profile</code> table.
|
||||||
|
*/
|
||||||
|
public TProfile tProfile() {
|
||||||
|
if (_tProfile == null)
|
||||||
|
_tProfile = new TProfile(this, Keys.T_SALESPROFILE__T_SALESPROFILE_FK_PROFILE_FKEY);
|
||||||
|
|
||||||
|
return _tProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSalesprofile as(String alias) {
|
||||||
|
return new TSalesprofile(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TSalesprofile as(Name alias) {
|
||||||
|
return new TSalesprofile(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSalesprofile rename(String name) {
|
||||||
|
return new TSalesprofile(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public TSalesprofile rename(Name name) {
|
||||||
|
return new TSalesprofile(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row3 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row3<Integer, Integer, Integer> fieldsRow() {
|
||||||
|
return (Row3) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VAdultRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row5;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
import org.jooq.types.YearToSecond;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VAdult extends TableImpl<VAdultRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_adult</code>
|
||||||
|
*/
|
||||||
|
public static final VAdult V_ADULT = new VAdult();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VAdultRecord> getRecordType() {
|
||||||
|
return VAdultRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_adult.age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VAdultRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_adult.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VAdultRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_adult.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VAdultRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_adult.camprole</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VAdultRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_adult.adult</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VAdultRecord, Boolean> ADULT = createField(DSL.name("adult"), SQLDataType.BOOLEAN, this, "");
|
||||||
|
|
||||||
|
private VAdult(Name alias, Table<VAdultRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VAdult(Name alias, Table<VAdultRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_adult</code> table reference
|
||||||
|
*/
|
||||||
|
public VAdult(String alias) {
|
||||||
|
this(DSL.name(alias), V_ADULT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_adult</code> table reference
|
||||||
|
*/
|
||||||
|
public VAdult(Name alias) {
|
||||||
|
this(alias, V_ADULT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_adult</code> table reference
|
||||||
|
*/
|
||||||
|
public VAdult() {
|
||||||
|
this(DSL.name("v_adult"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VAdult(Table<O> child, ForeignKey<O, VAdultRecord> key) {
|
||||||
|
super(child, key, V_ADULT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VAdult as(String alias) {
|
||||||
|
return new VAdult(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VAdult as(Name alias) {
|
||||||
|
return new VAdult(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VAdult rename(String name) {
|
||||||
|
return new VAdult(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VAdult rename(Name name) {
|
||||||
|
return new VAdult(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row5 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row5<YearToSecond, String, String, EnumCamprole, Boolean> fieldsRow() {
|
||||||
|
return (Row5) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,144 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VBudgetRecord;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row5;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VBudget extends TableImpl<VBudgetRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_budget</code>
|
||||||
|
*/
|
||||||
|
public static final VBudget V_BUDGET = new VBudget();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VBudgetRecord> getRecordType() {
|
||||||
|
return VBudgetRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_budget.budget</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VBudgetRecord, BigDecimal> BUDGET = createField(DSL.name("budget"), SQLDataType.NUMERIC, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_budget.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VBudgetRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_budget.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VBudgetRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_budget.location</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VBudgetRecord, String> LOCATION = createField(DSL.name("location"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_budget.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VBudgetRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
private VBudget(Name alias, Table<VBudgetRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VBudget(Name alias, Table<VBudgetRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_budget</code> table reference
|
||||||
|
*/
|
||||||
|
public VBudget(String alias) {
|
||||||
|
this(DSL.name(alias), V_BUDGET);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_budget</code> table reference
|
||||||
|
*/
|
||||||
|
public VBudget(Name alias) {
|
||||||
|
this(alias, V_BUDGET);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_budget</code> table reference
|
||||||
|
*/
|
||||||
|
public VBudget() {
|
||||||
|
this(DSL.name("v_budget"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VBudget(Table<O> child, ForeignKey<O, VBudgetRecord> key) {
|
||||||
|
super(child, key, V_BUDGET);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VBudget as(String alias) {
|
||||||
|
return new VBudget(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VBudget as(Name alias) {
|
||||||
|
return new VBudget(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VBudget rename(String name) {
|
||||||
|
return new VBudget(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VBudget rename(Name name) {
|
||||||
|
return new VBudget(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row5 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row5<BigDecimal, Integer, String, String, Double> fieldsRow() {
|
||||||
|
return (Row5) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,184 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampRecord;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row13;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VCamp extends TableImpl<VCampRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_camp</code>
|
||||||
|
*/
|
||||||
|
public static final VCamp V_CAMP = new VCamp();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VCampRecord> getRecordType() {
|
||||||
|
return VCampRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.is_over</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, Boolean> IS_OVER = createField(DSL.name("is_over"), SQLDataType.BOOLEAN, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.arrive</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, LocalDateTime> ARRIVE = createField(DSL.name("arrive"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.depart</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, LocalDateTime> DEPART = createField(DSL.name("depart"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.location_name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, String> LOCATION_NAME = createField(DSL.name("location_name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.min_age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, Integer> MIN_AGE = createField(DSL.name("min_age"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.max_age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, Integer> MAX_AGE = createField(DSL.name("max_age"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.url</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, String> URL = createField(DSL.name("url"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.price</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, String> PRICE = createField(DSL.name("price"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.countries</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, String> COUNTRIES = createField(DSL.name("countries"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp.fk_document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
private VCamp(Name alias, Table<VCampRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VCamp(Name alias, Table<VCampRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camp</code> table reference
|
||||||
|
*/
|
||||||
|
public VCamp(String alias) {
|
||||||
|
this(DSL.name(alias), V_CAMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camp</code> table reference
|
||||||
|
*/
|
||||||
|
public VCamp(Name alias) {
|
||||||
|
this(alias, V_CAMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_camp</code> table reference
|
||||||
|
*/
|
||||||
|
public VCamp() {
|
||||||
|
this(DSL.name("v_camp"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VCamp(Table<O> child, ForeignKey<O, VCampRecord> key) {
|
||||||
|
super(child, key, V_CAMP);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCamp as(String alias) {
|
||||||
|
return new VCamp(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCamp as(Name alias) {
|
||||||
|
return new VCamp(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCamp rename(String name) {
|
||||||
|
return new VCamp(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCamp rename(Name name) {
|
||||||
|
return new VCamp(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row13 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row13<Integer, Boolean, String, LocalDateTime, LocalDateTime, Double, String, Integer, Integer, String, String, String, Integer> fieldsRow() {
|
||||||
|
return (Row13) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampBudgetRecord;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row4;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VCampBudget extends TableImpl<VCampBudgetRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_camp_budget</code>
|
||||||
|
*/
|
||||||
|
public static final VCampBudget V_CAMP_BUDGET = new VCampBudget();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VCampBudgetRecord> getRecordType() {
|
||||||
|
return VCampBudgetRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp_budget.budget</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampBudgetRecord, BigDecimal> BUDGET = createField(DSL.name("budget"), SQLDataType.NUMERIC, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp_budget.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampBudgetRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp_budget.camp_name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampBudgetRecord, String> CAMP_NAME = createField(DSL.name("camp_name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp_budget.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampBudgetRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
private VCampBudget(Name alias, Table<VCampBudgetRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VCampBudget(Name alias, Table<VCampBudgetRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camp_budget</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampBudget(String alias) {
|
||||||
|
this(DSL.name(alias), V_CAMP_BUDGET);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camp_budget</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampBudget(Name alias) {
|
||||||
|
this(alias, V_CAMP_BUDGET);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_camp_budget</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampBudget() {
|
||||||
|
this(DSL.name("v_camp_budget"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VCampBudget(Table<O> child, ForeignKey<O, VCampBudgetRecord> key) {
|
||||||
|
super(child, key, V_CAMP_BUDGET);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCampBudget as(String alias) {
|
||||||
|
return new VCampBudget(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCampBudget as(Name alias) {
|
||||||
|
return new VCampBudget(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCampBudget rename(String name) {
|
||||||
|
return new VCampBudget(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCampBudget rename(Name name) {
|
||||||
|
return new VCampBudget(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row4 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row4<BigDecimal, Integer, String, Double> fieldsRow() {
|
||||||
|
return (Row4) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,129 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampBudgetYearRecord;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row2;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VCampBudgetYear extends TableImpl<VCampBudgetYearRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_camp_budget_year</code>
|
||||||
|
*/
|
||||||
|
public static final VCampBudgetYear V_CAMP_BUDGET_YEAR = new VCampBudgetYear();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VCampBudgetYearRecord> getRecordType() {
|
||||||
|
return VCampBudgetYearRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp_budget_year.sum</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampBudgetYearRecord, BigDecimal> SUM = createField(DSL.name("sum"), SQLDataType.NUMERIC, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camp_budget_year.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampBudgetYearRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VCampBudgetYear(Name alias, Table<VCampBudgetYearRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camp_budget_year</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampBudgetYear(String alias) {
|
||||||
|
this(DSL.name(alias), V_CAMP_BUDGET_YEAR);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camp_budget_year</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampBudgetYear(Name alias) {
|
||||||
|
this(alias, V_CAMP_BUDGET_YEAR);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_camp_budget_year</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampBudgetYear() {
|
||||||
|
this(DSL.name("v_camp_budget_year"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VCampBudgetYear(Table<O> child, ForeignKey<O, VCampBudgetYearRecord> key) {
|
||||||
|
super(child, key, V_CAMP_BUDGET_YEAR);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCampBudgetYear as(String alias) {
|
||||||
|
return new VCampBudgetYear(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCampBudgetYear as(Name alias) {
|
||||||
|
return new VCampBudgetYear(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCampBudgetYear rename(String name) {
|
||||||
|
return new VCampBudgetYear(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCampBudgetYear rename(Name name) {
|
||||||
|
return new VCampBudgetYear(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row2 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row2<BigDecimal, Double> fieldsRow() {
|
||||||
|
return (Row2) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,161 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VCampdocumentRecord;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row8;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VCampdocument extends TableImpl<VCampdocumentRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_campdocument</code>
|
||||||
|
*/
|
||||||
|
public static final VCampdocument V_CAMPDOCUMENT = new VCampdocument();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VCampdocumentRecord> getRecordType() {
|
||||||
|
return VCampdocumentRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.campname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, String> CAMPNAME = createField(DSL.name("campname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.arrive</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, LocalDateTime> ARRIVE = createField(DSL.name("arrive"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.fk_document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, Integer> FK_DOCUMENT = createField(DSL.name("fk_document"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, String> DOCUMENT = createField(DSL.name("document"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.documentname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, String> DOCUMENTNAME = createField(DSL.name("documentname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.doctype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumDocument.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_campdocument.filetype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCampdocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, "");
|
||||||
|
|
||||||
|
private VCampdocument(Name alias, Table<VCampdocumentRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VCampdocument(Name alias, Table<VCampdocumentRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_campdocument</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampdocument(String alias) {
|
||||||
|
this(DSL.name(alias), V_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_campdocument</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampdocument(Name alias) {
|
||||||
|
this(alias, V_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_campdocument</code> table reference
|
||||||
|
*/
|
||||||
|
public VCampdocument() {
|
||||||
|
this(DSL.name("v_campdocument"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VCampdocument(Table<O> child, ForeignKey<O, VCampdocumentRecord> key) {
|
||||||
|
super(child, key, V_CAMPDOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCampdocument as(String alias) {
|
||||||
|
return new VCampdocument(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCampdocument as(Name alias) {
|
||||||
|
return new VCampdocument(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCampdocument rename(String name) {
|
||||||
|
return new VCampdocument(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCampdocument rename(Name name) {
|
||||||
|
return new VCampdocument(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row8 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row8<Integer, String, LocalDateTime, Integer, String, String, EnumDocument, EnumFiletype> fieldsRow() {
|
||||||
|
return (Row8) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,123 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VCamproleRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row1;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VCamprole extends TableImpl<VCamproleRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_camprole</code>
|
||||||
|
*/
|
||||||
|
public static final VCamprole V_CAMPROLE = new VCamprole();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VCamproleRecord> getRecordType() {
|
||||||
|
return VCamproleRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_camprole.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VCamproleRecord, EnumCamprole> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
|
||||||
|
|
||||||
|
private VCamprole(Name alias, Table<VCamproleRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VCamprole(Name alias, Table<VCamproleRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camprole</code> table reference
|
||||||
|
*/
|
||||||
|
public VCamprole(String alias) {
|
||||||
|
this(DSL.name(alias), V_CAMPROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_camprole</code> table reference
|
||||||
|
*/
|
||||||
|
public VCamprole(Name alias) {
|
||||||
|
this(alias, V_CAMPROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_camprole</code> table reference
|
||||||
|
*/
|
||||||
|
public VCamprole() {
|
||||||
|
this(DSL.name("v_camprole"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VCamprole(Table<O> child, ForeignKey<O, VCamproleRecord> key) {
|
||||||
|
super(child, key, V_CAMPROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCamprole as(String alias) {
|
||||||
|
return new VCamprole(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VCamprole as(Name alias) {
|
||||||
|
return new VCamprole(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCamprole rename(String name) {
|
||||||
|
return new VCamprole(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VCamprole rename(Name name) {
|
||||||
|
return new VCamprole(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row1 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row1<EnumCamprole> fieldsRow() {
|
||||||
|
return (Row1) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,149 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumDocument;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VDocumentRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row6;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VDocument extends TableImpl<VDocumentRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_document</code>
|
||||||
|
*/
|
||||||
|
public static final VDocument V_DOCUMENT = new VDocument();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VDocumentRecord> getRecordType() {
|
||||||
|
return VDocumentRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_document.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDocumentRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_document.doctype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDocumentRecord, EnumDocument> DOCTYPE = createField(DSL.name("doctype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumDocument.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_document.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDocumentRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_document.document</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDocumentRecord, String> DOCUMENT = createField(DSL.name("document"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_document.filetype</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDocumentRecord, EnumFiletype> FILETYPE = createField(DSL.name("filetype"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumFiletype.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_document.roles</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDocumentRecord, String> ROLES = createField(DSL.name("roles"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
private VDocument(Name alias, Table<VDocumentRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VDocument(Name alias, Table<VDocumentRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_document</code> table reference
|
||||||
|
*/
|
||||||
|
public VDocument(String alias) {
|
||||||
|
this(DSL.name(alias), V_DOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_document</code> table reference
|
||||||
|
*/
|
||||||
|
public VDocument(Name alias) {
|
||||||
|
this(alias, V_DOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_document</code> table reference
|
||||||
|
*/
|
||||||
|
public VDocument() {
|
||||||
|
this(DSL.name("v_document"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VDocument(Table<O> child, ForeignKey<O, VDocumentRecord> key) {
|
||||||
|
super(child, key, V_DOCUMENT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VDocument as(String alias) {
|
||||||
|
return new VDocument(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VDocument as(Name alias) {
|
||||||
|
return new VDocument(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VDocument rename(String name) {
|
||||||
|
return new VDocument(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VDocument rename(Name name) {
|
||||||
|
return new VDocument(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row6 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row6<Integer, EnumDocument, String, String, EnumFiletype, String> fieldsRow() {
|
||||||
|
return (Row6) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,166 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VDsgvoDeleteCandidateRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row9;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
import org.jooq.types.YearToSecond;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VDsgvoDeleteCandidate extends TableImpl<VDsgvoDeleteCandidateRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_dsgvo_delete_candidate</code>
|
||||||
|
*/
|
||||||
|
public static final VDsgvoDeleteCandidate V_DSGVO_DELETE_CANDIDATE = new VDsgvoDeleteCandidate();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VDsgvoDeleteCandidateRecord> getRecordType() {
|
||||||
|
return VDsgvoDeleteCandidateRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.fk_person</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, Integer> FK_PERSON = createField(DSL.name("fk_person"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.camprole</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_dsgvo_delete_candidate.is_over</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VDsgvoDeleteCandidateRecord, Boolean> IS_OVER = createField(DSL.name("is_over"), SQLDataType.BOOLEAN, this, "");
|
||||||
|
|
||||||
|
private VDsgvoDeleteCandidate(Name alias, Table<VDsgvoDeleteCandidateRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VDsgvoDeleteCandidate(Name alias, Table<VDsgvoDeleteCandidateRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_dsgvo_delete_candidate</code> table
|
||||||
|
* reference
|
||||||
|
*/
|
||||||
|
public VDsgvoDeleteCandidate(String alias) {
|
||||||
|
this(DSL.name(alias), V_DSGVO_DELETE_CANDIDATE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_dsgvo_delete_candidate</code> table
|
||||||
|
* reference
|
||||||
|
*/
|
||||||
|
public VDsgvoDeleteCandidate(Name alias) {
|
||||||
|
this(alias, V_DSGVO_DELETE_CANDIDATE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_dsgvo_delete_candidate</code> table reference
|
||||||
|
*/
|
||||||
|
public VDsgvoDeleteCandidate() {
|
||||||
|
this(DSL.name("v_dsgvo_delete_candidate"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VDsgvoDeleteCandidate(Table<O> child, ForeignKey<O, VDsgvoDeleteCandidateRecord> key) {
|
||||||
|
super(child, key, V_DSGVO_DELETE_CANDIDATE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VDsgvoDeleteCandidate as(String alias) {
|
||||||
|
return new VDsgvoDeleteCandidate(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VDsgvoDeleteCandidate as(Name alias) {
|
||||||
|
return new VDsgvoDeleteCandidate(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VDsgvoDeleteCandidate rename(String name) {
|
||||||
|
return new VDsgvoDeleteCandidate(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VDsgvoDeleteCandidate rename(Name name) {
|
||||||
|
return new VDsgvoDeleteCandidate(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row9 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row9<Integer, String, String, Integer, YearToSecond, EnumCamprole, String, Double, Boolean> fieldsRow() {
|
||||||
|
return (Row9) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,174 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumSex;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VFeederRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row11;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
import org.jooq.types.YearToSecond;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VFeeder extends TableImpl<VFeederRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_feeder</code>
|
||||||
|
*/
|
||||||
|
public static final VFeeder V_FEEDER = new VFeeder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VFeederRecord> getRecordType() {
|
||||||
|
return VFeederRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.street</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> STREET = createField(DSL.name("street"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.zip</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> ZIP = createField(DSL.name("zip"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.city</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> CITY = createField(DSL.name("city"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.phone</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.age</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, YearToSecond> AGE = createField(DSL.name("age"), SQLDataType.INTERVAL, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.email</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.sex</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, EnumSex> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumSex.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_feeder.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VFeederRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
private VFeeder(Name alias, Table<VFeederRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VFeeder(Name alias, Table<VFeederRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_feeder</code> table reference
|
||||||
|
*/
|
||||||
|
public VFeeder(String alias) {
|
||||||
|
this(DSL.name(alias), V_FEEDER);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_feeder</code> table reference
|
||||||
|
*/
|
||||||
|
public VFeeder(Name alias) {
|
||||||
|
this(alias, V_FEEDER);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_feeder</code> table reference
|
||||||
|
*/
|
||||||
|
public VFeeder() {
|
||||||
|
this(DSL.name("v_feeder"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VFeeder(Table<O> child, ForeignKey<O, VFeederRecord> key) {
|
||||||
|
super(child, key, V_FEEDER);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VFeeder as(String alias) {
|
||||||
|
return new VFeeder(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VFeeder as(Name alias) {
|
||||||
|
return new VFeeder(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VFeeder rename(String name) {
|
||||||
|
return new VFeeder(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VFeeder rename(Name name) {
|
||||||
|
return new VFeeder(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row11 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row11<String, String, String, String, String, String, YearToSecond, String, EnumSex, String, Double> fieldsRow() {
|
||||||
|
return (Row11) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,153 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VProfileRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row7;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VProfile extends TableImpl<VProfileRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_profile</code>
|
||||||
|
*/
|
||||||
|
public static final VProfile V_PROFILE = new VProfile();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VProfileRecord> getRecordType() {
|
||||||
|
return VProfileRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.username</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.password</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, String> PASSWORD = createField(DSL.name("password"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.uuid</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, String> UUID = createField(DSL.name("uuid"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_profile.roles</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VProfileRecord, EnumRole[]> ROLES = createField(DSL.name("roles"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumRole.class).getArrayDataType(), this, "");
|
||||||
|
|
||||||
|
private VProfile(Name alias, Table<VProfileRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VProfile(Name alias, Table<VProfileRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_profile</code> table reference
|
||||||
|
*/
|
||||||
|
public VProfile(String alias) {
|
||||||
|
this(DSL.name(alias), V_PROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_profile</code> table reference
|
||||||
|
*/
|
||||||
|
public VProfile(Name alias) {
|
||||||
|
this(alias, V_PROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_profile</code> table reference
|
||||||
|
*/
|
||||||
|
public VProfile() {
|
||||||
|
this(DSL.name("v_profile"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VProfile(Table<O> child, ForeignKey<O, VProfileRecord> key) {
|
||||||
|
super(child, key, V_PROFILE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VProfile as(String alias) {
|
||||||
|
return new VProfile(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VProfile as(Name alias) {
|
||||||
|
return new VProfile(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VProfile rename(String name) {
|
||||||
|
return new VProfile(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VProfile rename(Name name) {
|
||||||
|
return new VProfile(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row7 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row7<Integer, String, String, String, String, String, EnumRole[]> fieldsRow() {
|
||||||
|
return (Row7) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,175 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VRegistrationRecord;
|
||||||
|
|
||||||
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row11;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VRegistration extends TableImpl<VRegistrationRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_registration</code>
|
||||||
|
*/
|
||||||
|
public static final VRegistration V_REGISTRATION = new VRegistration();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VRegistrationRecord> getRecordType() {
|
||||||
|
return VRegistrationRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.forename</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> FORENAME = createField(DSL.name("forename"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.surname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.street</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> STREET = createField(DSL.name("street"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.zip</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> ZIP = createField(DSL.name("zip"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.city</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> CITY = createField(DSL.name("city"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.phone</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.birthdate</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, LocalDate> BIRTHDATE = createField(DSL.name("birthdate"), SQLDataType.LOCALDATE, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.camprole</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, EnumCamprole> CAMPROLE = createField(DSL.name("camprole"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumCamprole.class), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.email</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_registration.campname</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRegistrationRecord, String> CAMPNAME = createField(DSL.name("campname"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
private VRegistration(Name alias, Table<VRegistrationRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VRegistration(Name alias, Table<VRegistrationRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_registration</code> table reference
|
||||||
|
*/
|
||||||
|
public VRegistration(String alias) {
|
||||||
|
this(DSL.name(alias), V_REGISTRATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_registration</code> table reference
|
||||||
|
*/
|
||||||
|
public VRegistration(Name alias) {
|
||||||
|
this(alias, V_REGISTRATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_registration</code> table reference
|
||||||
|
*/
|
||||||
|
public VRegistration() {
|
||||||
|
this(DSL.name("v_registration"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VRegistration(Table<O> child, ForeignKey<O, VRegistrationRecord> key) {
|
||||||
|
super(child, key, V_REGISTRATION);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VRegistration as(String alias) {
|
||||||
|
return new VRegistration(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VRegistration as(Name alias) {
|
||||||
|
return new VRegistration(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VRegistration rename(String name) {
|
||||||
|
return new VRegistration(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VRegistration rename(Name name) {
|
||||||
|
return new VRegistration(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row11 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row11<Integer, String, String, String, String, String, String, LocalDate, EnumCamprole, String, String> fieldsRow() {
|
||||||
|
return (Row11) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,123 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.enums.EnumRole;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VRoleRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row1;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VRole extends TableImpl<VRoleRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_role</code>
|
||||||
|
*/
|
||||||
|
public static final VRole V_ROLE = new VRole();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VRoleRecord> getRecordType() {
|
||||||
|
return VRoleRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_role.unnest</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VRoleRecord, EnumRole> UNNEST = createField(DSL.name("unnest"), SQLDataType.VARCHAR.asEnumDataType(de.jottyfan.camporganizer.db.jooq.enums.EnumRole.class), this, "");
|
||||||
|
|
||||||
|
private VRole(Name alias, Table<VRoleRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VRole(Name alias, Table<VRoleRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_role</code> table reference
|
||||||
|
*/
|
||||||
|
public VRole(String alias) {
|
||||||
|
this(DSL.name(alias), V_ROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_role</code> table reference
|
||||||
|
*/
|
||||||
|
public VRole(Name alias) {
|
||||||
|
this(alias, V_ROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_role</code> table reference
|
||||||
|
*/
|
||||||
|
public VRole() {
|
||||||
|
this(DSL.name("v_role"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VRole(Table<O> child, ForeignKey<O, VRoleRecord> key) {
|
||||||
|
super(child, key, V_ROLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VRole as(String alias) {
|
||||||
|
return new VRole(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VRole as(Name alias) {
|
||||||
|
return new VRole(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VRole rename(String name) {
|
||||||
|
return new VRole(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VRole rename(Name name) {
|
||||||
|
return new VRole(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row1 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row1<EnumRole> fieldsRow() {
|
||||||
|
return (Row1) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,200 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VSalesRecord;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row16;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VSales extends TableImpl<VSalesRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_sales</code>
|
||||||
|
*/
|
||||||
|
public static final VSales V_SALES = new VSales();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VSalesRecord> getRecordType() {
|
||||||
|
return VSalesRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.pk</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, Integer> PK = createField(DSL.name("pk"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.trader</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> TRADER = createField(DSL.name("trader"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, Integer> FK_CAMP = createField(DSL.name("fk_camp"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.name</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> NAME = createField(DSL.name("name"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.fk_location</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, Integer> FK_LOCATION = createField(DSL.name("fk_location"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.location</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> LOCATION = createField(DSL.name("location"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.incredients</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> INCREDIENTS = createField(DSL.name("incredients"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.year</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, Double> YEAR = createField(DSL.name("year"), SQLDataType.DOUBLE, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.fk_sales</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, Integer> FK_SALES = createField(DSL.name("fk_sales"), SQLDataType.INTEGER, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.provider</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> PROVIDER = createField(DSL.name("provider"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.cash</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, BigDecimal> CASH = createField(DSL.name("cash"), SQLDataType.NUMERIC(11, 2), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.buydate</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, LocalDateTime> BUYDATE = createField(DSL.name("buydate"), SQLDataType.LOCALDATETIME(6), this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.recipenumber</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> RECIPENUMBER = createField(DSL.name("recipenumber"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.recipeshot</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, byte[]> RECIPESHOT = createField(DSL.name("recipeshot"), SQLDataType.BLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.recipenote</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String> RECIPENOTE = createField(DSL.name("recipenote"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_sales.content</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VSalesRecord, String[]> CONTENT = createField(DSL.name("content"), SQLDataType.CLOB.getArrayDataType(), this, "");
|
||||||
|
|
||||||
|
private VSales(Name alias, Table<VSalesRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VSales(Name alias, Table<VSalesRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_sales</code> table reference
|
||||||
|
*/
|
||||||
|
public VSales(String alias) {
|
||||||
|
this(DSL.name(alias), V_SALES);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_sales</code> table reference
|
||||||
|
*/
|
||||||
|
public VSales(Name alias) {
|
||||||
|
this(alias, V_SALES);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_sales</code> table reference
|
||||||
|
*/
|
||||||
|
public VSales() {
|
||||||
|
this(DSL.name("v_sales"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VSales(Table<O> child, ForeignKey<O, VSalesRecord> key) {
|
||||||
|
super(child, key, V_SALES);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VSales as(String alias) {
|
||||||
|
return new VSales(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VSales as(Name alias) {
|
||||||
|
return new VSales(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VSales rename(String name) {
|
||||||
|
return new VSales(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VSales rename(Name name) {
|
||||||
|
return new VSales(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row16 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row16<Integer, String, Integer, String, Integer, String, String, Double, Integer, String, BigDecimal, LocalDateTime, String, byte[], String, String[]> fieldsRow() {
|
||||||
|
return (Row16) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* This file is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
package de.jottyfan.camporganizer.db.jooq.tables;
|
||||||
|
|
||||||
|
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.Camp;
|
||||||
|
import de.jottyfan.camporganizer.db.jooq.tables.records.VVersionRecord;
|
||||||
|
|
||||||
|
import org.jooq.Field;
|
||||||
|
import org.jooq.ForeignKey;
|
||||||
|
import org.jooq.Name;
|
||||||
|
import org.jooq.Record;
|
||||||
|
import org.jooq.Row1;
|
||||||
|
import org.jooq.Schema;
|
||||||
|
import org.jooq.Table;
|
||||||
|
import org.jooq.TableField;
|
||||||
|
import org.jooq.TableOptions;
|
||||||
|
import org.jooq.impl.DSL;
|
||||||
|
import org.jooq.impl.SQLDataType;
|
||||||
|
import org.jooq.impl.TableImpl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VVersion extends TableImpl<VVersionRecord> {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The reference instance of <code>camp.v_version</code>
|
||||||
|
*/
|
||||||
|
public static final VVersion V_VERSION = new VVersion();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The class holding records for this type
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Class<VVersionRecord> getRecordType() {
|
||||||
|
return VVersionRecord.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The column <code>camp.v_version.version</code>.
|
||||||
|
*/
|
||||||
|
public final TableField<VVersionRecord, String> VERSION = createField(DSL.name("version"), SQLDataType.CLOB, this, "");
|
||||||
|
|
||||||
|
private VVersion(Name alias, Table<VVersionRecord> aliased) {
|
||||||
|
this(alias, aliased, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
private VVersion(Name alias, Table<VVersionRecord> aliased, Field<?>[] parameters) {
|
||||||
|
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_version</code> table reference
|
||||||
|
*/
|
||||||
|
public VVersion(String alias) {
|
||||||
|
this(DSL.name(alias), V_VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an aliased <code>camp.v_version</code> table reference
|
||||||
|
*/
|
||||||
|
public VVersion(Name alias) {
|
||||||
|
this(alias, V_VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a <code>camp.v_version</code> table reference
|
||||||
|
*/
|
||||||
|
public VVersion() {
|
||||||
|
this(DSL.name("v_version"), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public <O extends Record> VVersion(Table<O> child, ForeignKey<O, VVersionRecord> key) {
|
||||||
|
super(child, key, V_VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Schema getSchema() {
|
||||||
|
return aliased() ? null : Camp.CAMP;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VVersion as(String alias) {
|
||||||
|
return new VVersion(DSL.name(alias), this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public VVersion as(Name alias) {
|
||||||
|
return new VVersion(alias, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VVersion rename(String name) {
|
||||||
|
return new VVersion(DSL.name(name), null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rename this table
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public VVersion rename(Name name) {
|
||||||
|
return new VVersion(name, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
// Row1 type methods
|
||||||
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Row1<String> fieldsRow() {
|
||||||
|
return (Row1) super.fieldsRow();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,179 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,70 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,84 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,97 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,72 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,82 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,268 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
) {
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
@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(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,96 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,119 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,60 @@
|
|||||||
|
/*
|
||||||
|
* 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 String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("TProfilerole (");
|
||||||
|
|
||||||
|
sb.append(fkProfile);
|
||||||
|
sb.append(", ").append(role);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,83 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,168 @@
|
|||||||
|
/*
|
||||||
|
* 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;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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 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,58 @@
|
|||||||
|
/*
|
||||||
|
* 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 String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("TSalescontent (");
|
||||||
|
|
||||||
|
sb.append(fkSales);
|
||||||
|
sb.append(", ").append(fkSalescontenttype);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* 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 String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("TSalescontenttype (");
|
||||||
|
|
||||||
|
sb.append(name);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,70 @@
|
|||||||
|
/*
|
||||||
|
* 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 TSalesprofile implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private final Integer pk;
|
||||||
|
private final Integer fkCamp;
|
||||||
|
private final Integer fkProfile;
|
||||||
|
|
||||||
|
public TSalesprofile(TSalesprofile value) {
|
||||||
|
this.pk = value.pk;
|
||||||
|
this.fkCamp = value.fkCamp;
|
||||||
|
this.fkProfile = value.fkProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
public TSalesprofile(
|
||||||
|
Integer pk,
|
||||||
|
Integer fkCamp,
|
||||||
|
Integer fkProfile
|
||||||
|
) {
|
||||||
|
this.pk = pk;
|
||||||
|
this.fkCamp = fkCamp;
|
||||||
|
this.fkProfile = fkProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.t_salesprofile.pk</code>.
|
||||||
|
*/
|
||||||
|
public Integer getPk() {
|
||||||
|
return this.pk;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.t_salesprofile.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public Integer getFkCamp() {
|
||||||
|
return this.fkCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.t_salesprofile.fk_profile</code>.
|
||||||
|
*/
|
||||||
|
public Integer getFkProfile() {
|
||||||
|
return this.fkProfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("TSalesprofile (");
|
||||||
|
|
||||||
|
sb.append(pk);
|
||||||
|
sb.append(", ").append(fkCamp);
|
||||||
|
sb.append(", ").append(fkProfile);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,98 @@
|
|||||||
|
/*
|
||||||
|
* 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 org.jooq.types.YearToSecond;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VAdult implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private final YearToSecond age;
|
||||||
|
private final String forename;
|
||||||
|
private final String surname;
|
||||||
|
private final EnumCamprole camprole;
|
||||||
|
private final Boolean adult;
|
||||||
|
|
||||||
|
public VAdult(VAdult value) {
|
||||||
|
this.age = value.age;
|
||||||
|
this.forename = value.forename;
|
||||||
|
this.surname = value.surname;
|
||||||
|
this.camprole = value.camprole;
|
||||||
|
this.adult = value.adult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public VAdult(
|
||||||
|
YearToSecond age,
|
||||||
|
String forename,
|
||||||
|
String surname,
|
||||||
|
EnumCamprole camprole,
|
||||||
|
Boolean adult
|
||||||
|
) {
|
||||||
|
this.age = age;
|
||||||
|
this.forename = forename;
|
||||||
|
this.surname = surname;
|
||||||
|
this.camprole = camprole;
|
||||||
|
this.adult = adult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_adult.age</code>.
|
||||||
|
*/
|
||||||
|
public YearToSecond getAge() {
|
||||||
|
return this.age;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_adult.forename</code>.
|
||||||
|
*/
|
||||||
|
public String getForename() {
|
||||||
|
return this.forename;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_adult.surname</code>.
|
||||||
|
*/
|
||||||
|
public String getSurname() {
|
||||||
|
return this.surname;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_adult.camprole</code>.
|
||||||
|
*/
|
||||||
|
public EnumCamprole getCamprole() {
|
||||||
|
return this.camprole;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_adult.adult</code>.
|
||||||
|
*/
|
||||||
|
public Boolean getAdult() {
|
||||||
|
return this.adult;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("VAdult (");
|
||||||
|
|
||||||
|
sb.append(age);
|
||||||
|
sb.append(", ").append(forename);
|
||||||
|
sb.append(", ").append(surname);
|
||||||
|
sb.append(", ").append(camprole);
|
||||||
|
sb.append(", ").append(adult);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,191 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,83 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,59 @@
|
|||||||
|
/*
|
||||||
|
* 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 String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("VCampBudgetYear (");
|
||||||
|
|
||||||
|
sb.append(sum);
|
||||||
|
sb.append(", ").append(year);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,134 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,48 @@
|
|||||||
|
/*
|
||||||
|
* 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 String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("VCamprole (");
|
||||||
|
|
||||||
|
sb.append(name);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,109 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,146 @@
|
|||||||
|
/*
|
||||||
|
* 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 org.jooq.types.YearToSecond;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VDsgvoDeleteCandidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private final Integer fkPerson;
|
||||||
|
private final String forename;
|
||||||
|
private final String surname;
|
||||||
|
private final Integer fkCamp;
|
||||||
|
private final YearToSecond age;
|
||||||
|
private final EnumCamprole camprole;
|
||||||
|
private final String name;
|
||||||
|
private final Double year;
|
||||||
|
private final Boolean isOver;
|
||||||
|
|
||||||
|
public VDsgvoDeleteCandidate(VDsgvoDeleteCandidate value) {
|
||||||
|
this.fkPerson = value.fkPerson;
|
||||||
|
this.forename = value.forename;
|
||||||
|
this.surname = value.surname;
|
||||||
|
this.fkCamp = value.fkCamp;
|
||||||
|
this.age = value.age;
|
||||||
|
this.camprole = value.camprole;
|
||||||
|
this.name = value.name;
|
||||||
|
this.year = value.year;
|
||||||
|
this.isOver = value.isOver;
|
||||||
|
}
|
||||||
|
|
||||||
|
public VDsgvoDeleteCandidate(
|
||||||
|
Integer fkPerson,
|
||||||
|
String forename,
|
||||||
|
String surname,
|
||||||
|
Integer fkCamp,
|
||||||
|
YearToSecond age,
|
||||||
|
EnumCamprole camprole,
|
||||||
|
String name,
|
||||||
|
Double year,
|
||||||
|
Boolean isOver
|
||||||
|
) {
|
||||||
|
this.fkPerson = fkPerson;
|
||||||
|
this.forename = forename;
|
||||||
|
this.surname = surname;
|
||||||
|
this.fkCamp = fkCamp;
|
||||||
|
this.age = age;
|
||||||
|
this.camprole = camprole;
|
||||||
|
this.name = name;
|
||||||
|
this.year = year;
|
||||||
|
this.isOver = isOver;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.fk_person</code>.
|
||||||
|
*/
|
||||||
|
public Integer getFkPerson() {
|
||||||
|
return this.fkPerson;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.forename</code>.
|
||||||
|
*/
|
||||||
|
public String getForename() {
|
||||||
|
return this.forename;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.surname</code>.
|
||||||
|
*/
|
||||||
|
public String getSurname() {
|
||||||
|
return this.surname;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.fk_camp</code>.
|
||||||
|
*/
|
||||||
|
public Integer getFkCamp() {
|
||||||
|
return this.fkCamp;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.age</code>.
|
||||||
|
*/
|
||||||
|
public YearToSecond getAge() {
|
||||||
|
return this.age;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.camprole</code>.
|
||||||
|
*/
|
||||||
|
public EnumCamprole getCamprole() {
|
||||||
|
return this.camprole;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.name</code>.
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return this.name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.year</code>.
|
||||||
|
*/
|
||||||
|
public Double getYear() {
|
||||||
|
return this.year;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_dsgvo_delete_candidate.is_over</code>.
|
||||||
|
*/
|
||||||
|
public Boolean getIsOver() {
|
||||||
|
return this.isOver;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("VDsgvoDeleteCandidate (");
|
||||||
|
|
||||||
|
sb.append(fkPerson);
|
||||||
|
sb.append(", ").append(forename);
|
||||||
|
sb.append(", ").append(surname);
|
||||||
|
sb.append(", ").append(fkCamp);
|
||||||
|
sb.append(", ").append(age);
|
||||||
|
sb.append(", ").append(camprole);
|
||||||
|
sb.append(", ").append(name);
|
||||||
|
sb.append(", ").append(year);
|
||||||
|
sb.append(", ").append(isOver);
|
||||||
|
|
||||||
|
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.EnumSex;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import org.jooq.types.YearToSecond;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is generated by jOOQ.
|
||||||
|
*/
|
||||||
|
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||||
|
public class VFeeder implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
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 YearToSecond age;
|
||||||
|
private final String email;
|
||||||
|
private final EnumSex sex;
|
||||||
|
private final String name;
|
||||||
|
private final Double year;
|
||||||
|
|
||||||
|
public VFeeder(VFeeder value) {
|
||||||
|
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.age = value.age;
|
||||||
|
this.email = value.email;
|
||||||
|
this.sex = value.sex;
|
||||||
|
this.name = value.name;
|
||||||
|
this.year = value.year;
|
||||||
|
}
|
||||||
|
|
||||||
|
public VFeeder(
|
||||||
|
String forename,
|
||||||
|
String surname,
|
||||||
|
String street,
|
||||||
|
String zip,
|
||||||
|
String city,
|
||||||
|
String phone,
|
||||||
|
YearToSecond age,
|
||||||
|
String email,
|
||||||
|
EnumSex sex,
|
||||||
|
String name,
|
||||||
|
Double year
|
||||||
|
) {
|
||||||
|
this.forename = forename;
|
||||||
|
this.surname = surname;
|
||||||
|
this.street = street;
|
||||||
|
this.zip = zip;
|
||||||
|
this.city = city;
|
||||||
|
this.phone = phone;
|
||||||
|
this.age = age;
|
||||||
|
this.email = email;
|
||||||
|
this.sex = sex;
|
||||||
|
this.name = name;
|
||||||
|
this.year = year;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.forename</code>.
|
||||||
|
*/
|
||||||
|
public String getForename() {
|
||||||
|
return this.forename;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.surname</code>.
|
||||||
|
*/
|
||||||
|
public String getSurname() {
|
||||||
|
return this.surname;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.street</code>.
|
||||||
|
*/
|
||||||
|
public String getStreet() {
|
||||||
|
return this.street;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.zip</code>.
|
||||||
|
*/
|
||||||
|
public String getZip() {
|
||||||
|
return this.zip;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.city</code>.
|
||||||
|
*/
|
||||||
|
public String getCity() {
|
||||||
|
return this.city;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.phone</code>.
|
||||||
|
*/
|
||||||
|
public String getPhone() {
|
||||||
|
return this.phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.age</code>.
|
||||||
|
*/
|
||||||
|
public YearToSecond getAge() {
|
||||||
|
return this.age;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.email</code>.
|
||||||
|
*/
|
||||||
|
public String getEmail() {
|
||||||
|
return this.email;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.sex</code>.
|
||||||
|
*/
|
||||||
|
public EnumSex getSex() {
|
||||||
|
return this.sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.name</code>.
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return this.name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for <code>camp.v_feeder.year</code>.
|
||||||
|
*/
|
||||||
|
public Double getYear() {
|
||||||
|
return this.year;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("VFeeder (");
|
||||||
|
|
||||||
|
sb.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(age);
|
||||||
|
sb.append(", ").append(email);
|
||||||
|
sb.append(", ").append(sex);
|
||||||
|
sb.append(", ").append(name);
|
||||||
|
sb.append(", ").append(year);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,121 @@
|
|||||||
|
/*
|
||||||
|
* 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 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.toString(roles));
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,169 @@
|
|||||||
|
/*
|
||||||
|
* 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 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,48 @@
|
|||||||
|
/*
|
||||||
|
* 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 String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder("VRole (");
|
||||||
|
|
||||||
|
sb.append(unnest);
|
||||||
|
|
||||||
|
sb.append(")");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user