form v.1.7 +citizen
This commit is contained in:
parent
45d0697805
commit
01e1f528a3
36 changed files with 7651 additions and 57 deletions
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
|
||||
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>public</code>.
|
||||
*/
|
||||
public final Public PUBLIC = Public.PUBLIC;
|
||||
|
||||
/**
|
||||
* The schema <code>security</code>.
|
||||
*/
|
||||
public final Security SECURITY = Security.SECURITY;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private DefaultCatalog() {
|
||||
super("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Schema> getSchemas() {
|
||||
return Arrays.asList(
|
||||
Public.PUBLIC,
|
||||
Security.SECURITY
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A reference to the 3.19 minor release of the code generator. If this
|
||||
* doesn't compile, it's because the runtime library uses an older minor
|
||||
* release, namely: 3.19. 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_19;
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.public_;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.CitizenRecord;
|
||||
|
||||
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
|
||||
* public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<CitizenRecord> CITIZEN_PKEY = Internal.createUniqueKey(Citizen.CITIZEN, DSL.name("citizen_pkey"), new TableField[] { Citizen.CITIZEN.ID_ERN }, true);
|
||||
}
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.public_;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
|
||||
|
||||
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 Public extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public</code>
|
||||
*/
|
||||
public static final Public PUBLIC = new Public();
|
||||
|
||||
/**
|
||||
* The table <code>public.citizen</code>.
|
||||
*/
|
||||
public final Citizen CITIZEN = Citizen.CITIZEN;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Public() {
|
||||
super("public", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
Citizen.CITIZEN
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.public_;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in public.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>public.citizen</code>.
|
||||
*/
|
||||
public static final Citizen CITIZEN = Citizen.CITIZEN;
|
||||
}
|
||||
|
|
@ -0,0 +1,238 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.Public;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records.CitizenRecord;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Citizen extends TableImpl<CitizenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>public.citizen</code>
|
||||
*/
|
||||
public static final Citizen CITIZEN = new Citizen();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<CitizenRecord> getRecordType() {
|
||||
return CitizenRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>public.citizen.id_ERN</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> ID_ERN = createField(DSL.name("id_ERN"), SQLDataType.VARCHAR.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.citizen.fio</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.citizen.residence</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> RESIDENCE = createField(DSL.name("residence"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.citizen.age</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> AGE = createField(DSL.name("age"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>public.citizen.recruitment</code>.
|
||||
*/
|
||||
public final TableField<CitizenRecord, String> RECRUITMENT = createField(DSL.name("recruitment"), SQLDataType.VARCHAR, this, "");
|
||||
|
||||
private Citizen(Name alias, Table<CitizenRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Citizen(Name alias, Table<CitizenRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.citizen</code> table reference
|
||||
*/
|
||||
public Citizen(String alias) {
|
||||
this(DSL.name(alias), CITIZEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>public.citizen</code> table reference
|
||||
*/
|
||||
public Citizen(Name alias) {
|
||||
this(alias, CITIZEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>public.citizen</code> table reference
|
||||
*/
|
||||
public Citizen() {
|
||||
this(DSL.name("citizen"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Public.PUBLIC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<CitizenRecord> getPrimaryKey() {
|
||||
return Keys.CITIZEN_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Citizen as(String alias) {
|
||||
return new Citizen(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Citizen as(Name alias) {
|
||||
return new Citizen(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Citizen as(Table<?> alias) {
|
||||
return new Citizen(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen rename(String name) {
|
||||
return new Citizen(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen rename(Name name) {
|
||||
return new Citizen(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen rename(Table<?> name) {
|
||||
return new Citizen(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen where(Condition condition) {
|
||||
return new Citizen(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizen where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizen where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizen where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Citizen where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Citizen whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,124 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.public_.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.public_.tables.Citizen;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class CitizenRecord extends UpdatableRecordImpl<CitizenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>public.citizen.id_ERN</code>.
|
||||
*/
|
||||
public void setIdErn(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.citizen.id_ERN</code>.
|
||||
*/
|
||||
public String getIdErn() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.citizen.fio</code>.
|
||||
*/
|
||||
public void setFio(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.citizen.fio</code>.
|
||||
*/
|
||||
public String getFio() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.citizen.residence</code>.
|
||||
*/
|
||||
public void setResidence(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.citizen.residence</code>.
|
||||
*/
|
||||
public String getResidence() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.citizen.age</code>.
|
||||
*/
|
||||
public void setAge(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.citizen.age</code>.
|
||||
*/
|
||||
public String getAge() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>public.citizen.recruitment</code>.
|
||||
*/
|
||||
public void setRecruitment(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>public.citizen.recruitment</code>.
|
||||
*/
|
||||
public String getRecruitment() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached CitizenRecord
|
||||
*/
|
||||
public CitizenRecord() {
|
||||
super(Citizen.CITIZEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised CitizenRecord
|
||||
*/
|
||||
public CitizenRecord(String idErn, String fio, String residence, String age, String recruitment) {
|
||||
super(Citizen.CITIZEN);
|
||||
|
||||
setIdErn(idErn);
|
||||
setFio(fio);
|
||||
setResidence(residence);
|
||||
setAge(age);
|
||||
setRecruitment(recruitment);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AccessLevelRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AuthorityRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.EsiaUserRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.OrgUnitRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserGroupRecord;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserRoleRecord;
|
||||
|
||||
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
|
||||
* security.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<AccessLevelRecord> PK_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("pk_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
|
||||
public static final UniqueKey<AccessLevelRecord> UNI_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("uni_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.LEVEL }, true);
|
||||
public static final UniqueKey<AuthorityRecord> PK_AUTHORITY = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("pk_authority"), new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<AuthorityRecord> UNI_AUTHORITY_NAME = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("uni_authority_name"), new TableField[] { Authority.AUTHORITY.NAME }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> PK_ESIA_USER = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("pk_esia_user"), new TableField[] { EsiaUser.ESIA_USER.ESIA_USER_ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER1 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER2 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user2"), new TableField[] { EsiaUser.ESIA_USER.PERSON_CONTACT_ID }, true);
|
||||
public static final UniqueKey<LinkUserAccountUserGroupRecord> PK_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("pk_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.LINK_USER_ACCOUNT_USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserAccountUserGroupRecord> UNI_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("uni_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID, LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserGroupUserRoleRecord> PK_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("pk_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.LINK_USER_GROUP_USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<LinkUserGroupUserRoleRecord> UNI_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("uni_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID, LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<LinkUserRoleAuthorityRecord> PK_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("pk_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<LinkUserRoleAuthorityRecord> UNI_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("uni_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID, LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<OrgUnitRecord> ORG_UNIT_CODE_KEY = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("org_unit_code_key"), new TableField[] { OrgUnit.ORG_UNIT.CODE }, true);
|
||||
public static final UniqueKey<OrgUnitRecord> PK_ORG_UNIT = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("pk_org_unit"), new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final UniqueKey<UserAccountRecord> PK_USER = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("pk_user"), new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<UserAccountRecord> USER_ACCOUNT_USERNAME_UNIQUE = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("user_account_username_unique"), new TableField[] { UserAccount.USER_ACCOUNT.USERNAME }, true);
|
||||
public static final UniqueKey<UserAccountRefreshTokenRecord> PK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createUniqueKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("pk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_REFRESH_TOKEN_ID }, true);
|
||||
public static final UniqueKey<UserGroupRecord> PK_GROUP = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("pk_group"), new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<UserGroupRecord> UNI_GROUP_NAME = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("uni_group_name"), new TableField[] { UserGroup.USER_GROUP.NAME }, true);
|
||||
public static final UniqueKey<UserRoleRecord> PK_ROLE = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("pk_role"), new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> UNI_ROLE_NAME = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("uni_role_name"), new TableField[] { UserRole.USER_ROLE.NAME }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<EsiaUserRecord, UserAccountRecord> ESIA_USER__FK_ESIA_USER1 = Internal.createForeignKey(EsiaUser.ESIA_USER, DSL.name("fk_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserGroupRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserAccountRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_user"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserGroupRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_group"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserRoleRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final ForeignKey<LinkUserRoleAuthorityRecord, AuthorityRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, Keys.PK_AUTHORITY, new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final ForeignKey<LinkUserRoleAuthorityRecord, UserRoleRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_role"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final ForeignKey<OrgUnitRecord, OrgUnitRecord> ORG_UNIT__FK_ORG_UNIT_PARENT_ID = Internal.createForeignKey(OrgUnit.ORG_UNIT, DSL.name("fk_org_unit_parent_id"), new TableField[] { OrgUnit.ORG_UNIT.PARENT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final ForeignKey<UserAccountRecord, OrgUnitRecord> USER_ACCOUNT__FK_USER_ORG_UNIT_ID = Internal.createForeignKey(UserAccount.USER_ACCOUNT, DSL.name("fk_user_org_unit_id"), new TableField[] { UserAccount.USER_ACCOUNT.ORG_UNIT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final ForeignKey<UserAccountRefreshTokenRecord, UserAccountRecord> USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createForeignKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("fk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<UserGroupRecord, AccessLevelRecord> USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL = Internal.createForeignKey(UserGroup.USER_GROUP, DSL.name("fk_user_group_access_level"), new TableField[] { UserGroup.USER_GROUP.ACCESS_LEVEL_ID }, Keys.PK_ACCESS_LEVEL, new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
|
||||
}
|
||||
|
|
@ -0,0 +1,125 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.DefaultCatalog;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
|
||||
|
||||
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 Security extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security</code>
|
||||
*/
|
||||
public static final Security SECURITY = new Security();
|
||||
|
||||
/**
|
||||
* The table <code>security.access_level</code>.
|
||||
*/
|
||||
public final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
|
||||
|
||||
/**
|
||||
* The table <code>security.authority</code>.
|
||||
*/
|
||||
public final Authority AUTHORITY = Authority.AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.esia_user</code>.
|
||||
*/
|
||||
public final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_account_user_group</code>.
|
||||
*/
|
||||
public final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_group_user_role</code>.
|
||||
*/
|
||||
public final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_role_authority</code>.
|
||||
*/
|
||||
public final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit</code>.
|
||||
*/
|
||||
public final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account</code>.
|
||||
*/
|
||||
public final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_refresh_token</code>.
|
||||
*/
|
||||
public final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_group</code>.
|
||||
*/
|
||||
public final UserGroup USER_GROUP = UserGroup.USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_role</code>.
|
||||
*/
|
||||
public final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Security() {
|
||||
super("security", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
AccessLevel.ACCESS_LEVEL,
|
||||
Authority.AUTHORITY,
|
||||
EsiaUser.ESIA_USER,
|
||||
LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP,
|
||||
LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE,
|
||||
LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY,
|
||||
OrgUnit.ORG_UNIT,
|
||||
UserAccount.USER_ACCOUNT,
|
||||
UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN,
|
||||
UserGroup.USER_GROUP,
|
||||
UserRole.USER_ROLE
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in security.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>security.access_level</code>.
|
||||
*/
|
||||
public static final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
|
||||
|
||||
/**
|
||||
* The table <code>security.authority</code>.
|
||||
*/
|
||||
public static final Authority AUTHORITY = Authority.AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.esia_user</code>.
|
||||
*/
|
||||
public static final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_account_user_group</code>.
|
||||
*/
|
||||
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_group_user_role</code>.
|
||||
*/
|
||||
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_role_authority</code>.
|
||||
*/
|
||||
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit</code>.
|
||||
*/
|
||||
public static final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account</code>.
|
||||
*/
|
||||
public static final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_refresh_token</code>.
|
||||
*/
|
||||
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_group</code>.
|
||||
*/
|
||||
public static final UserGroup USER_GROUP = UserGroup.USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_role</code>.
|
||||
*/
|
||||
public static final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
}
|
||||
|
|
@ -0,0 +1,284 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AccessLevelRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccessLevel extends TableImpl<AccessLevelRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.access_level</code>
|
||||
*/
|
||||
public static final AccessLevel ACCESS_LEVEL = new AccessLevel();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AccessLevelRecord> getRecordType() {
|
||||
return AccessLevelRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.level</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, Short> LEVEL = createField(DSL.name("level"), SQLDataType.SMALLINT.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.description</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(256).nullable(false), this, "");
|
||||
|
||||
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel(String alias) {
|
||||
this(DSL.name(alias), ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel(Name alias) {
|
||||
this(alias, ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel() {
|
||||
this(DSL.name("access_level"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> AccessLevel(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AccessLevelPath extends AccessLevel implements Path<AccessLevelRecord> {
|
||||
public <O extends Record> AccessLevelPath(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AccessLevelPath(Name alias, Table<AccessLevelRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(String alias) {
|
||||
return new AccessLevelPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(Name alias) {
|
||||
return new AccessLevelPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(Table<?> alias) {
|
||||
return new AccessLevelPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AccessLevelRecord> getPrimaryKey() {
|
||||
return Keys.PK_ACCESS_LEVEL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<AccessLevelRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, null, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL.getInverseKey());
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(String alias) {
|
||||
return new AccessLevel(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(Name alias) {
|
||||
return new AccessLevel(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(Table<?> alias) {
|
||||
return new AccessLevel(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(String name) {
|
||||
return new AccessLevel(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(Name name) {
|
||||
return new AccessLevel(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(Table<?> name) {
|
||||
return new AccessLevel(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Condition condition) {
|
||||
return new AccessLevel(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,294 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.AuthorityRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Authority extends TableImpl<AuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.authority</code>
|
||||
*/
|
||||
public static final Authority AUTHORITY = new Authority();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AuthorityRecord> getRecordType() {
|
||||
return AuthorityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.name</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.created</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private Authority(Name alias, Table<AuthorityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Authority(Name alias, Table<AuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority(String alias) {
|
||||
this(DSL.name(alias), AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority(Name alias) {
|
||||
this(alias, AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority() {
|
||||
this(DSL.name("authority"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Authority(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath, AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AuthorityPath extends Authority implements Path<AuthorityRecord> {
|
||||
public <O extends Record> AuthorityPath(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AuthorityPath(Name alias, Table<AuthorityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(String alias) {
|
||||
return new AuthorityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(Name alias) {
|
||||
return new AuthorityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(Table<?> alias) {
|
||||
return new AuthorityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AuthorityRecord> getPrimaryKey() {
|
||||
return Keys.PK_AUTHORITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<AuthorityRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_AUTHORITY_NAME);
|
||||
}
|
||||
|
||||
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_role_authority</code> table
|
||||
*/
|
||||
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
|
||||
if (_linkUserRoleAuthority == null)
|
||||
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY.getInverseKey());
|
||||
|
||||
return _linkUserRoleAuthority;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_role</code> table
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
return linkUserRoleAuthority().userRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(String alias) {
|
||||
return new Authority(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(Name alias) {
|
||||
return new Authority(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(Table<?> alias) {
|
||||
return new Authority(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(String name) {
|
||||
return new Authority(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(Name name) {
|
||||
return new Authority(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(Table<?> name) {
|
||||
return new Authority(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Condition condition) {
|
||||
return new Authority(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,289 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.EsiaUserRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EsiaUser extends TableImpl<EsiaUserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.esia_user</code>
|
||||
*/
|
||||
public static final EsiaUser ESIA_USER = new EsiaUser();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<EsiaUserRecord> getRecordType() {
|
||||
return EsiaUserRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, String> ESIA_USER_ID = createField(DSL.name("esia_user_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, Long> PERSON_CONTACT_ID = createField(DSL.name("person_contact_id"), SQLDataType.BIGINT.nullable(false), this, "");
|
||||
|
||||
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser(String alias) {
|
||||
this(DSL.name(alias), ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser(Name alias) {
|
||||
this(alias, ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser() {
|
||||
this(DSL.name("esia_user"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> EsiaUser(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class EsiaUserPath extends EsiaUser implements Path<EsiaUserRecord> {
|
||||
public <O extends Record> EsiaUserPath(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private EsiaUserPath(Name alias, Table<EsiaUserRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(String alias) {
|
||||
return new EsiaUserPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(Name alias) {
|
||||
return new EsiaUserPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(Table<?> alias) {
|
||||
return new EsiaUserPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<EsiaUserRecord> getPrimaryKey() {
|
||||
return Keys.PK_ESIA_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<EsiaUserRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ESIA_USER1, Keys.UNI_ESIA_USER2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<EsiaUserRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ESIA_USER__FK_ESIA_USER1);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.ESIA_USER__FK_ESIA_USER1, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(String alias) {
|
||||
return new EsiaUser(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(Name alias) {
|
||||
return new EsiaUser(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(Table<?> alias) {
|
||||
return new EsiaUser(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(String name) {
|
||||
return new EsiaUser(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(Name name) {
|
||||
return new EsiaUser(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(Table<?> name) {
|
||||
return new EsiaUser(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Condition condition) {
|
||||
return new EsiaUser(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,315 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserAccountUserGroup extends TableImpl<LinkUserAccountUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.link_user_account_user_group</code>
|
||||
*/
|
||||
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = new LinkUserAccountUserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserAccountUserGroupRecord> getRecordType() {
|
||||
return LinkUserAccountUserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> LINK_USER_ACCOUNT_USER_GROUP_ID = createField(DSL.name("link_user_account_user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_account_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_account_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup(Name alias) {
|
||||
this(alias, LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_account_user_group</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup() {
|
||||
this(DSL.name("link_user_account_user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserAccountUserGroup(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserAccountUserGroupPath extends LinkUserAccountUserGroup implements Path<LinkUserAccountUserGroupRecord> {
|
||||
public <O extends Record> LinkUserAccountUserGroupPath(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserAccountUserGroupPath(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(String alias) {
|
||||
return new LinkUserAccountUserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(Name alias) {
|
||||
return new LinkUserAccountUserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(Table<?> alias) {
|
||||
return new LinkUserAccountUserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserAccountUserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserAccountUserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_USER_GROUP);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserAccountUserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(String alias) {
|
||||
return new LinkUserAccountUserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(Name alias) {
|
||||
return new LinkUserAccountUserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(Table<?> alias) {
|
||||
return new LinkUserAccountUserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(String name) {
|
||||
return new LinkUserAccountUserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(Name name) {
|
||||
return new LinkUserAccountUserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(Table<?> name) {
|
||||
return new LinkUserAccountUserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Condition condition) {
|
||||
return new LinkUserAccountUserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserGroupUserRole extends TableImpl<LinkUserGroupUserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.link_user_group_user_role</code>
|
||||
*/
|
||||
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = new LinkUserGroupUserRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserGroupUserRoleRecord> getRecordType() {
|
||||
return LinkUserGroupUserRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> LINK_USER_GROUP_USER_ROLE_ID = createField(DSL.name("link_user_group_user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_group_user_role</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserGroupUserRole(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_group_user_role</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserGroupUserRole(Name alias) {
|
||||
this(alias, LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_group_user_role</code> table reference
|
||||
*/
|
||||
public LinkUserGroupUserRole() {
|
||||
this(DSL.name("link_user_group_user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserGroupUserRole(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserGroupUserRolePath extends LinkUserGroupUserRole implements Path<LinkUserGroupUserRoleRecord> {
|
||||
public <O extends Record> LinkUserGroupUserRolePath(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserGroupUserRolePath(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(String alias) {
|
||||
return new LinkUserGroupUserRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(Name alias) {
|
||||
return new LinkUserGroupUserRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(Table<?> alias) {
|
||||
return new LinkUserGroupUserRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserGroupUserRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_GROUP_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserGroupUserRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_GROUP_ROLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserGroupUserRoleRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE);
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
private transient UserRolePath _userRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_role</code> table.
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
if (_userRole == null)
|
||||
_userRole = new UserRolePath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE, null);
|
||||
|
||||
return _userRole;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(String alias) {
|
||||
return new LinkUserGroupUserRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(Name alias) {
|
||||
return new LinkUserGroupUserRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(Table<?> alias) {
|
||||
return new LinkUserGroupUserRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(String name) {
|
||||
return new LinkUserGroupUserRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(Name name) {
|
||||
return new LinkUserGroupUserRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(Table<?> name) {
|
||||
return new LinkUserGroupUserRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Condition condition) {
|
||||
return new LinkUserGroupUserRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,310 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority.AuthorityPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserRoleAuthority extends TableImpl<LinkUserRoleAuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.link_user_role_authority</code>
|
||||
*/
|
||||
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = new LinkUserRoleAuthority();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserRoleAuthorityRecord> getRecordType() {
|
||||
return LinkUserRoleAuthorityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_AUTHORITY_ID = createField(DSL.name("user_role_authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_role_authority</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserRoleAuthority(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_role_authority</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserRoleAuthority(Name alias) {
|
||||
this(alias, LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_role_authority</code> table reference
|
||||
*/
|
||||
public LinkUserRoleAuthority() {
|
||||
this(DSL.name("link_user_role_authority"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserRoleAuthority(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserRoleAuthorityPath extends LinkUserRoleAuthority implements Path<LinkUserRoleAuthorityRecord> {
|
||||
public <O extends Record> LinkUserRoleAuthorityPath(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserRoleAuthorityPath(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(String alias) {
|
||||
return new LinkUserRoleAuthorityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(Name alias) {
|
||||
return new LinkUserRoleAuthorityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(Table<?> alias) {
|
||||
return new LinkUserRoleAuthorityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserRoleAuthorityRecord> getPrimaryKey() {
|
||||
return Keys.PK_ROLE_AUTHORITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserRoleAuthorityRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserRoleAuthorityRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY);
|
||||
}
|
||||
|
||||
private transient UserRolePath _userRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_role</code> table.
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
if (_userRole == null)
|
||||
_userRole = new UserRolePath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, null);
|
||||
|
||||
return _userRole;
|
||||
}
|
||||
|
||||
private transient AuthorityPath _authority;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.authority</code> table.
|
||||
*/
|
||||
public AuthorityPath authority() {
|
||||
if (_authority == null)
|
||||
_authority = new AuthorityPath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY, null);
|
||||
|
||||
return _authority;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(String alias) {
|
||||
return new LinkUserRoleAuthority(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(Name alias) {
|
||||
return new LinkUserRoleAuthority(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(Table<?> alias) {
|
||||
return new LinkUserRoleAuthority(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(String name) {
|
||||
return new LinkUserRoleAuthority(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(Name name) {
|
||||
return new LinkUserRoleAuthority(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(Table<?> name) {
|
||||
return new LinkUserRoleAuthority(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Condition condition) {
|
||||
return new LinkUserRoleAuthority(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,312 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit.OrgUnitPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.OrgUnitRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnit extends TableImpl<OrgUnitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.org_unit</code>
|
||||
*/
|
||||
public static final OrgUnit ORG_UNIT = new OrgUnit();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<OrgUnitRecord> getRecordType() {
|
||||
return OrgUnitRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.CHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, Boolean> REMOVED = createField(DSL.name("removed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit(String alias) {
|
||||
this(DSL.name(alias), ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit(Name alias) {
|
||||
this(alias, ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit() {
|
||||
this(DSL.name("org_unit"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> OrgUnit(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class OrgUnitPath extends OrgUnit implements Path<OrgUnitRecord> {
|
||||
public <O extends Record> OrgUnitPath(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private OrgUnitPath(Name alias, Table<OrgUnitRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(String alias) {
|
||||
return new OrgUnitPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(Name alias) {
|
||||
return new OrgUnitPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(Table<?> alias) {
|
||||
return new OrgUnitPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<OrgUnitRecord> getPrimaryKey() {
|
||||
return Keys.PK_ORG_UNIT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<OrgUnitRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.ORG_UNIT_CODE_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<OrgUnitRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID);
|
||||
}
|
||||
|
||||
private transient OrgUnitPath _orgUnit;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.org_unit</code> table.
|
||||
*/
|
||||
public OrgUnitPath orgUnit() {
|
||||
if (_orgUnit == null)
|
||||
_orgUnit = new OrgUnitPath(this, Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID, null);
|
||||
|
||||
return _orgUnit;
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account</code> table
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, null, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID.getInverseKey());
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(String alias) {
|
||||
return new OrgUnit(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(Name alias) {
|
||||
return new OrgUnit(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(Table<?> alias) {
|
||||
return new OrgUnit(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(String name) {
|
||||
return new OrgUnit(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(Name name) {
|
||||
return new OrgUnit(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(Table<?> name) {
|
||||
return new OrgUnit(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Condition condition) {
|
||||
return new OrgUnit(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,395 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser.EsiaUserPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit.OrgUnitPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken.UserAccountRefreshTokenPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccount extends TableImpl<UserAccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_account</code>
|
||||
*/
|
||||
public static final UserAccount USER_ACCOUNT = new UserAccount();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountRecord> getRecordType() {
|
||||
return UserAccountRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.email</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.created</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> ORG_UNIT_ID = createField(DSL.name("org_unit_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.username</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(16), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Boolean> EMAIL_CONFIRMED = createField(DSL.name("email_confirmed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USER_SOURCE = createField(DSL.name("user_source"), SQLDataType.VARCHAR(20).nullable(false).defaultValue(DSL.field(DSL.raw("'LOCAL'::character varying"), SQLDataType.VARCHAR)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.VARCHAR(20), this, "");
|
||||
|
||||
private UserAccount(Name alias, Table<UserAccountRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccount(Name alias, Table<UserAccountRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount(Name alias) {
|
||||
this(alias, USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount() {
|
||||
this(DSL.name("user_account"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccount(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountPath extends UserAccount implements Path<UserAccountRecord> {
|
||||
public <O extends Record> UserAccountPath(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountPath(Name alias, Table<UserAccountRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(String alias) {
|
||||
return new UserAccountPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(Name alias) {
|
||||
return new UserAccountPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(Table<?> alias) {
|
||||
return new UserAccountPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserAccountRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_USERNAME_UNIQUE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID);
|
||||
}
|
||||
|
||||
private transient OrgUnitPath _orgUnit;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.org_unit</code> table.
|
||||
*/
|
||||
public OrgUnitPath orgUnit() {
|
||||
if (_orgUnit == null)
|
||||
_orgUnit = new OrgUnitPath(this, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID, null);
|
||||
|
||||
return _orgUnit;
|
||||
}
|
||||
|
||||
private transient EsiaUserPath _esiaUser;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the <code>security.esia_user</code>
|
||||
* table
|
||||
*/
|
||||
public EsiaUserPath esiaUser() {
|
||||
if (_esiaUser == null)
|
||||
_esiaUser = new EsiaUserPath(this, null, Keys.ESIA_USER__FK_ESIA_USER1.getInverseKey());
|
||||
|
||||
return _esiaUser;
|
||||
}
|
||||
|
||||
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_account_user_group</code> table
|
||||
*/
|
||||
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
|
||||
if (_linkUserAccountUserGroup == null)
|
||||
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER.getInverseKey());
|
||||
|
||||
return _linkUserAccountUserGroup;
|
||||
}
|
||||
|
||||
private transient UserAccountRefreshTokenPath _userAccountRefreshToken;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account_refresh_token</code> table
|
||||
*/
|
||||
public UserAccountRefreshTokenPath userAccountRefreshToken() {
|
||||
if (_userAccountRefreshToken == null)
|
||||
_userAccountRefreshToken = new UserAccountRefreshTokenPath(this, null, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN.getInverseKey());
|
||||
|
||||
return _userAccountRefreshToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserAccountUserGroup().userGroup();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(String alias) {
|
||||
return new UserAccount(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(Name alias) {
|
||||
return new UserAccount(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(Table<?> alias) {
|
||||
return new UserAccount(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(String name) {
|
||||
return new UserAccount(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(Name name) {
|
||||
return new UserAccount(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(Table<?> name) {
|
||||
return new UserAccount(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Condition condition) {
|
||||
return new UserAccount(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,302 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRefreshToken extends TableImpl<UserAccountRefreshTokenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.user_account_refresh_token</code>
|
||||
*/
|
||||
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = new UserAccountRefreshToken();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountRefreshTokenRecord> getRecordType() {
|
||||
return UserAccountRefreshTokenRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> USER_ACCOUNT_REFRESH_TOKEN_ID = createField(DSL.name("user_account_refresh_token_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> REFRESH_TOKEN = createField(DSL.name("refresh_token"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> ACCESS_TOKEN = createField(DSL.name("access_token"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, Timestamp> EXPIRATION_TIME = createField(DSL.name("expiration_time"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
private UserAccountRefreshToken(Name alias, Table<UserAccountRefreshTokenRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccountRefreshToken(Name alias, Table<UserAccountRefreshTokenRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_refresh_token</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountRefreshToken(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_refresh_token</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountRefreshToken(Name alias) {
|
||||
this(alias, USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account_refresh_token</code> table reference
|
||||
*/
|
||||
public UserAccountRefreshToken() {
|
||||
this(DSL.name("user_account_refresh_token"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccountRefreshToken(Table<O> path, ForeignKey<O, UserAccountRefreshTokenRecord> childPath, InverseForeignKey<O, UserAccountRefreshTokenRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountRefreshTokenPath extends UserAccountRefreshToken implements Path<UserAccountRefreshTokenRecord> {
|
||||
public <O extends Record> UserAccountRefreshTokenPath(Table<O> path, ForeignKey<O, UserAccountRefreshTokenRecord> childPath, InverseForeignKey<O, UserAccountRefreshTokenRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountRefreshTokenPath(Name alias, Table<UserAccountRefreshTokenRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(String alias) {
|
||||
return new UserAccountRefreshTokenPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(Name alias) {
|
||||
return new UserAccountRefreshTokenPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(Table<?> alias) {
|
||||
return new UserAccountRefreshTokenPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountRefreshTokenRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_ACCOUNT_REFRESH_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountRefreshTokenRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(String alias) {
|
||||
return new UserAccountRefreshToken(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(Name alias) {
|
||||
return new UserAccountRefreshToken(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(Table<?> alias) {
|
||||
return new UserAccountRefreshToken(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(String name) {
|
||||
return new UserAccountRefreshToken(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(Name name) {
|
||||
return new UserAccountRefreshToken(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(Table<?> name) {
|
||||
return new UserAccountRefreshToken(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Condition condition) {
|
||||
return new UserAccountRefreshToken(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,346 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel.AccessLevelPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole.LinkUserGroupUserRolePath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserGroupRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserGroup extends TableImpl<UserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_group</code>
|
||||
*/
|
||||
public static final UserGroup USER_GROUP = new UserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserGroupRecord> getRecordType() {
|
||||
return UserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.name</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.created</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
private UserGroup(Name alias, Table<UserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserGroup(Name alias, Table<UserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup(String alias) {
|
||||
this(DSL.name(alias), USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup(Name alias) {
|
||||
this(alias, USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup() {
|
||||
this(DSL.name("user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserGroup(Table<O> path, ForeignKey<O, UserGroupRecord> childPath, InverseForeignKey<O, UserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserGroupPath extends UserGroup implements Path<UserGroupRecord> {
|
||||
public <O extends Record> UserGroupPath(Table<O> path, ForeignKey<O, UserGroupRecord> childPath, InverseForeignKey<O, UserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserGroupPath(Name alias, Table<UserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(String alias) {
|
||||
return new UserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(Name alias) {
|
||||
return new UserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(Table<?> alias) {
|
||||
return new UserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_GROUP_NAME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
private transient AccessLevelPath _accessLevel;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.access_level</code>
|
||||
* table.
|
||||
*/
|
||||
public AccessLevelPath accessLevel() {
|
||||
if (_accessLevel == null)
|
||||
_accessLevel = new AccessLevelPath(this, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL, null);
|
||||
|
||||
return _accessLevel;
|
||||
}
|
||||
|
||||
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_account_user_group</code> table
|
||||
*/
|
||||
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
|
||||
if (_linkUserAccountUserGroup == null)
|
||||
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserAccountUserGroup;
|
||||
}
|
||||
|
||||
private transient LinkUserGroupUserRolePath _linkUserGroupUserRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_group_user_role</code> table
|
||||
*/
|
||||
public LinkUserGroupUserRolePath linkUserGroupUserRole() {
|
||||
if (_linkUserGroupUserRole == null)
|
||||
_linkUserGroupUserRole = new LinkUserGroupUserRolePath(this, null, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserGroupUserRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_account</code> table
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
return linkUserAccountUserGroup().userAccount();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_role</code> table
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
return linkUserGroupUserRole().userRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(String alias) {
|
||||
return new UserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(Name alias) {
|
||||
return new UserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(Table<?> alias) {
|
||||
return new UserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(String name) {
|
||||
return new UserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(Name name) {
|
||||
return new UserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(Table<?> name) {
|
||||
return new UserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Condition condition) {
|
||||
return new UserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,322 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Keys;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.Security;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority.AuthorityPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole.LinkUserGroupUserRolePath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.records.UserRoleRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRole extends TableImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_role</code>
|
||||
*/
|
||||
public static final UserRole USER_ROLE = new UserRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserRoleRecord> getRecordType() {
|
||||
return UserRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.name</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.created</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(String alias) {
|
||||
this(DSL.name(alias), USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(Name alias) {
|
||||
this(alias, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole() {
|
||||
this(DSL.name("user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserRole(Table<O> path, ForeignKey<O, UserRoleRecord> childPath, InverseForeignKey<O, UserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserRolePath extends UserRole implements Path<UserRoleRecord> {
|
||||
public <O extends Record> UserRolePath(Table<O> path, ForeignKey<O, UserRoleRecord> childPath, InverseForeignKey<O, UserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserRolePath(Name alias, Table<UserRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(String alias) {
|
||||
return new UserRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(Name alias) {
|
||||
return new UserRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(Table<?> alias) {
|
||||
return new UserRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ROLE_NAME);
|
||||
}
|
||||
|
||||
private transient LinkUserGroupUserRolePath _linkUserGroupUserRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_group_user_role</code> table
|
||||
*/
|
||||
public LinkUserGroupUserRolePath linkUserGroupUserRole() {
|
||||
if (_linkUserGroupUserRole == null)
|
||||
_linkUserGroupUserRole = new LinkUserGroupUserRolePath(this, null, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE.getInverseKey());
|
||||
|
||||
return _linkUserGroupUserRole;
|
||||
}
|
||||
|
||||
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_role_authority</code> table
|
||||
*/
|
||||
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
|
||||
if (_linkUserRoleAuthority == null)
|
||||
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE.getInverseKey());
|
||||
|
||||
return _linkUserRoleAuthority;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserGroupUserRole().userGroup();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.authority</code> table
|
||||
*/
|
||||
public AuthorityPath authority() {
|
||||
return linkUserRoleAuthority().authority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(String alias) {
|
||||
return new UserRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Name alias) {
|
||||
return new UserRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Table<?> alias) {
|
||||
return new UserRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(String name) {
|
||||
return new UserRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Name name) {
|
||||
return new UserRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Table<?> name) {
|
||||
return new UserRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Condition condition) {
|
||||
return new UserRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.AccessLevel;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccessLevelRecord extends UpdatableRecordImpl<AccessLevelRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public void setAccessLevelId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public String getAccessLevelId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.level</code>.
|
||||
*/
|
||||
public void setLevel(Short value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.level</code>.
|
||||
*/
|
||||
public Short getLevel() {
|
||||
return (Short) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccessLevelRecord
|
||||
*/
|
||||
public AccessLevelRecord() {
|
||||
super(AccessLevel.ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccessLevelRecord
|
||||
*/
|
||||
public AccessLevelRecord(String accessLevelId, Short level, String description) {
|
||||
super(AccessLevel.ACCESS_LEVEL);
|
||||
|
||||
setAccessLevelId(accessLevelId);
|
||||
setLevel(level);
|
||||
setDescription(description);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.Authority;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AuthorityRecord extends UpdatableRecordImpl<AuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public void setAuthorityId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public String getAuthorityId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AuthorityRecord
|
||||
*/
|
||||
public AuthorityRecord() {
|
||||
super(Authority.AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AuthorityRecord
|
||||
*/
|
||||
public AuthorityRecord(String authorityId, String name, Timestamp created) {
|
||||
super(Authority.AUTHORITY);
|
||||
|
||||
setAuthorityId(authorityId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.EsiaUser;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EsiaUserRecord extends UpdatableRecordImpl<EsiaUserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public void setEsiaUserId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public String getEsiaUserId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public void setPersonContactId(Long value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public Long getPersonContactId() {
|
||||
return (Long) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached EsiaUserRecord
|
||||
*/
|
||||
public EsiaUserRecord() {
|
||||
super(EsiaUser.ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised EsiaUserRecord
|
||||
*/
|
||||
public EsiaUserRecord(String esiaUserId, String userAccountId, Long personContactId) {
|
||||
super(EsiaUser.ESIA_USER);
|
||||
|
||||
setEsiaUserId(esiaUserId);
|
||||
setUserAccountId(userAccountId);
|
||||
setPersonContactId(personContactId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserAccountUserGroupRecord extends UpdatableRecordImpl<LinkUserAccountUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public void setLinkUserAccountUserGroupId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public String getLinkUserAccountUserGroupId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserAccountUserGroupRecord
|
||||
*/
|
||||
public LinkUserAccountUserGroupRecord() {
|
||||
super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserAccountUserGroupRecord
|
||||
*/
|
||||
public LinkUserAccountUserGroupRecord(String linkUserAccountUserGroupId, String userAccountId, String userGroupId, Timestamp created) {
|
||||
super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
|
||||
|
||||
setLinkUserAccountUserGroupId(linkUserAccountUserGroupId);
|
||||
setUserAccountId(userAccountId);
|
||||
setUserGroupId(userGroupId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserGroupUserRoleRecord extends UpdatableRecordImpl<LinkUserGroupUserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public void setLinkUserGroupUserRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public String getLinkUserGroupUserRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserGroupUserRoleRecord
|
||||
*/
|
||||
public LinkUserGroupUserRoleRecord() {
|
||||
super(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserGroupUserRoleRecord
|
||||
*/
|
||||
public LinkUserGroupUserRoleRecord(String linkUserGroupUserRoleId, String userGroupId, String userRoleId, Timestamp created) {
|
||||
super(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE);
|
||||
|
||||
setLinkUserGroupUserRoleId(linkUserGroupUserRoleId);
|
||||
setUserGroupId(userGroupId);
|
||||
setUserRoleId(userRoleId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserRoleAuthorityRecord extends UpdatableRecordImpl<LinkUserRoleAuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public void setUserRoleAuthorityId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public String getUserRoleAuthorityId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public void setAuthorityId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public String getAuthorityId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserRoleAuthorityRecord
|
||||
*/
|
||||
public LinkUserRoleAuthorityRecord() {
|
||||
super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserRoleAuthorityRecord
|
||||
*/
|
||||
public LinkUserRoleAuthorityRecord(String userRoleAuthorityId, String userRoleId, String authorityId, Timestamp created) {
|
||||
super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
|
||||
|
||||
setUserRoleAuthorityId(userRoleAuthorityId);
|
||||
setUserRoleId(userRoleId);
|
||||
setAuthorityId(authorityId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,124 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.OrgUnit;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnitRecord extends UpdatableRecordImpl<OrgUnitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public void setParentId(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public String getParentId() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public void setRemoved(Boolean value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public Boolean getRemoved() {
|
||||
return (Boolean) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached OrgUnitRecord
|
||||
*/
|
||||
public OrgUnitRecord() {
|
||||
super(OrgUnit.ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised OrgUnitRecord
|
||||
*/
|
||||
public OrgUnitRecord(String id, String name, String code, String parentId, Boolean removed) {
|
||||
super(OrgUnit.ORG_UNIT);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
setCode(code);
|
||||
setParentId(parentId);
|
||||
setRemoved(removed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,261 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccount;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRecord extends UpdatableRecordImpl<UserAccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.email</code>.
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.email</code>.
|
||||
*/
|
||||
public String getEmail() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public void setFirstName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public String getFirstName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public void setLastName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public String getLastName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public void setMiddleName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public String getMiddleName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public void setLocked(Boolean value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public Boolean getLocked() {
|
||||
return (Boolean) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public void setOrgUnitId(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public String getOrgUnitId() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.username</code>.
|
||||
*/
|
||||
public void setUsername(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public void setEmailConfirmed(Boolean value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public Boolean getEmailConfirmed() {
|
||||
return (Boolean) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public void setUserSource(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public String getUserSource() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public void setSourceName(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public String getSourceName() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountRecord
|
||||
*/
|
||||
public UserAccountRecord() {
|
||||
super(UserAccount.USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountRecord
|
||||
*/
|
||||
public UserAccountRecord(String userAccountId, String email, String firstName, String lastName, String middleName, Timestamp created, Timestamp updated, Boolean locked, String orgUnitId, String username, String phone, Boolean emailConfirmed, String userSource, String sourceName) {
|
||||
super(UserAccount.USER_ACCOUNT);
|
||||
|
||||
setUserAccountId(userAccountId);
|
||||
setEmail(email);
|
||||
setFirstName(firstName);
|
||||
setLastName(lastName);
|
||||
setMiddleName(middleName);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
setLocked(locked);
|
||||
setOrgUnitId(orgUnitId);
|
||||
setUsername(username);
|
||||
setPhone(phone);
|
||||
setEmailConfirmed(emailConfirmed);
|
||||
setUserSource(userSource);
|
||||
setSourceName(sourceName);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,134 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserAccountRefreshToken;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRefreshTokenRecord extends UpdatableRecordImpl<UserAccountRefreshTokenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public void setUserAccountRefreshTokenId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public String getUserAccountRefreshTokenId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public void setRefreshToken(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public String getRefreshToken() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public void setAccessToken(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public String getAccessToken() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public void setExpirationTime(Timestamp value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public Timestamp getExpirationTime() {
|
||||
return (Timestamp) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountRefreshTokenRecord
|
||||
*/
|
||||
public UserAccountRefreshTokenRecord() {
|
||||
super(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountRefreshTokenRecord
|
||||
*/
|
||||
public UserAccountRefreshTokenRecord(String userAccountRefreshTokenId, String userAccountId, String refreshToken, String accessToken, Timestamp expirationTime) {
|
||||
super(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN);
|
||||
|
||||
setUserAccountRefreshTokenId(userAccountRefreshTokenId);
|
||||
setUserAccountId(userAccountId);
|
||||
setRefreshToken(refreshToken);
|
||||
setAccessToken(accessToken);
|
||||
setExpirationTime(expirationTime);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserGroup;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserGroupRecord extends UpdatableRecordImpl<UserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public void setAccessLevelId(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public String getAccessLevelId() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserGroupRecord
|
||||
*/
|
||||
public UserGroupRecord() {
|
||||
super(UserGroup.USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserGroupRecord
|
||||
*/
|
||||
public UserGroupRecord(String userGroupId, String name, Timestamp created, Timestamp updated, String accessLevelId) {
|
||||
super(UserGroup.USER_GROUP);
|
||||
|
||||
setUserGroupId(userGroupId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
setAccessLevelId(accessLevelId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_dashboard.ervu_dashboard.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_dashboard.ervu_dashboard.db_beans.security.tables.UserRole;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRoleRecord extends UpdatableRecordImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord() {
|
||||
super(UserRole.USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord(String userRoleId, String name, Timestamp created, Timestamp updated) {
|
||||
super(UserRole.USER_ROLE);
|
||||
|
||||
setUserRoleId(userRoleId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -58,6 +58,11 @@ const appRoutes: Routes = [
|
|||
loadChildren: 'generated-sources/page-notregistered.module#PagenotregisteredModule',
|
||||
canActivate: [AuthenticationGuard, ConfirmExitGuard],
|
||||
},
|
||||
{
|
||||
path: 'citizen',
|
||||
loadChildren: 'generated-sources/page-citizen.module#PagecitizenModule',
|
||||
canActivate: [AuthenticationGuard, ConfirmExitGuard],
|
||||
},
|
||||
{
|
||||
path: 'new-password',
|
||||
component: NewPasswordComponent
|
||||
|
|
|
|||
1581
resources/src/main/resources/business-model/citizen.page
Normal file
1581
resources/src/main/resources/business-model/citizen.page
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -8168,5 +8168,49 @@
|
|||
</properties>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="a14d0082-0fce-472e-96d5-b05a8e39437e">
|
||||
<prototypeId>fd7e47b9-dce1-4d14-9f3a-580c79f59579</prototypeId>
|
||||
<componentRootId>a14d0082-0fce-472e-96d5-b05a8e39437e</componentRootId>
|
||||
<name>Кнопка (нужно будет удалить) - страница "Поиск граждан в реестре"</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
<scripts id="e8bf0f81-b187-478a-a315-f9f00b515233">
|
||||
<classRef type="TS">
|
||||
<className>StaticRouteNavigationButton</className>
|
||||
<packageName>modules.user-management.component</packageName>
|
||||
</classRef>
|
||||
<enabled>true</enabled>
|
||||
<expanded>true</expanded>
|
||||
<properties>
|
||||
<entry>
|
||||
<key>addCurrentUrlIdToRoute</key>
|
||||
<value>
|
||||
<simple>null</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>caption</key>
|
||||
<value>
|
||||
<simple>"Вызов страницы \"Поиск граждан в реестре\""</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>route</key>
|
||||
<value>
|
||||
<simple>"/citizen"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>visible</key>
|
||||
<value>
|
||||
<simple>true</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
</children>
|
||||
</rootObjects>
|
||||
</xmlPage>
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@
|
|||
<componentRootId>53850c2b-700f-4cbd-a1d6-38b22cb0d727</componentRootId>
|
||||
<name>Горизонтальный контейнер</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -614,20 +615,6 @@
|
|||
</scripts>
|
||||
</children>
|
||||
</children>
|
||||
<children id="5899b01a-d918-4b00-9ee4-be9878f1944c">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>5899b01a-d918-4b00-9ee4-be9878f1944c</componentRootId>
|
||||
<name>23.3</name>
|
||||
<container>false</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
<children id="b0c6611a-8360-4ec9-9d53-410568cd99b7">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>b0c6611a-8360-4ec9-9d53-410568cd99b7</componentRootId>
|
||||
<name>млн. чел</name>
|
||||
<container>false</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
</children>
|
||||
<children id="271866d8-b40e-437f-a7b4-4e7546449fae">
|
||||
<prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
|
||||
|
|
@ -937,9 +924,8 @@
|
|||
<children id="76298b31-e12e-4ce4-b510-3e2378cb672c">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
<componentRootId>76298b31-e12e-4ce4-b510-3e2378cb672c</componentRootId>
|
||||
<name>VB - Возраст и Дети до 18лет</name>
|
||||
<name>VB - Возраст и занятость</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
|
||||
<scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
|
||||
|
|
@ -3433,7 +3419,6 @@
|
|||
<componentRootId>e304e85c-a38b-48f9-82b6-2b3fc14a912c</componentRootId>
|
||||
<name>VB - Занятость</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -4343,6 +4328,7 @@
|
|||
<componentRootId>87ad13ad-a19e-47e9-bb2b-d5a8e455422f</componentRootId>
|
||||
<name>Женщины</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="d1ce20ca-453b-4610-a2a5-bb6498db5cf5">
|
||||
<properties>
|
||||
|
|
@ -4744,20 +4730,6 @@
|
|||
</children>
|
||||
</children>
|
||||
</children>
|
||||
<children id="165926d4-781d-4fbc-854b-1ec4f05a40a3">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
<componentRootId>165926d4-781d-4fbc-854b-1ec4f05a40a3</componentRootId>
|
||||
<name>Дети до 18 лет</name>
|
||||
<container>true</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
<children id="dc9771ea-3293-4238-b77e-2d16674d420b">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
<componentRootId>dc9771ea-3293-4238-b77e-2d16674d420b</componentRootId>
|
||||
<name>Вертикальный контейнер</name>
|
||||
<container>true</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
</children>
|
||||
<children id="c82f22ad-6e64-4e09-9a35-982e97a0302c">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
|
|
@ -4856,6 +4828,12 @@
|
|||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>visible</key>
|
||||
<value>
|
||||
<simple>false</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
|
|
@ -5910,6 +5888,7 @@
|
|||
<componentRootId>321237e7-f5f9-4f77-a791-c18ac5cbfd25</componentRootId>
|
||||
<name>VB - Повестки</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -5973,6 +5952,7 @@
|
|||
<componentRootId>0ffee093-e7f5-4b30-a881-729461eb5e9b</componentRootId>
|
||||
<name>HB - график, значение</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
|
||||
<scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
|
||||
|
|
@ -5996,6 +5976,7 @@
|
|||
<componentRootId>ead471a6-804a-493c-8d42-f8dda6380b16</componentRootId>
|
||||
<name>VB - направлено повесток, средний срок явки</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -6624,6 +6605,7 @@
|
|||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<expanded>false</expanded>
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
|
|
@ -6778,7 +6760,7 @@
|
|||
<children id="7109fbbe-a033-4797-b6e8-ac2ef0a34558">
|
||||
<prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
|
||||
<componentRootId>7109fbbe-a033-4797-b6e8-ac2ef0a34558</componentRootId>
|
||||
<name>HB - наложено ограничений</name>
|
||||
<name>HB - электронно</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
|
|
@ -6808,7 +6790,7 @@
|
|||
<children id="e7dcc7e7-2c70-491f-9a1e-e9583a360e6a">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>e7dcc7e7-2c70-491f-9a1e-e9583a360e6a</componentRootId>
|
||||
<name>Наложено ограничений</name>
|
||||
<name>Электронно</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
|
|
@ -6816,7 +6798,7 @@
|
|||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"Наложено ограничений"</simple>
|
||||
<simple>"Электронно"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
|
|
@ -6855,6 +6837,327 @@
|
|||
<children id="bfb0c365-f6d4-4532-badc-692f84b82638">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>bfb0c365-f6d4-4532-badc-692f84b82638</componentRootId>
|
||||
<name>1.8 млн.</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="36b7fe60-137a-4911-8c33-9b73b6c980ff" removed="false">
|
||||
<value>
|
||||
<simple>"text-invert"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"1.8"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>label</key>
|
||||
<value>
|
||||
<simple>"млн."</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="4f38eb9e-7822-49ae-a1f7-8753072e4f3c">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>4f38eb9e-7822-49ae-a1f7-8753072e4f3c</componentRootId>
|
||||
<name>25%</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="ccc99eef-aa76-48fc-ae11-9ff13a26651e" removed="false">
|
||||
<value>
|
||||
<simple>"text-invert"</simple>
|
||||
</value>
|
||||
</item>
|
||||
<item id="89aad1f8-bd7c-4629-8663-8eb9207e7735" removed="false">
|
||||
<value>
|
||||
<simple>"mute"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"25"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>label</key>
|
||||
<value>
|
||||
<simple>"%"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
</children>
|
||||
</children>
|
||||
<children id="3bc83cd8-a66e-4c9a-87f3-1b7c812584f0">
|
||||
<prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
|
||||
<componentRootId>3bc83cd8-a66e-4c9a-87f3-1b7c812584f0</componentRootId>
|
||||
<name>HB - нарочно</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<expanded>false</expanded>
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="15374968-d1f2-488b-9f7b-2f3262ec3bad" removed="false">
|
||||
<value>
|
||||
<simple>"list-plain"</simple>
|
||||
</value>
|
||||
</item>
|
||||
<item id="3e7ac969-6837-4868-8a01-6f73b221e7ad" removed="true"/>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
|
||||
<scripts id="fe04d7fb-6c5b-46c4-b723-667732d81f4f"/>
|
||||
<scripts id="5c566210-2a60-4048-a2d1-84c7dd023248"/>
|
||||
<scripts id="3171b2e1-b4af-4335-95fa-1b2592604b84"/>
|
||||
<children id="accc1cc9-41ea-4db1-9dd6-0d5b5124f6ad">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>accc1cc9-41ea-4db1-9dd6-0d5b5124f6ad</componentRootId>
|
||||
<name>Нарочно</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"Нарочно"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="dac5863c-c807-41b5-ad4b-8b2173b767e0">
|
||||
<prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
|
||||
<componentRootId>dac5863c-c807-41b5-ad4b-8b2173b767e0</componentRootId>
|
||||
<name>HB - значения</name>
|
||||
<container>true</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="b9d2dd3c-f433-4d4e-8d57-366a21c64db4" removed="false">
|
||||
<value>
|
||||
<simple>"pull-right"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
|
||||
<scripts id="fe04d7fb-6c5b-46c4-b723-667732d81f4f"/>
|
||||
<scripts id="5c566210-2a60-4048-a2d1-84c7dd023248"/>
|
||||
<scripts id="3171b2e1-b4af-4335-95fa-1b2592604b84"/>
|
||||
<children id="2575b503-068f-4fc6-be3a-b7cbd96a730b">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>2575b503-068f-4fc6-be3a-b7cbd96a730b</componentRootId>
|
||||
<name>400 тыс.</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="05b6ab12-a90b-41de-adad-046f5fa3be1a" removed="false">
|
||||
<value>
|
||||
<simple>"text-invert"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"400"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>label</key>
|
||||
<value>
|
||||
<simple>"тыс."</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="50c466f8-40cc-4412-ac5b-d9319f06c1ea">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>50c466f8-40cc-4412-ac5b-d9319f06c1ea</componentRootId>
|
||||
<name>18%</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="88135af2-7a74-4fc5-a814-3b11ed06ea52" removed="false">
|
||||
<value>
|
||||
<simple>"text-invert"</simple>
|
||||
</value>
|
||||
</item>
|
||||
<item id="a875124d-65c4-4a13-97c5-0c593a73306b" removed="false">
|
||||
<value>
|
||||
<simple>"mute"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"18"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>label</key>
|
||||
<value>
|
||||
<simple>"%"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
</children>
|
||||
</children>
|
||||
<children id="f6fca60f-3536-4d66-b1c3-adc5b22e6802">
|
||||
<prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
|
||||
<componentRootId>f6fca60f-3536-4d66-b1c3-adc5b22e6802</componentRootId>
|
||||
<name>HB - наложено ограничений</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="b314e5a7-144f-4c83-b8ff-027a2708f3e1" removed="false">
|
||||
<value>
|
||||
<simple>"lined"</simple>
|
||||
</value>
|
||||
</item>
|
||||
<item id="2b724def-0b28-4c93-90be-0a6f09291726" removed="false">
|
||||
<value>
|
||||
<simple>"list-plain"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
|
||||
<scripts id="fe04d7fb-6c5b-46c4-b723-667732d81f4f"/>
|
||||
<scripts id="5c566210-2a60-4048-a2d1-84c7dd023248"/>
|
||||
<scripts id="3171b2e1-b4af-4335-95fa-1b2592604b84"/>
|
||||
<children id="fe21b15d-aac8-4bc2-9141-bd3dc08cd70b">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>fe21b15d-aac8-4bc2-9141-bd3dc08cd70b</componentRootId>
|
||||
<name>Наложено ограничений</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"Наложено ограничений"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="48778181-d66e-4266-8d3e-6008fcfc7d15">
|
||||
<prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
|
||||
<componentRootId>48778181-d66e-4266-8d3e-6008fcfc7d15</componentRootId>
|
||||
<name>HB - значения</name>
|
||||
<container>true</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="779295b1-4cd3-4add-80c3-6911bb4b2e28" removed="false">
|
||||
<value>
|
||||
<simple>"pull-right"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
|
||||
<scripts id="fe04d7fb-6c5b-46c4-b723-667732d81f4f"/>
|
||||
<scripts id="5c566210-2a60-4048-a2d1-84c7dd023248"/>
|
||||
<scripts id="3171b2e1-b4af-4335-95fa-1b2592604b84"/>
|
||||
<children id="b39c18c2-5947-4251-8e04-8a12aae97f2b">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>b39c18c2-5947-4251-8e04-8a12aae97f2b</componentRootId>
|
||||
<name>550 тыс.</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
|
|
@ -6891,9 +7194,9 @@
|
|||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="4f38eb9e-7822-49ae-a1f7-8753072e4f3c">
|
||||
<children id="54d18ac5-1009-4ec6-8125-9922eadefaba">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>4f38eb9e-7822-49ae-a1f7-8753072e4f3c</componentRootId>
|
||||
<componentRootId>54d18ac5-1009-4ec6-8125-9922eadefaba</componentRootId>
|
||||
<name>25%</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
|
|
@ -6952,27 +7255,6 @@
|
|||
<removed>true</removed>
|
||||
</children>
|
||||
</children>
|
||||
<children id="b89e5239-321d-496a-a71a-34c8571e4259">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
<componentRootId>b89e5239-321d-496a-a71a-34c8571e4259</componentRootId>
|
||||
<name>VB - Призыв</name>
|
||||
<container>true</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
<children id="ed5a6857-965a-4622-bb6d-9e7605e11054">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
<componentRootId>ed5a6857-965a-4622-bb6d-9e7605e11054</componentRootId>
|
||||
<name>VB - Повестки</name>
|
||||
<container>true</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
<children id="c6e579a0-7b1d-42e4-87c4-4d7fd009226c">
|
||||
<prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
|
||||
<componentRootId>c6e579a0-7b1d-42e4-87c4-4d7fd009226c</componentRootId>
|
||||
<name>VB - Обжалования</name>
|
||||
<container>true</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
</children>
|
||||
<children id="df450d11-0976-4fb5-bd4b-d39ad1fc188c">
|
||||
<prototypeId>fd7e47b9-dce1-4d14-9f3a-580c79f59579</prototypeId>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
<password>ervu-dashboard</password>
|
||||
<port>5432</port>
|
||||
<schemas>public</schemas>
|
||||
<schemas>security</schemas>
|
||||
<sqlDialect>POSTGRES</sqlDialect>
|
||||
<url>jdbc:postgresql://10.10.31.119:5432/ervu-dashboard</url>
|
||||
<urlPrefix>jdbc:postgresql:</urlPrefix>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue