SUPPORT-9212: переход на idm3 реконсиляция
This commit is contained in:
parent
6c0df3a717
commit
5322bcc41d
16 changed files with 2757 additions and 510 deletions
|
|
@ -11,29 +11,41 @@ import org.jooq.impl.DSL;
|
|||
import org.jooq.impl.Internal;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.IpDirectory;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationIpAddress;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUpdateIpAddress;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserApplicationRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserApplicationUpdateRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentIp;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentSolution;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Shedlock;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Solution;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.SolutionRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationListAudit;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserIp;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.DatabasechangeloglockRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.IpDirectoryRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.JobPositionRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.LinkUserApplicationIpAddressRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.LinkUserApplicationUpdateIpAddressRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.LinkUserApplicationUserApplicationRoleRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.LinkUserApplicationUserApplicationUpdateRoleRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentIpRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentSolutionRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.ShedlockRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.SolutionRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.SolutionRoleRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationDocumentRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationListAuditRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationListRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserApplicationRoleRecord;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.UserIpRecord;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -48,6 +60,7 @@ public class Keys {
|
|||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<DatabasechangeloglockRecord> DATABASECHANGELOGLOCK_PKEY = Internal.createUniqueKey(Databasechangeloglock.DATABASECHANGELOGLOCK, DSL.name("databasechangeloglock_pkey"), new TableField[] { Databasechangeloglock.DATABASECHANGELOGLOCK.ID }, true);
|
||||
public static final UniqueKey<IpDirectoryRecord> IP_DIRECTORY_PKEY = Internal.createUniqueKey(IpDirectory.IP_DIRECTORY, DSL.name("ip_directory_pkey"), new TableField[] { IpDirectory.IP_DIRECTORY.IP_ADDRESS }, true);
|
||||
public static final UniqueKey<JobPositionRecord> PK_JOB_POSITION = Internal.createUniqueKey(JobPosition.JOB_POSITION, DSL.name("pk_job_position"), new TableField[] { JobPosition.JOB_POSITION.JOB_POSITION_ID }, true);
|
||||
public static final UniqueKey<LinkUserApplicationIpAddressRecord> IP_ADDRESS = Internal.createUniqueKey(LinkUserApplicationIpAddress.LINK_USER_APPLICATION_IP_ADDRESS, DSL.name("ip_address"), new TableField[] { LinkUserApplicationIpAddress.LINK_USER_APPLICATION_IP_ADDRESS.USER_APPLICATION_LIST_ID, LinkUserApplicationIpAddress.LINK_USER_APPLICATION_IP_ADDRESS.IP_ADDRESS }, true);
|
||||
public static final UniqueKey<LinkUserApplicationIpAddressRecord> PK_LINK_USER_APPLICATION_IP_ADDRESS = Internal.createUniqueKey(LinkUserApplicationIpAddress.LINK_USER_APPLICATION_IP_ADDRESS, DSL.name("pk_link_user_application_ip_address"), new TableField[] { LinkUserApplicationIpAddress.LINK_USER_APPLICATION_IP_ADDRESS.LINK_USER_APPLICATION_IP_ADDRESS_ID }, true);
|
||||
|
|
@ -59,12 +72,17 @@ public class Keys {
|
|||
public static final UniqueKey<LinkUserApplicationUserApplicationUpdateRoleRecord> UNI_USER_APPLICATION_UPDATE_ROLE = Internal.createUniqueKey(LinkUserApplicationUserApplicationUpdateRole.LINK_USER_APPLICATION_USER_APPLICATION_UPDATE_ROLE, DSL.name("uni_user_application_update_role"), new TableField[] { LinkUserApplicationUserApplicationUpdateRole.LINK_USER_APPLICATION_USER_APPLICATION_UPDATE_ROLE.USER_APPLICATION_LIST_ID, LinkUserApplicationUserApplicationUpdateRole.LINK_USER_APPLICATION_USER_APPLICATION_UPDATE_ROLE.USER_UPDATE_ROLE_ID }, true);
|
||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_IDM_ID_KEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_idm_id_key"), new TableField[] { Recruitment.RECRUITMENT.IDM_ID }, true);
|
||||
public static final UniqueKey<RecruitmentRecord> RECRUITMENT_PKEY = Internal.createUniqueKey(Recruitment.RECRUITMENT, DSL.name("recruitment_pkey"), new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final UniqueKey<RecruitmentIpRecord> PK_RECRUITMENT_IP = Internal.createUniqueKey(RecruitmentIp.RECRUITMENT_IP, DSL.name("pk_recruitment_ip"), new TableField[] { RecruitmentIp.RECRUITMENT_IP.RECRUITMENT_ID, RecruitmentIp.RECRUITMENT_IP.IP_ADDRESS }, true);
|
||||
public static final UniqueKey<RecruitmentSolutionRecord> PK_RECRUITMENT_SOLUTION = Internal.createUniqueKey(RecruitmentSolution.RECRUITMENT_SOLUTION, DSL.name("pk_recruitment_solution"), new TableField[] { RecruitmentSolution.RECRUITMENT_SOLUTION.RECRUITMENT_ID, RecruitmentSolution.RECRUITMENT_SOLUTION.SOLUTION_ID }, true);
|
||||
public static final UniqueKey<ShedlockRecord> SHEDLOCK_PK = Internal.createUniqueKey(Shedlock.SHEDLOCK, DSL.name("shedlock_pk"), new TableField[] { Shedlock.SHEDLOCK.NAME }, true);
|
||||
public static final UniqueKey<SolutionRecord> SOLUTION_PKEY = Internal.createUniqueKey(Solution.SOLUTION, DSL.name("solution_pkey"), new TableField[] { Solution.SOLUTION.ID }, true);
|
||||
public static final UniqueKey<SolutionRoleRecord> PK_SOLUTION_ROLE = Internal.createUniqueKey(SolutionRole.SOLUTION_ROLE, DSL.name("pk_solution_role"), new TableField[] { SolutionRole.SOLUTION_ROLE.ROLE_ID, SolutionRole.SOLUTION_ROLE.SOLUTION_ID }, true);
|
||||
public static final UniqueKey<UserApplicationDocumentRecord> PK_USER_APPLICATION_DOCUMENT = Internal.createUniqueKey(UserApplicationDocument.USER_APPLICATION_DOCUMENT, DSL.name("pk_user_application_document"), new TableField[] { UserApplicationDocument.USER_APPLICATION_DOCUMENT.USER_APPLICATION_DOCUMENT_ID }, true);
|
||||
public static final UniqueKey<UserApplicationListRecord> PK_USER_APPLICATION_LIST = Internal.createUniqueKey(UserApplicationList.USER_APPLICATION_LIST, DSL.name("pk_user_application_list"), new TableField[] { UserApplicationList.USER_APPLICATION_LIST.USER_APPLICATION_LIST_ID }, true);
|
||||
public static final UniqueKey<UserApplicationListAuditRecord> USER_APPLICATION_LIST_AUDIT_PKEY = Internal.createUniqueKey(UserApplicationListAudit.USER_APPLICATION_LIST_AUDIT, DSL.name("user_application_list_audit_pkey"), new TableField[] { UserApplicationListAudit.USER_APPLICATION_LIST_AUDIT.ID }, true);
|
||||
public static final UniqueKey<UserApplicationRoleRecord> USER_APPLICATION_ROLE_PKEY = Internal.createUniqueKey(UserApplicationRole.USER_APPLICATION_ROLE, DSL.name("user_application_role_pkey"), new TableField[] { UserApplicationRole.USER_APPLICATION_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<UserApplicationRoleRecord> USER_APPLICATION_ROLE_ROLE_NAME_KEY = Internal.createUniqueKey(UserApplicationRole.USER_APPLICATION_ROLE, DSL.name("user_application_role_role_name_key"), new TableField[] { UserApplicationRole.USER_APPLICATION_ROLE.ROLE_NAME }, true);
|
||||
public static final UniqueKey<UserIpRecord> USER_IP_PKEY = Internal.createUniqueKey(UserIp.USER_IP, DSL.name("user_ip_pkey"), new TableField[] { UserIp.USER_IP.USER_ID, UserIp.USER_IP.IP_ADDRESS }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
|
|
|
|||
|
|
@ -15,17 +15,23 @@ import org.jooq.impl.SchemaImpl;
|
|||
import ru.micord.ervu.account_applications.db_beans.DefaultCatalog;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Databasechangelog;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.IpDirectory;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationIpAddress;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUpdateIpAddress;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserApplicationRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserApplicationUpdateRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentIp;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentSolution;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Shedlock;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Solution;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.SolutionRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationListAudit;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserIp;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -51,6 +57,11 @@ public class Public extends SchemaImpl {
|
|||
*/
|
||||
public final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>public.ip_directory</code>.
|
||||
*/
|
||||
public final IpDirectory IP_DIRECTORY = IpDirectory.IP_DIRECTORY;
|
||||
|
||||
/**
|
||||
* Должность
|
||||
*/
|
||||
|
|
@ -83,11 +94,31 @@ public class Public extends SchemaImpl {
|
|||
*/
|
||||
public final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.recruitment_ip</code>.
|
||||
*/
|
||||
public final RecruitmentIp RECRUITMENT_IP = RecruitmentIp.RECRUITMENT_IP;
|
||||
|
||||
/**
|
||||
* The table <code>public.recruitment_solution</code>.
|
||||
*/
|
||||
public final RecruitmentSolution RECRUITMENT_SOLUTION = RecruitmentSolution.RECRUITMENT_SOLUTION;
|
||||
|
||||
/**
|
||||
* The table <code>public.shedlock</code>.
|
||||
*/
|
||||
public final Shedlock SHEDLOCK = Shedlock.SHEDLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>public.solution</code>.
|
||||
*/
|
||||
public final Solution SOLUTION = Solution.SOLUTION;
|
||||
|
||||
/**
|
||||
* The table <code>public.solution_role</code>.
|
||||
*/
|
||||
public final SolutionRole SOLUTION_ROLE = SolutionRole.SOLUTION_ROLE;
|
||||
|
||||
/**
|
||||
* Документы в заявке пользователя
|
||||
*/
|
||||
|
|
@ -108,6 +139,11 @@ public class Public extends SchemaImpl {
|
|||
*/
|
||||
public final UserApplicationRole USER_APPLICATION_ROLE = UserApplicationRole.USER_APPLICATION_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>public.user_ip</code>.
|
||||
*/
|
||||
public final UserIp USER_IP = UserIp.USER_IP;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
|
@ -136,17 +172,23 @@ public class Public extends SchemaImpl {
|
|||
return Arrays.asList(
|
||||
Databasechangelog.DATABASECHANGELOG,
|
||||
Databasechangeloglock.DATABASECHANGELOGLOCK,
|
||||
IpDirectory.IP_DIRECTORY,
|
||||
JobPosition.JOB_POSITION,
|
||||
LinkUserApplicationIpAddress.LINK_USER_APPLICATION_IP_ADDRESS,
|
||||
LinkUserApplicationUpdateIpAddress.LINK_USER_APPLICATION_UPDATE_IP_ADDRESS,
|
||||
LinkUserApplicationUserApplicationRole.LINK_USER_APPLICATION_USER_APPLICATION_ROLE,
|
||||
LinkUserApplicationUserApplicationUpdateRole.LINK_USER_APPLICATION_USER_APPLICATION_UPDATE_ROLE,
|
||||
Recruitment.RECRUITMENT,
|
||||
RecruitmentIp.RECRUITMENT_IP,
|
||||
RecruitmentSolution.RECRUITMENT_SOLUTION,
|
||||
Shedlock.SHEDLOCK,
|
||||
Solution.SOLUTION,
|
||||
SolutionRole.SOLUTION_ROLE,
|
||||
UserApplicationDocument.USER_APPLICATION_DOCUMENT,
|
||||
UserApplicationList.USER_APPLICATION_LIST,
|
||||
UserApplicationListAudit.USER_APPLICATION_LIST_AUDIT,
|
||||
UserApplicationRole.USER_APPLICATION_ROLE
|
||||
UserApplicationRole.USER_APPLICATION_ROLE,
|
||||
UserIp.USER_IP
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,17 +6,23 @@ package ru.micord.ervu.account_applications.db_beans.public_;
|
|||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Databasechangelog;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Databasechangeloglock;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.IpDirectory;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.JobPosition;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationIpAddress;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUpdateIpAddress;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserApplicationRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.LinkUserApplicationUserApplicationUpdateRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Recruitment;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentIp;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentSolution;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Shedlock;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Solution;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.SolutionRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationDocument;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationList;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationListAudit;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationRole;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.UserIp;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -35,6 +41,11 @@ public class Tables {
|
|||
*/
|
||||
public static final Databasechangeloglock DATABASECHANGELOGLOCK = Databasechangeloglock.DATABASECHANGELOGLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>public.ip_directory</code>.
|
||||
*/
|
||||
public static final IpDirectory IP_DIRECTORY = IpDirectory.IP_DIRECTORY;
|
||||
|
||||
/**
|
||||
* Должность
|
||||
*/
|
||||
|
|
@ -67,11 +78,31 @@ public class Tables {
|
|||
*/
|
||||
public static final Recruitment RECRUITMENT = Recruitment.RECRUITMENT;
|
||||
|
||||
/**
|
||||
* The table <code>public.recruitment_ip</code>.
|
||||
*/
|
||||
public static final RecruitmentIp RECRUITMENT_IP = RecruitmentIp.RECRUITMENT_IP;
|
||||
|
||||
/**
|
||||
* The table <code>public.recruitment_solution</code>.
|
||||
*/
|
||||
public static final RecruitmentSolution RECRUITMENT_SOLUTION = RecruitmentSolution.RECRUITMENT_SOLUTION;
|
||||
|
||||
/**
|
||||
* The table <code>public.shedlock</code>.
|
||||
*/
|
||||
public static final Shedlock SHEDLOCK = Shedlock.SHEDLOCK;
|
||||
|
||||
/**
|
||||
* The table <code>public.solution</code>.
|
||||
*/
|
||||
public static final Solution SOLUTION = Solution.SOLUTION;
|
||||
|
||||
/**
|
||||
* The table <code>public.solution_role</code>.
|
||||
*/
|
||||
public static final SolutionRole SOLUTION_ROLE = SolutionRole.SOLUTION_ROLE;
|
||||
|
||||
/**
|
||||
* Документы в заявке пользователя
|
||||
*/
|
||||
|
|
@ -91,4 +122,9 @@ public class Tables {
|
|||
* The table <code>public.user_application_role</code>.
|
||||
*/
|
||||
public static final UserApplicationRole USER_APPLICATION_ROLE = UserApplicationRole.USER_APPLICATION_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>public.user_ip</code>.
|
||||
*/
|
||||
public static final UserIp USER_IP = UserIp.USER_IP;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,224 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.IpDirectoryRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IpDirectory extends TableImpl<IpDirectoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.ip_directory</code>
|
||||
*/
|
||||
public static final IpDirectory IP_DIRECTORY = new IpDirectory();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<IpDirectoryRecord> getRecordType() {
|
||||
return IpDirectoryRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.ip_directory.ip_address</code>.
|
||||
*/
|
||||
public final TableField<IpDirectoryRecord, String> IP_ADDRESS = createField(DSL.name("ip_address"), SQLDataType.VARCHAR.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.ip_directory.created</code>.
|
||||
*/
|
||||
public final TableField<IpDirectoryRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private IpDirectory(Name alias, Table<IpDirectoryRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private IpDirectory(Name alias, Table<IpDirectoryRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.ip_directory</code> table reference
|
||||
*/
|
||||
public IpDirectory(String alias) {
|
||||
this(DSL.name(alias), IP_DIRECTORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.ip_directory</code> table reference
|
||||
*/
|
||||
public IpDirectory(Name alias) {
|
||||
this(alias, IP_DIRECTORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.ip_directory</code> table reference
|
||||
*/
|
||||
public IpDirectory() {
|
||||
this(DSL.name("ip_directory"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<IpDirectoryRecord> getPrimaryKey() {
|
||||
return Keys.IP_DIRECTORY_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IpDirectory as(String alias) {
|
||||
return new IpDirectory(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IpDirectory as(Name alias) {
|
||||
return new IpDirectory(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IpDirectory as(Table<?> alias) {
|
||||
return new IpDirectory(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory rename(String name) {
|
||||
return new IpDirectory(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory rename(Name name) {
|
||||
return new IpDirectory(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory rename(Table<?> name) {
|
||||
return new IpDirectory(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory where(Condition condition) {
|
||||
return new IpDirectory(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IpDirectory where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IpDirectory where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IpDirectory where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IpDirectory where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IpDirectory whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,223 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentIpRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RecruitmentIp extends TableImpl<RecruitmentIpRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.recruitment_ip</code>
|
||||
*/
|
||||
public static final RecruitmentIp RECRUITMENT_IP = new RecruitmentIp();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<RecruitmentIpRecord> getRecordType() {
|
||||
return RecruitmentIpRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment_ip.ip_address</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentIpRecord, String> IP_ADDRESS = createField(DSL.name("ip_address"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment_ip.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentIpRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
private RecruitmentIp(Name alias, Table<RecruitmentIpRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private RecruitmentIp(Name alias, Table<RecruitmentIpRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.recruitment_ip</code> table reference
|
||||
*/
|
||||
public RecruitmentIp(String alias) {
|
||||
this(DSL.name(alias), RECRUITMENT_IP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.recruitment_ip</code> table reference
|
||||
*/
|
||||
public RecruitmentIp(Name alias) {
|
||||
this(alias, RECRUITMENT_IP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.recruitment_ip</code> table reference
|
||||
*/
|
||||
public RecruitmentIp() {
|
||||
this(DSL.name("recruitment_ip"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<RecruitmentIpRecord> getPrimaryKey() {
|
||||
return Keys.PK_RECRUITMENT_IP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentIp as(String alias) {
|
||||
return new RecruitmentIp(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentIp as(Name alias) {
|
||||
return new RecruitmentIp(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentIp as(Table<?> alias) {
|
||||
return new RecruitmentIp(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp rename(String name) {
|
||||
return new RecruitmentIp(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp rename(Name name) {
|
||||
return new RecruitmentIp(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp rename(Table<?> name) {
|
||||
return new RecruitmentIp(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp where(Condition condition) {
|
||||
return new RecruitmentIp(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentIp where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentIp where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentIp where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentIp where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentIp whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,225 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.RecruitmentSolutionRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RecruitmentSolution extends TableImpl<RecruitmentSolutionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.recruitment_solution</code>
|
||||
*/
|
||||
public static final RecruitmentSolution RECRUITMENT_SOLUTION = new RecruitmentSolution();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<RecruitmentSolutionRecord> getRecordType() {
|
||||
return RecruitmentSolutionRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment_solution.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentSolutionRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.recruitment_solution.solution_id</code>.
|
||||
*/
|
||||
public final TableField<RecruitmentSolutionRecord, String> SOLUTION_ID = createField(DSL.name("solution_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
private RecruitmentSolution(Name alias, Table<RecruitmentSolutionRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private RecruitmentSolution(Name alias, Table<RecruitmentSolutionRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.recruitment_solution</code> table
|
||||
* reference
|
||||
*/
|
||||
public RecruitmentSolution(String alias) {
|
||||
this(DSL.name(alias), RECRUITMENT_SOLUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.recruitment_solution</code> table
|
||||
* reference
|
||||
*/
|
||||
public RecruitmentSolution(Name alias) {
|
||||
this(alias, RECRUITMENT_SOLUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.recruitment_solution</code> table reference
|
||||
*/
|
||||
public RecruitmentSolution() {
|
||||
this(DSL.name("recruitment_solution"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<RecruitmentSolutionRecord> getPrimaryKey() {
|
||||
return Keys.PK_RECRUITMENT_SOLUTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentSolution as(String alias) {
|
||||
return new RecruitmentSolution(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentSolution as(Name alias) {
|
||||
return new RecruitmentSolution(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentSolution as(Table<?> alias) {
|
||||
return new RecruitmentSolution(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution rename(String name) {
|
||||
return new RecruitmentSolution(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution rename(Name name) {
|
||||
return new RecruitmentSolution(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution rename(Table<?> name) {
|
||||
return new RecruitmentSolution(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution where(Condition condition) {
|
||||
return new RecruitmentSolution(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentSolution where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentSolution where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentSolution where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RecruitmentSolution where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RecruitmentSolution whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,258 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.SolutionRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Solution extends TableImpl<SolutionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.solution</code>
|
||||
*/
|
||||
public static final Solution SOLUTION = new Solution();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SolutionRecord> getRecordType() {
|
||||
return SolutionRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.id</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.name</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.description</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(1024), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.display_name</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, String> DISPLAY_NAME = createField(DSL.name("display_name"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.active</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, Boolean> ACTIVE = createField(DSL.name("active"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.created</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, Long> CREATED = createField(DSL.name("created"), SQLDataType.BIGINT.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.modified</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, Long> MODIFIED = createField(DSL.name("modified"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.deleted</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, Long> DELETED = createField(DSL.name("deleted"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution.version</code>.
|
||||
*/
|
||||
public final TableField<SolutionRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
private Solution(Name alias, Table<SolutionRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Solution(Name alias, Table<SolutionRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.solution</code> table reference
|
||||
*/
|
||||
public Solution(String alias) {
|
||||
this(DSL.name(alias), SOLUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.solution</code> table reference
|
||||
*/
|
||||
public Solution(Name alias) {
|
||||
this(alias, SOLUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.solution</code> table reference
|
||||
*/
|
||||
public Solution() {
|
||||
this(DSL.name("solution"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<SolutionRecord> getPrimaryKey() {
|
||||
return Keys.SOLUTION_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Solution as(String alias) {
|
||||
return new Solution(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Solution as(Name alias) {
|
||||
return new Solution(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Solution as(Table<?> alias) {
|
||||
return new Solution(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Solution rename(String name) {
|
||||
return new Solution(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Solution rename(Name name) {
|
||||
return new Solution(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Solution rename(Table<?> name) {
|
||||
return new Solution(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Solution where(Condition condition) {
|
||||
return new Solution(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Solution where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Solution where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Solution where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Solution where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Solution where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Solution where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Solution where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Solution whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Solution whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,223 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables;
|
||||
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
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;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Keys;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.Public;
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.records.SolutionRoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SolutionRole extends TableImpl<SolutionRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.solution_role</code>
|
||||
*/
|
||||
public static final SolutionRole SOLUTION_ROLE = new SolutionRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SolutionRoleRecord> getRecordType() {
|
||||
return SolutionRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.solution_role.role_id</code>.
|
||||
*/
|
||||
public final TableField<SolutionRoleRecord, String> ROLE_ID = createField(DSL.name("role_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.solution_role.solution_id</code>.
|
||||
*/
|
||||
public final TableField<SolutionRoleRecord, String> SOLUTION_ID = createField(DSL.name("solution_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
private SolutionRole(Name alias, Table<SolutionRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private SolutionRole(Name alias, Table<SolutionRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.solution_role</code> table reference
|
||||
*/
|
||||
public SolutionRole(String alias) {
|
||||
this(DSL.name(alias), SOLUTION_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.solution_role</code> table reference
|
||||
*/
|
||||
public SolutionRole(Name alias) {
|
||||
this(alias, SOLUTION_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.solution_role</code> table reference
|
||||
*/
|
||||
public SolutionRole() {
|
||||
this(DSL.name("solution_role"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<SolutionRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_SOLUTION_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SolutionRole as(String alias) {
|
||||
return new SolutionRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SolutionRole as(Name alias) {
|
||||
return new SolutionRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SolutionRole as(Table<?> alias) {
|
||||
return new SolutionRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole rename(String name) {
|
||||
return new SolutionRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole rename(Name name) {
|
||||
return new SolutionRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole rename(Table<?> name) {
|
||||
return new SolutionRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole where(Condition condition) {
|
||||
return new SolutionRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SolutionRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SolutionRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SolutionRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SolutionRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SolutionRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.IpDirectory;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IpDirectoryRecord extends UpdatableRecordImpl<IpDirectoryRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.ip_directory.ip_address</code>.
|
||||
*/
|
||||
public void setIpAddress(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.ip_directory.ip_address</code>.
|
||||
*/
|
||||
public String getIpAddress() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.ip_directory.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.ip_directory.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached IpDirectoryRecord
|
||||
*/
|
||||
public IpDirectoryRecord() {
|
||||
super(IpDirectory.IP_DIRECTORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised IpDirectoryRecord
|
||||
*/
|
||||
public IpDirectoryRecord(String ipAddress, Timestamp created) {
|
||||
super(IpDirectory.IP_DIRECTORY);
|
||||
|
||||
setIpAddress(ipAddress);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentIp;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RecruitmentIpRecord extends UpdatableRecordImpl<RecruitmentIpRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment_ip.ip_address</code>.
|
||||
*/
|
||||
public void setIpAddress(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment_ip.ip_address</code>.
|
||||
*/
|
||||
public String getIpAddress() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment_ip.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment_ip.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record2<String, String> key() {
|
||||
return (Record2) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RecruitmentIpRecord
|
||||
*/
|
||||
public RecruitmentIpRecord() {
|
||||
super(RecruitmentIp.RECRUITMENT_IP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RecruitmentIpRecord
|
||||
*/
|
||||
public RecruitmentIpRecord(String ipAddress, String recruitmentId) {
|
||||
super(RecruitmentIp.RECRUITMENT_IP);
|
||||
|
||||
setIpAddress(ipAddress);
|
||||
setRecruitmentId(recruitmentId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.RecruitmentSolution;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RecruitmentSolutionRecord extends UpdatableRecordImpl<RecruitmentSolutionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment_solution.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment_solution.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.recruitment_solution.solution_id</code>.
|
||||
*/
|
||||
public void setSolutionId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.recruitment_solution.solution_id</code>.
|
||||
*/
|
||||
public String getSolutionId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record2<String, String> key() {
|
||||
return (Record2) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RecruitmentSolutionRecord
|
||||
*/
|
||||
public RecruitmentSolutionRecord() {
|
||||
super(RecruitmentSolution.RECRUITMENT_SOLUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RecruitmentSolutionRecord
|
||||
*/
|
||||
public RecruitmentSolutionRecord(String recruitmentId, String solutionId) {
|
||||
super(RecruitmentSolution.RECRUITMENT_SOLUTION);
|
||||
|
||||
setRecruitmentId(recruitmentId);
|
||||
setSolutionId(solutionId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,184 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.Solution;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SolutionRecord extends UpdatableRecordImpl<SolutionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.display_name</code>.
|
||||
*/
|
||||
public void setDisplayName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.display_name</code>.
|
||||
*/
|
||||
public String getDisplayName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.active</code>.
|
||||
*/
|
||||
public void setActive(Boolean value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.active</code>.
|
||||
*/
|
||||
public Boolean getActive() {
|
||||
return (Boolean) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.created</code>.
|
||||
*/
|
||||
public void setCreated(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.created</code>.
|
||||
*/
|
||||
public Long getCreated() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.modified</code>.
|
||||
*/
|
||||
public void setModified(Long value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.modified</code>.
|
||||
*/
|
||||
public Long getModified() {
|
||||
return (Long) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.deleted</code>.
|
||||
*/
|
||||
public void setDeleted(Long value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.deleted</code>.
|
||||
*/
|
||||
public Long getDeleted() {
|
||||
return (Long) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution.version</code>.
|
||||
*/
|
||||
public void setVersion(Integer value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution.version</code>.
|
||||
*/
|
||||
public Integer getVersion() {
|
||||
return (Integer) get(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SolutionRecord
|
||||
*/
|
||||
public SolutionRecord() {
|
||||
super(Solution.SOLUTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SolutionRecord
|
||||
*/
|
||||
public SolutionRecord(String id, String name, String description, String displayName, Boolean active, Long created, Long modified, Long deleted, Integer version) {
|
||||
super(Solution.SOLUTION);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
setDescription(description);
|
||||
setDisplayName(displayName);
|
||||
setActive(active);
|
||||
setCreated(created);
|
||||
setModified(modified);
|
||||
setDeleted(deleted);
|
||||
setVersion(version);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.ervu.account_applications.db_beans.public_.tables.SolutionRole;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SolutionRoleRecord extends UpdatableRecordImpl<SolutionRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution_role.role_id</code>.
|
||||
*/
|
||||
public void setRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution_role.role_id</code>.
|
||||
*/
|
||||
public String getRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.solution_role.solution_id</code>.
|
||||
*/
|
||||
public void setSolutionId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.solution_role.solution_id</code>.
|
||||
*/
|
||||
public String getSolutionId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record2<String, String> key() {
|
||||
return (Record2) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SolutionRoleRecord
|
||||
*/
|
||||
public SolutionRoleRecord() {
|
||||
super(SolutionRole.SOLUTION_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SolutionRoleRecord
|
||||
*/
|
||||
public SolutionRoleRecord(String roleId, String solutionId) {
|
||||
super(SolutionRole.SOLUTION_ROLE);
|
||||
|
||||
setRoleId(roleId);
|
||||
setSolutionId(solutionId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
|
||||
|
||||
<changeSet id="0001" author="adel.ka">
|
||||
<comment>add solution table</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.solution (
|
||||
id varchar(36) PRIMARY KEY,
|
||||
name varchar(255) NOT NULL,
|
||||
description varchar(1024),
|
||||
display_name varchar(255),
|
||||
active boolean NOT NULL DEFAULT true,
|
||||
created bigint NOT NULL,
|
||||
modified bigint,
|
||||
deleted bigint,
|
||||
version int NOT NULL
|
||||
) TABLESPACE pg_default;
|
||||
|
||||
ALTER TABLE public.solution
|
||||
OWNER TO ervu_account_applications;
|
||||
|
||||
GRANT ALL ON TABLE public.solution TO ervu_account_applications;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0002" author="adel.ka">
|
||||
<comment>add recruitment_solution table</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.recruitment_solution (
|
||||
recruitment_id VARCHAR(36),
|
||||
solution_id VARCHAR(36),
|
||||
CONSTRAINT pk_recruitment_solution PRIMARY KEY (recruitment_id, solution_id)
|
||||
) TABLESPACE pg_default;
|
||||
|
||||
ALTER TABLE IF EXISTS public.recruitment_solution
|
||||
OWNER TO ervu_account_applications;
|
||||
|
||||
GRANT ALL ON TABLE public.recruitment_solution TO ervu_account_applications;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0003" author="adel.ka">
|
||||
<comment>add solution_role table</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.solution_role (
|
||||
role_id VARCHAR(36),
|
||||
solution_id VARCHAR(36),
|
||||
CONSTRAINT pk_solution_role PRIMARY KEY (role_id, solution_id)
|
||||
) TABLESPACE pg_default;
|
||||
|
||||
ALTER TABLE IF EXISTS public.solution_role
|
||||
OWNER TO ervu_account_applications;
|
||||
GRANT ALL ON TABLE public.solution_role TO ervu_account_applications;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0004" author="adel.ka">
|
||||
<comment>add recruitment_ip table</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.recruitment_ip (
|
||||
ip_address VARCHAR(36) NOT NULL,
|
||||
recruitment_id VARCHAR(36) NOT NULL,
|
||||
CONSTRAINT pk_recruitment_ip PRIMARY KEY (recruitment_id, ip_address)
|
||||
) TABLESPACE pg_default;
|
||||
|
||||
ALTER TABLE IF EXISTS public.recruitment_ip
|
||||
OWNER TO ervu_account_applications;
|
||||
GRANT ALL ON TABLE public.recruitment_ip TO ervu_account_applications;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0005" author="adel.ka">
|
||||
<comment>add ip_directory table</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS public.ip_directory (
|
||||
ip_address VARCHAR PRIMARY KEY,
|
||||
created TIMESTAMP DEFAULT now()
|
||||
) TABLESPACE pg_default;
|
||||
|
||||
ALTER TABLE IF EXISTS public.ip_directory
|
||||
OWNER TO ervu_account_applications;
|
||||
GRANT ALL ON TABLE public.ip_directory TO ervu_account_applications;
|
||||
</sql>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
import {AnalyticalScope, Behavior, LinkField, Visible} from "@webbpm/base-package";
|
||||
|
||||
@AnalyticalScope("LinkField")
|
||||
export class GridSetValuesScript extends Behavior {
|
||||
private linkField: LinkField;
|
||||
|
||||
initialize() {
|
||||
super.initialize();
|
||||
this.linkField = this.getScript(LinkField);
|
||||
}
|
||||
|
||||
@Visible()
|
||||
public setValues(values: string[]) {
|
||||
if (!values || !Array.isArray(values)) {
|
||||
return;
|
||||
}
|
||||
|
||||
const rows = values.map(ip => ({
|
||||
row_uid: ip,
|
||||
'ip_directory$ip_address': ip
|
||||
}));
|
||||
|
||||
this.linkField.addRows(rows);
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue