diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/IdmReconcile.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/IdmReconcile.java new file mode 100644 index 0000000..da8c998 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/IdmReconcile.java @@ -0,0 +1,90 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile; + + +import java.util.Arrays; +import java.util.List; + +import org.jooq.Catalog; +import org.jooq.Table; +import org.jooq.impl.SchemaImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.DefaultCatalog; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class IdmReconcile extends SchemaImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile + */ + public static final IdmReconcile IDM_RECONCILE = new IdmReconcile(); + + /** + * The table idm_reconcile.account. + */ + public final Account ACCOUNT = Account.ACCOUNT; + + /** + * The table idm_reconcile.account_role. + */ + public final AccountRole ACCOUNT_ROLE = AccountRole.ACCOUNT_ROLE; + + /** + * The table idm_reconcile.domain. + */ + public final Domain DOMAIN = Domain.DOMAIN; + + /** + * The table idm_reconcile.person. + */ + public final Person PERSON = Person.PERSON; + + /** + * The table idm_reconcile.person_ip_address. + */ + public final PersonIpAddress PERSON_IP_ADDRESS = PersonIpAddress.PERSON_IP_ADDRESS; + + /** + * The table idm_reconcile.role. + */ + public final Role ROLE = Role.ROLE; + + /** + * No further instances allowed + */ + private IdmReconcile() { + super("idm_reconcile", null); + } + + + @Override + public Catalog getCatalog() { + return DefaultCatalog.DEFAULT_CATALOG; + } + + @Override + public final List> getTables() { + return Arrays.asList( + Account.ACCOUNT, + AccountRole.ACCOUNT_ROLE, + Domain.DOMAIN, + Person.PERSON, + PersonIpAddress.PERSON_IP_ADDRESS, + Role.ROLE + ); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/Keys.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/Keys.java new file mode 100644 index 0000000..0276984 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/Keys.java @@ -0,0 +1,54 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile; + + +import org.jooq.ForeignKey; +import org.jooq.TableField; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.Internal; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonIpAddressRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord; + + +/** + * A class modelling foreign key relationships and constraints of tables in + * idm_reconcile. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Keys { + + // ------------------------------------------------------------------------- + // UNIQUE and PRIMARY KEY definitions + // ------------------------------------------------------------------------- + + public static final UniqueKey ACCOUNT_PKEY = Internal.createUniqueKey(Account.ACCOUNT, DSL.name("account_pkey"), new TableField[] { Account.ACCOUNT.ID }, true); + public static final UniqueKey PK_ACCOUNT_ROLE = Internal.createUniqueKey(AccountRole.ACCOUNT_ROLE, DSL.name("pk_account_role"), new TableField[] { AccountRole.ACCOUNT_ROLE.ACCOUNT_ID, AccountRole.ACCOUNT_ROLE.ROLE_ID }, true); + public static final UniqueKey DOMAIN_PKEY = Internal.createUniqueKey(Domain.DOMAIN, DSL.name("domain_pkey"), new TableField[] { Domain.DOMAIN.ID }, true); + public static final UniqueKey PERSON_PKEY = Internal.createUniqueKey(Person.PERSON, DSL.name("person_pkey"), new TableField[] { Person.PERSON.ID }, true); + public static final UniqueKey PK_PERSON_IP = Internal.createUniqueKey(PersonIpAddress.PERSON_IP_ADDRESS, DSL.name("pk_person_ip"), new TableField[] { PersonIpAddress.PERSON_IP_ADDRESS.PERSON_ID, PersonIpAddress.PERSON_IP_ADDRESS.IP_ADDRESS }, true); + public static final UniqueKey ROLE_PKEY = Internal.createUniqueKey(Role.ROLE, DSL.name("role_pkey"), new TableField[] { Role.ROLE.ID }, true); + + // ------------------------------------------------------------------------- + // FOREIGN KEY definitions + // ------------------------------------------------------------------------- + + public static final ForeignKey ACCOUNT__FK_DOMAIN = Internal.createForeignKey(Account.ACCOUNT, DSL.name("fk_domain"), new TableField[] { Account.ACCOUNT.DOMAIN_ID }, Keys.DOMAIN_PKEY, new TableField[] { Domain.DOMAIN.ID }, true); + public static final ForeignKey ACCOUNT__FK_PERSON = Internal.createForeignKey(Account.ACCOUNT, DSL.name("fk_person"), new TableField[] { Account.ACCOUNT.PERSON_ID }, Keys.PERSON_PKEY, new TableField[] { Person.PERSON.ID }, true); + public static final ForeignKey ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT = Internal.createForeignKey(AccountRole.ACCOUNT_ROLE, DSL.name("fk_account_role_account"), new TableField[] { AccountRole.ACCOUNT_ROLE.ACCOUNT_ID }, Keys.ACCOUNT_PKEY, new TableField[] { Account.ACCOUNT.ID }, true); + public static final ForeignKey ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE = Internal.createForeignKey(AccountRole.ACCOUNT_ROLE, DSL.name("fk_account_role_role"), new TableField[] { AccountRole.ACCOUNT_ROLE.ROLE_ID }, Keys.ROLE_PKEY, new TableField[] { Role.ROLE.ID }, true); + public static final ForeignKey PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON = Internal.createForeignKey(PersonIpAddress.PERSON_IP_ADDRESS, DSL.name("fk_person_ip_person"), new TableField[] { PersonIpAddress.PERSON_IP_ADDRESS.PERSON_ID }, Keys.PERSON_PKEY, new TableField[] { Person.PERSON.ID }, true); +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/Tables.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/Tables.java new file mode 100644 index 0000000..31fcd73 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/Tables.java @@ -0,0 +1,50 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile; + + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role; + + +/** + * Convenience access to all tables in idm_reconcile. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Tables { + + /** + * The table idm_reconcile.account. + */ + public static final Account ACCOUNT = Account.ACCOUNT; + + /** + * The table idm_reconcile.account_role. + */ + public static final AccountRole ACCOUNT_ROLE = AccountRole.ACCOUNT_ROLE; + + /** + * The table idm_reconcile.domain. + */ + public static final Domain DOMAIN = Domain.DOMAIN; + + /** + * The table idm_reconcile.person. + */ + public static final Person PERSON = Person.PERSON; + + /** + * The table idm_reconcile.person_ip_address. + */ + public static final PersonIpAddress PERSON_IP_ADDRESS = PersonIpAddress.PERSON_IP_ADDRESS; + + /** + * The table idm_reconcile.role. + */ + public static final Role ROLE = Role.ROLE; +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Account.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Account.java new file mode 100644 index 0000000..dd16c43 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Account.java @@ -0,0 +1,372 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables; + + +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; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole.AccountRolePath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain.DomainPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person.PersonPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role.RolePath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Account extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile.account + */ + public static final Account ACCOUNT = new Account(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return AccountRecord.class; + } + + /** + * The column idm_reconcile.account.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column idm_reconcile.account.version. + */ + public final TableField VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column idm_reconcile.account.modified. + */ + public final TableField MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, ""); + + /** + * The column idm_reconcile.account.schema. + */ + public final TableField SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(100).nullable(false), this, ""); + + /** + * The column idm_reconcile.account.start. + */ + public final TableField START = createField(DSL.name("start"), SQLDataType.VARCHAR(50), this, ""); + + /** + * The column idm_reconcile.account.finish. + */ + public final TableField FINISH = createField(DSL.name("finish"), SQLDataType.VARCHAR(50), this, ""); + + /** + * The column idm_reconcile.account.enabled. + */ + public final TableField ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, ""); + + /** + * The column idm_reconcile.account.position. + */ + public final TableField POSITION = createField(DSL.name("position"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.account.fio. + */ + public final TableField FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.account.work_mail. + */ + public final TableField WORK_MAIL = createField(DSL.name("work_mail"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.account.esia_account. + */ + public final TableField ESIA_ACCOUNT = createField(DSL.name("esia_account"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, ""); + + /** + * The column idm_reconcile.account.domain_id. + */ + public final TableField DOMAIN_ID = createField(DSL.name("domain_id"), SQLDataType.VARCHAR(36), this, ""); + + /** + * The column idm_reconcile.account.person_id. + */ + public final TableField PERSON_ID = createField(DSL.name("person_id"), SQLDataType.VARCHAR(36), this, ""); + + private Account(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private Account(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased idm_reconcile.account table reference + */ + public Account(String alias) { + this(DSL.name(alias), ACCOUNT); + } + + /** + * Create an aliased idm_reconcile.account table reference + */ + public Account(Name alias) { + this(alias, ACCOUNT); + } + + /** + * Create a idm_reconcile.account table reference + */ + public Account() { + this(DSL.name("account"), null); + } + + public Account(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, ACCOUNT); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class AccountPath extends Account implements Path { + public AccountPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private AccountPath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public AccountPath as(String alias) { + return new AccountPath(DSL.name(alias), this); + } + + @Override + public AccountPath as(Name alias) { + return new AccountPath(alias, this); + } + + @Override + public AccountPath as(Table alias) { + return new AccountPath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : IdmReconcile.IDM_RECONCILE; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.ACCOUNT_PKEY; + } + + @Override + public List> getReferences() { + return Arrays.asList(Keys.ACCOUNT__FK_DOMAIN, Keys.ACCOUNT__FK_PERSON); + } + + private transient DomainPath _domain; + + /** + * Get the implicit join path to the idm_reconcile.domain + * table. + */ + public DomainPath domain() { + if (_domain == null) + _domain = new DomainPath(this, Keys.ACCOUNT__FK_DOMAIN, null); + + return _domain; + } + + private transient PersonPath _person; + + /** + * Get the implicit join path to the idm_reconcile.person + * table. + */ + public PersonPath person() { + if (_person == null) + _person = new PersonPath(this, Keys.ACCOUNT__FK_PERSON, null); + + return _person; + } + + private transient AccountRolePath _accountRole; + + /** + * Get the implicit to-many join path to the + * idm_reconcile.account_role table + */ + public AccountRolePath accountRole() { + if (_accountRole == null) + _accountRole = new AccountRolePath(this, null, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT.getInverseKey()); + + return _accountRole; + } + + /** + * Get the implicit many-to-many join path to the + * idm_reconcile.role table + */ + public RolePath role() { + return accountRole().role(); + } + + @Override + public Account as(String alias) { + return new Account(DSL.name(alias), this); + } + + @Override + public Account as(Name alias) { + return new Account(alias, this); + } + + @Override + public Account as(Table alias) { + return new Account(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public Account rename(String name) { + return new Account(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public Account rename(Name name) { + return new Account(name, null); + } + + /** + * Rename this table + */ + @Override + public Account rename(Table name) { + return new Account(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Account where(Condition condition) { + return new Account(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Account where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Account where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Account where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Account where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Account where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Account where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Account where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Account whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Account whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/AccountRole.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/AccountRole.java new file mode 100644 index 0000000..e0a896c --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/AccountRole.java @@ -0,0 +1,292 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables; + + +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; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role.RolePath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountRole extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile.account_role + */ + public static final AccountRole ACCOUNT_ROLE = new AccountRole(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return AccountRoleRecord.class; + } + + /** + * The column idm_reconcile.account_role.account_id. + */ + public final TableField ACCOUNT_ID = createField(DSL.name("account_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column idm_reconcile.account_role.role_id. + */ + public final TableField ROLE_ID = createField(DSL.name("role_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + private AccountRole(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private AccountRole(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased idm_reconcile.account_role table reference + */ + public AccountRole(String alias) { + this(DSL.name(alias), ACCOUNT_ROLE); + } + + /** + * Create an aliased idm_reconcile.account_role table reference + */ + public AccountRole(Name alias) { + this(alias, ACCOUNT_ROLE); + } + + /** + * Create a idm_reconcile.account_role table reference + */ + public AccountRole() { + this(DSL.name("account_role"), null); + } + + public AccountRole(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, ACCOUNT_ROLE); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class AccountRolePath extends AccountRole implements Path { + public AccountRolePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private AccountRolePath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public AccountRolePath as(String alias) { + return new AccountRolePath(DSL.name(alias), this); + } + + @Override + public AccountRolePath as(Name alias) { + return new AccountRolePath(alias, this); + } + + @Override + public AccountRolePath as(Table alias) { + return new AccountRolePath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : IdmReconcile.IDM_RECONCILE; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.PK_ACCOUNT_ROLE; + } + + @Override + public List> getReferences() { + return Arrays.asList(Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE); + } + + private transient AccountPath _account; + + /** + * Get the implicit join path to the idm_reconcile.account + * table. + */ + public AccountPath account() { + if (_account == null) + _account = new AccountPath(this, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT, null); + + return _account; + } + + private transient RolePath _role; + + /** + * Get the implicit join path to the idm_reconcile.role table. + */ + public RolePath role() { + if (_role == null) + _role = new RolePath(this, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE, null); + + return _role; + } + + @Override + public AccountRole as(String alias) { + return new AccountRole(DSL.name(alias), this); + } + + @Override + public AccountRole as(Name alias) { + return new AccountRole(alias, this); + } + + @Override + public AccountRole as(Table alias) { + return new AccountRole(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public AccountRole rename(String name) { + return new AccountRole(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public AccountRole rename(Name name) { + return new AccountRole(name, null); + } + + /** + * Rename this table + */ + @Override + public AccountRole rename(Table name) { + return new AccountRole(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public AccountRole where(Condition condition) { + return new AccountRole(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public AccountRole where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public AccountRole where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public AccountRole where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public AccountRole where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public AccountRole where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public AccountRole where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public AccountRole where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public AccountRole whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public AccountRole whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Domain.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Domain.java new file mode 100644 index 0000000..f3e17b2 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Domain.java @@ -0,0 +1,514 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables; + + +import java.sql.Timestamp; +import java.util.Collection; + +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; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Domain extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile.domain + */ + public static final Domain DOMAIN = new Domain(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return DomainRecord.class; + } + + /** + * The column idm_reconcile.domain.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + + /** + * The column idm_reconcile.domain.version. + */ + public final TableField VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column idm_reconcile.domain.modified. + */ + public final TableField MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, ""); + + /** + * The column idm_reconcile.domain.schema. + */ + public final TableField SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + + /** + * The column idm_reconcile.domain.name. + */ + public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.shortname. + */ + public final TableField SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.fullname. + */ + public final TableField FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.dns. + */ + public final TableField DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.email. + */ + public final TableField EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.phone. + */ + public final TableField PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.address. + */ + public final TableField ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR(1024), this, ""); + + /** + * The column idm_reconcile.domain.postal_address. + */ + public final TableField POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR(1024), this, ""); + + /** + * The column idm_reconcile.domain.address_id. + */ + public final TableField ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.postal_address_id. + */ + public final TableField POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.military_code. + */ + public final TableField MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.timezone. + */ + public final TableField TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.reports_enabled. + */ + public final TableField REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, ""); + + /** + * The column idm_reconcile.domain.inn. + */ + public final TableField INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.leg. + */ + public final TableField LEG = createField(DSL.name("leg"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.ogrn. + */ + public final TableField OGRN = createField(DSL.name("ogrn"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.region. + */ + public final TableField REGION = createField(DSL.name("region"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.epgu_id. + */ + public final TableField EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.type. + */ + public final TableField TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.esia_employee_authorization. + */ + public final TableField ESIA_EMPLOYEE_AUTHORIZATION = createField(DSL.name("esia_employee_authorization"), SQLDataType.BOOLEAN, this, ""); + + /** + * The column idm_reconcile.domain.default_s3_bucket. + */ + public final TableField DEFAULT_S3_BUCKET = createField(DSL.name("default_s3_bucket"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.opf. + */ + public final TableField OPF = createField(DSL.name("opf"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.kpp. + */ + public final TableField KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.checking_account. + */ + public final TableField CHECKING_ACCOUNT = createField(DSL.name("checking_account"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.bik. + */ + public final TableField BIK = createField(DSL.name("bik"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.bank_name. + */ + public final TableField BANK_NAME = createField(DSL.name("bank_name"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.bank_correspondent_account. + */ + public final TableField BANK_CORRESPONDENT_ACCOUNT = createField(DSL.name("bank_correspondent_account"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.oktmo. + */ + public final TableField OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.okato. + */ + public final TableField OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.gov_registration_date. + */ + public final TableField GOV_REGISTRATION_DATE = createField(DSL.name("gov_registration_date"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.gov_organization_type. + */ + public final TableField GOV_ORGANIZATION_TYPE = createField(DSL.name("gov_organization_type"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.alias_key. + */ + public final TableField ALIAS_KEY = createField(DSL.name("alias_key"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.pass_key. + */ + public final TableField PASS_KEY = createField(DSL.name("pass_key"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.certificate. + */ + public final TableField CERTIFICATE = createField(DSL.name("certificate"), SQLDataType.VARCHAR(2048), this, ""); + + /** + * The column idm_reconcile.domain.account_number_tofk. + */ + public final TableField ACCOUNT_NUMBER_TOFK = createField(DSL.name("account_number_tofk"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.bik_tofk. + */ + public final TableField BIK_TOFK = createField(DSL.name("bik_tofk"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column + * idm_reconcile.domain.correspondent_bank_account_tofk. + */ + public final TableField CORRESPONDENT_BANK_ACCOUNT_TOFK = createField(DSL.name("correspondent_bank_account_tofk"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.name_tofk. + */ + public final TableField NAME_TOFK = createField(DSL.name("name_tofk"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.nsi_organization_id. + */ + public final TableField NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.doc_handle. + */ + public final TableField DOC_HANDLE = createField(DSL.name("doc_handle"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.division_type. + */ + public final TableField DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.tns_department_id. + */ + public final TableField TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.enabled. + */ + public final TableField ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN, this, ""); + + /** + * The column idm_reconcile.domain.parent. + */ + public final TableField PARENT = createField(DSL.name("parent"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.region_id. + */ + public final TableField REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.domain.managed. + */ + public final TableField MANAGED = createField(DSL.name("managed"), SQLDataType.VARCHAR(255), this, ""); + + private Domain(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private Domain(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased idm_reconcile.domain table reference + */ + public Domain(String alias) { + this(DSL.name(alias), DOMAIN); + } + + /** + * Create an aliased idm_reconcile.domain table reference + */ + public Domain(Name alias) { + this(alias, DOMAIN); + } + + /** + * Create a idm_reconcile.domain table reference + */ + public Domain() { + this(DSL.name("domain"), null); + } + + public Domain(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, DOMAIN); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class DomainPath extends Domain implements Path { + public DomainPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private DomainPath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public DomainPath as(String alias) { + return new DomainPath(DSL.name(alias), this); + } + + @Override + public DomainPath as(Name alias) { + return new DomainPath(alias, this); + } + + @Override + public DomainPath as(Table alias) { + return new DomainPath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : IdmReconcile.IDM_RECONCILE; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.DOMAIN_PKEY; + } + + private transient AccountPath _account; + + /** + * Get the implicit to-many join path to the + * idm_reconcile.account table + */ + public AccountPath account() { + if (_account == null) + _account = new AccountPath(this, null, Keys.ACCOUNT__FK_DOMAIN.getInverseKey()); + + return _account; + } + + @Override + public Domain as(String alias) { + return new Domain(DSL.name(alias), this); + } + + @Override + public Domain as(Name alias) { + return new Domain(alias, this); + } + + @Override + public Domain as(Table alias) { + return new Domain(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public Domain rename(String name) { + return new Domain(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public Domain rename(Name name) { + return new Domain(name, null); + } + + /** + * Rename this table + */ + @Override + public Domain rename(Table name) { + return new Domain(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Domain where(Condition condition) { + return new Domain(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Domain where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Domain where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Domain where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Domain where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Domain where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Domain where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Domain where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Domain whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Domain whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Person.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Person.java new file mode 100644 index 0000000..177e08e --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Person.java @@ -0,0 +1,353 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables; + + +import java.sql.Date; +import java.sql.Timestamp; +import java.util.Collection; + +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; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress.PersonIpAddressPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Person extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile.person + */ + public static final Person PERSON = new Person(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return PersonRecord.class; + } + + /** + * The column idm_reconcile.person.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column idm_reconcile.person.version. + */ + public final TableField VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column idm_reconcile.person.modified. + */ + public final TableField MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, ""); + + /** + * The column idm_reconcile.person.schema. + */ + public final TableField SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(100).nullable(false), this, ""); + + /** + * The column idm_reconcile.person.birthdate. + */ + public final TableField BIRTHDATE = createField(DSL.name("birthdate"), SQLDataType.DATE, this, ""); + + /** + * The column idm_reconcile.person.firstname. + */ + public final TableField FIRSTNAME = createField(DSL.name("firstname"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.person.middlename. + */ + public final TableField MIDDLENAME = createField(DSL.name("middlename"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.person.surname. + */ + public final TableField SURNAME = createField(DSL.name("surname"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.person.sex. + */ + public final TableField SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR(10), this, ""); + + /** + * The column idm_reconcile.person.email. + */ + public final TableField EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.person.photo. + */ + public final TableField PHOTO = createField(DSL.name("photo"), SQLDataType.CLOB, this, ""); + + /** + * The column idm_reconcile.person.phone. + */ + public final TableField PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(50), this, ""); + + /** + * The column idm_reconcile.person.snils. + */ + public final TableField SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(20), this, ""); + + /** + * The column idm_reconcile.person.second_factor_enabled. + */ + public final TableField SECOND_FACTOR_ENABLED = createField(DSL.name("second_factor_enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, ""); + + /** + * The column idm_reconcile.person.fio. + */ + public final TableField FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR(255), this, ""); + + private Person(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private Person(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased idm_reconcile.person table reference + */ + public Person(String alias) { + this(DSL.name(alias), PERSON); + } + + /** + * Create an aliased idm_reconcile.person table reference + */ + public Person(Name alias) { + this(alias, PERSON); + } + + /** + * Create a idm_reconcile.person table reference + */ + public Person() { + this(DSL.name("person"), null); + } + + public Person(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, PERSON); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class PersonPath extends Person implements Path { + public PersonPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private PersonPath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public PersonPath as(String alias) { + return new PersonPath(DSL.name(alias), this); + } + + @Override + public PersonPath as(Name alias) { + return new PersonPath(alias, this); + } + + @Override + public PersonPath as(Table alias) { + return new PersonPath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : IdmReconcile.IDM_RECONCILE; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.PERSON_PKEY; + } + + private transient AccountPath _account; + + /** + * Get the implicit to-many join path to the + * idm_reconcile.account table + */ + public AccountPath account() { + if (_account == null) + _account = new AccountPath(this, null, Keys.ACCOUNT__FK_PERSON.getInverseKey()); + + return _account; + } + + private transient PersonIpAddressPath _personIpAddress; + + /** + * Get the implicit to-many join path to the + * idm_reconcile.person_ip_address table + */ + public PersonIpAddressPath personIpAddress() { + if (_personIpAddress == null) + _personIpAddress = new PersonIpAddressPath(this, null, Keys.PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON.getInverseKey()); + + return _personIpAddress; + } + + @Override + public Person as(String alias) { + return new Person(DSL.name(alias), this); + } + + @Override + public Person as(Name alias) { + return new Person(alias, this); + } + + @Override + public Person as(Table alias) { + return new Person(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public Person rename(String name) { + return new Person(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public Person rename(Name name) { + return new Person(name, null); + } + + /** + * Rename this table + */ + @Override + public Person rename(Table name) { + return new Person(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Person where(Condition condition) { + return new Person(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Person where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Person where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Person where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Person where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Person where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Person where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Person where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Person whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Person whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/PersonIpAddress.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/PersonIpAddress.java new file mode 100644 index 0000000..8d3f85d --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/PersonIpAddress.java @@ -0,0 +1,281 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables; + + +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; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person.PersonPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonIpAddressRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class PersonIpAddress extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile.person_ip_address + */ + public static final PersonIpAddress PERSON_IP_ADDRESS = new PersonIpAddress(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return PersonIpAddressRecord.class; + } + + /** + * The column idm_reconcile.person_ip_address.person_id. + */ + public final TableField PERSON_ID = createField(DSL.name("person_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column idm_reconcile.person_ip_address.ip_address. + */ + public final TableField IP_ADDRESS = createField(DSL.name("ip_address"), SQLDataType.VARCHAR(45).nullable(false), this, ""); + + private PersonIpAddress(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private PersonIpAddress(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased idm_reconcile.person_ip_address table + * reference + */ + public PersonIpAddress(String alias) { + this(DSL.name(alias), PERSON_IP_ADDRESS); + } + + /** + * Create an aliased idm_reconcile.person_ip_address table + * reference + */ + public PersonIpAddress(Name alias) { + this(alias, PERSON_IP_ADDRESS); + } + + /** + * Create a idm_reconcile.person_ip_address table reference + */ + public PersonIpAddress() { + this(DSL.name("person_ip_address"), null); + } + + public PersonIpAddress(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, PERSON_IP_ADDRESS); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class PersonIpAddressPath extends PersonIpAddress implements Path { + public PersonIpAddressPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private PersonIpAddressPath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public PersonIpAddressPath as(String alias) { + return new PersonIpAddressPath(DSL.name(alias), this); + } + + @Override + public PersonIpAddressPath as(Name alias) { + return new PersonIpAddressPath(alias, this); + } + + @Override + public PersonIpAddressPath as(Table alias) { + return new PersonIpAddressPath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : IdmReconcile.IDM_RECONCILE; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.PK_PERSON_IP; + } + + @Override + public List> getReferences() { + return Arrays.asList(Keys.PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON); + } + + private transient PersonPath _person; + + /** + * Get the implicit join path to the idm_reconcile.person + * table. + */ + public PersonPath person() { + if (_person == null) + _person = new PersonPath(this, Keys.PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON, null); + + return _person; + } + + @Override + public PersonIpAddress as(String alias) { + return new PersonIpAddress(DSL.name(alias), this); + } + + @Override + public PersonIpAddress as(Name alias) { + return new PersonIpAddress(alias, this); + } + + @Override + public PersonIpAddress as(Table alias) { + return new PersonIpAddress(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public PersonIpAddress rename(String name) { + return new PersonIpAddress(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public PersonIpAddress rename(Name name) { + return new PersonIpAddress(name, null); + } + + /** + * Rename this table + */ + @Override + public PersonIpAddress rename(Table name) { + return new PersonIpAddress(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public PersonIpAddress where(Condition condition) { + return new PersonIpAddress(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public PersonIpAddress where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public PersonIpAddress where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public PersonIpAddress where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public PersonIpAddress where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public PersonIpAddress where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public PersonIpAddress where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public PersonIpAddress where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public PersonIpAddress whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public PersonIpAddress whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Role.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Role.java new file mode 100644 index 0000000..d6a1afd --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/Role.java @@ -0,0 +1,327 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables; + + +import java.sql.Timestamp; +import java.util.Collection; + +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; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole.AccountRolePath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Role extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of idm_reconcile.role + */ + public static final Role ROLE = new Role(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return RoleRecord.class; + } + + /** + * The column idm_reconcile.role.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + + /** + * The column idm_reconcile.role.version. + */ + public final TableField VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column idm_reconcile.role.modified. + */ + public final TableField MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, ""); + + /** + * The column idm_reconcile.role.schema. + */ + public final TableField SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(255).nullable(false), this, ""); + + /** + * The column idm_reconcile.role.name. + */ + public final TableField NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.role.shortname. + */ + public final TableField SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.role.display_name. + */ + public final TableField DISPLAY_NAME = createField(DSL.name("display_name"), SQLDataType.VARCHAR(255), this, ""); + + /** + * The column idm_reconcile.role.sessions_limit. + */ + public final TableField SESSIONS_LIMIT = createField(DSL.name("sessions_limit"), SQLDataType.INTEGER, this, ""); + + /** + * The column idm_reconcile.role.ervu_role. + */ + public final TableField ERVU_ROLE = createField(DSL.name("ervu_role"), SQLDataType.BOOLEAN, this, ""); + + /** + * The column idm_reconcile.role.imported. + */ + public final TableField IMPORTED = createField(DSL.name("imported"), SQLDataType.INTEGER, this, ""); + + /** + * The column idm_reconcile.role.description. + */ + public final TableField DESCRIPTION = createField(DSL.name("description"), SQLDataType.CLOB, this, ""); + + private Role(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private Role(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased idm_reconcile.role table reference + */ + public Role(String alias) { + this(DSL.name(alias), ROLE); + } + + /** + * Create an aliased idm_reconcile.role table reference + */ + public Role(Name alias) { + this(alias, ROLE); + } + + /** + * Create a idm_reconcile.role table reference + */ + public Role() { + this(DSL.name("role"), null); + } + + public Role(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, ROLE); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class RolePath extends Role implements Path { + public RolePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private RolePath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public RolePath as(String alias) { + return new RolePath(DSL.name(alias), this); + } + + @Override + public RolePath as(Name alias) { + return new RolePath(alias, this); + } + + @Override + public RolePath as(Table alias) { + return new RolePath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : IdmReconcile.IDM_RECONCILE; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.ROLE_PKEY; + } + + private transient AccountRolePath _accountRole; + + /** + * Get the implicit to-many join path to the + * idm_reconcile.account_role table + */ + public AccountRolePath accountRole() { + if (_accountRole == null) + _accountRole = new AccountRolePath(this, null, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE.getInverseKey()); + + return _accountRole; + } + + /** + * Get the implicit many-to-many join path to the + * idm_reconcile.account table + */ + public AccountPath account() { + return accountRole().account(); + } + + @Override + public Role as(String alias) { + return new Role(DSL.name(alias), this); + } + + @Override + public Role as(Name alias) { + return new Role(alias, this); + } + + @Override + public Role as(Table alias) { + return new Role(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public Role rename(String name) { + return new Role(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public Role rename(Name name) { + return new Role(name, null); + } + + /** + * Rename this table + */ + @Override + public Role rename(Table name) { + return new Role(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Role where(Condition condition) { + return new Role(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Role where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Role where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Role where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Role where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Role where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Role where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public Role where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Role whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public Role whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRecord.java new file mode 100644 index 0000000..68db55d --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRecord.java @@ -0,0 +1,246 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records; + + +import java.sql.Timestamp; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for idm_reconcile.account.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for idm_reconcile.account.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for idm_reconcile.account.version. + */ + public void setVersion(Integer value) { + set(1, value); + } + + /** + * Getter for idm_reconcile.account.version. + */ + public Integer getVersion() { + return (Integer) get(1); + } + + /** + * Setter for idm_reconcile.account.modified. + */ + public void setModified(Timestamp value) { + set(2, value); + } + + /** + * Getter for idm_reconcile.account.modified. + */ + public Timestamp getModified() { + return (Timestamp) get(2); + } + + /** + * Setter for idm_reconcile.account.schema. + */ + public void setSchema(String value) { + set(3, value); + } + + /** + * Getter for idm_reconcile.account.schema. + */ + public String getSchema() { + return (String) get(3); + } + + /** + * Setter for idm_reconcile.account.start. + */ + public void setStart(String value) { + set(4, value); + } + + /** + * Getter for idm_reconcile.account.start. + */ + public String getStart() { + return (String) get(4); + } + + /** + * Setter for idm_reconcile.account.finish. + */ + public void setFinish(String value) { + set(5, value); + } + + /** + * Getter for idm_reconcile.account.finish. + */ + public String getFinish() { + return (String) get(5); + } + + /** + * Setter for idm_reconcile.account.enabled. + */ + public void setEnabled(Boolean value) { + set(6, value); + } + + /** + * Getter for idm_reconcile.account.enabled. + */ + public Boolean getEnabled() { + return (Boolean) get(6); + } + + /** + * Setter for idm_reconcile.account.position. + */ + public void setPosition(String value) { + set(7, value); + } + + /** + * Getter for idm_reconcile.account.position. + */ + public String getPosition() { + return (String) get(7); + } + + /** + * Setter for idm_reconcile.account.fio. + */ + public void setFio(String value) { + set(8, value); + } + + /** + * Getter for idm_reconcile.account.fio. + */ + public String getFio() { + return (String) get(8); + } + + /** + * Setter for idm_reconcile.account.work_mail. + */ + public void setWorkMail(String value) { + set(9, value); + } + + /** + * Getter for idm_reconcile.account.work_mail. + */ + public String getWorkMail() { + return (String) get(9); + } + + /** + * Setter for idm_reconcile.account.esia_account. + */ + public void setEsiaAccount(Boolean value) { + set(10, value); + } + + /** + * Getter for idm_reconcile.account.esia_account. + */ + public Boolean getEsiaAccount() { + return (Boolean) get(10); + } + + /** + * Setter for idm_reconcile.account.domain_id. + */ + public void setDomainId(String value) { + set(11, value); + } + + /** + * Getter for idm_reconcile.account.domain_id. + */ + public String getDomainId() { + return (String) get(11); + } + + /** + * Setter for idm_reconcile.account.person_id. + */ + public void setPersonId(String value) { + set(12, value); + } + + /** + * Getter for idm_reconcile.account.person_id. + */ + public String getPersonId() { + return (String) get(12); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountRecord + */ + public AccountRecord() { + super(Account.ACCOUNT); + } + + /** + * Create a detached, initialised AccountRecord + */ + public AccountRecord(String id, Integer version, Timestamp modified, String schema, String start, String finish, Boolean enabled, String position, String fio, String workMail, Boolean esiaAccount, String domainId, String personId) { + super(Account.ACCOUNT); + + setId(id); + setVersion(version); + setModified(modified); + setSchema(schema); + setStart(start); + setFinish(finish); + setEnabled(enabled); + setPosition(position); + setFio(fio); + setWorkMail(workMail); + setEsiaAccount(esiaAccount); + setDomainId(domainId); + setPersonId(personId); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java new file mode 100644 index 0000000..7fad8f8 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java @@ -0,0 +1,79 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records; + + +import org.jooq.Record2; +import org.jooq.impl.UpdatableRecordImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountRoleRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for idm_reconcile.account_role.account_id. + */ + public void setAccountId(String value) { + set(0, value); + } + + /** + * Getter for idm_reconcile.account_role.account_id. + */ + public String getAccountId() { + return (String) get(0); + } + + /** + * Setter for idm_reconcile.account_role.role_id. + */ + public void setRoleId(String value) { + set(1, value); + } + + /** + * Getter for idm_reconcile.account_role.role_id. + */ + public String getRoleId() { + return (String) get(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record2 key() { + return (Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountRoleRecord + */ + public AccountRoleRecord() { + super(AccountRole.ACCOUNT_ROLE); + } + + /** + * Create a detached, initialised AccountRoleRecord + */ + public AccountRoleRecord(String accountId, String roleId) { + super(AccountRole.ACCOUNT_ROLE); + + setAccountId(accountId); + setRoleId(roleId); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/DomainRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/DomainRecord.java new file mode 100644 index 0000000..d14d4fd --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/DomainRecord.java @@ -0,0 +1,803 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records; + + +import java.sql.Timestamp; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class DomainRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for idm_reconcile.domain.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for idm_reconcile.domain.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for idm_reconcile.domain.version. + */ + public void setVersion(Integer value) { + set(1, value); + } + + /** + * Getter for idm_reconcile.domain.version. + */ + public Integer getVersion() { + return (Integer) get(1); + } + + /** + * Setter for idm_reconcile.domain.modified. + */ + public void setModified(Timestamp value) { + set(2, value); + } + + /** + * Getter for idm_reconcile.domain.modified. + */ + public Timestamp getModified() { + return (Timestamp) get(2); + } + + /** + * Setter for idm_reconcile.domain.schema. + */ + public void setSchema(String value) { + set(3, value); + } + + /** + * Getter for idm_reconcile.domain.schema. + */ + public String getSchema() { + return (String) get(3); + } + + /** + * Setter for idm_reconcile.domain.name. + */ + public void setName(String value) { + set(4, value); + } + + /** + * Getter for idm_reconcile.domain.name. + */ + public String getName() { + return (String) get(4); + } + + /** + * Setter for idm_reconcile.domain.shortname. + */ + public void setShortname(String value) { + set(5, value); + } + + /** + * Getter for idm_reconcile.domain.shortname. + */ + public String getShortname() { + return (String) get(5); + } + + /** + * Setter for idm_reconcile.domain.fullname. + */ + public void setFullname(String value) { + set(6, value); + } + + /** + * Getter for idm_reconcile.domain.fullname. + */ + public String getFullname() { + return (String) get(6); + } + + /** + * Setter for idm_reconcile.domain.dns. + */ + public void setDns(String value) { + set(7, value); + } + + /** + * Getter for idm_reconcile.domain.dns. + */ + public String getDns() { + return (String) get(7); + } + + /** + * Setter for idm_reconcile.domain.email. + */ + public void setEmail(String value) { + set(8, value); + } + + /** + * Getter for idm_reconcile.domain.email. + */ + public String getEmail() { + return (String) get(8); + } + + /** + * Setter for idm_reconcile.domain.phone. + */ + public void setPhone(String value) { + set(9, value); + } + + /** + * Getter for idm_reconcile.domain.phone. + */ + public String getPhone() { + return (String) get(9); + } + + /** + * Setter for idm_reconcile.domain.address. + */ + public void setAddress(String value) { + set(10, value); + } + + /** + * Getter for idm_reconcile.domain.address. + */ + public String getAddress() { + return (String) get(10); + } + + /** + * Setter for idm_reconcile.domain.postal_address. + */ + public void setPostalAddress(String value) { + set(11, value); + } + + /** + * Getter for idm_reconcile.domain.postal_address. + */ + public String getPostalAddress() { + return (String) get(11); + } + + /** + * Setter for idm_reconcile.domain.address_id. + */ + public void setAddressId(String value) { + set(12, value); + } + + /** + * Getter for idm_reconcile.domain.address_id. + */ + public String getAddressId() { + return (String) get(12); + } + + /** + * Setter for idm_reconcile.domain.postal_address_id. + */ + public void setPostalAddressId(String value) { + set(13, value); + } + + /** + * Getter for idm_reconcile.domain.postal_address_id. + */ + public String getPostalAddressId() { + return (String) get(13); + } + + /** + * Setter for idm_reconcile.domain.military_code. + */ + public void setMilitaryCode(String value) { + set(14, value); + } + + /** + * Getter for idm_reconcile.domain.military_code. + */ + public String getMilitaryCode() { + return (String) get(14); + } + + /** + * Setter for idm_reconcile.domain.timezone. + */ + public void setTimezone(String value) { + set(15, value); + } + + /** + * Getter for idm_reconcile.domain.timezone. + */ + public String getTimezone() { + return (String) get(15); + } + + /** + * Setter for idm_reconcile.domain.reports_enabled. + */ + public void setReportsEnabled(Boolean value) { + set(16, value); + } + + /** + * Getter for idm_reconcile.domain.reports_enabled. + */ + public Boolean getReportsEnabled() { + return (Boolean) get(16); + } + + /** + * Setter for idm_reconcile.domain.inn. + */ + public void setInn(String value) { + set(17, value); + } + + /** + * Getter for idm_reconcile.domain.inn. + */ + public String getInn() { + return (String) get(17); + } + + /** + * Setter for idm_reconcile.domain.leg. + */ + public void setLeg(String value) { + set(18, value); + } + + /** + * Getter for idm_reconcile.domain.leg. + */ + public String getLeg() { + return (String) get(18); + } + + /** + * Setter for idm_reconcile.domain.ogrn. + */ + public void setOgrn(String value) { + set(19, value); + } + + /** + * Getter for idm_reconcile.domain.ogrn. + */ + public String getOgrn() { + return (String) get(19); + } + + /** + * Setter for idm_reconcile.domain.region. + */ + public void setRegion(String value) { + set(20, value); + } + + /** + * Getter for idm_reconcile.domain.region. + */ + public String getRegion() { + return (String) get(20); + } + + /** + * Setter for idm_reconcile.domain.epgu_id. + */ + public void setEpguId(String value) { + set(21, value); + } + + /** + * Getter for idm_reconcile.domain.epgu_id. + */ + public String getEpguId() { + return (String) get(21); + } + + /** + * Setter for idm_reconcile.domain.type. + */ + public void setType(String value) { + set(22, value); + } + + /** + * Getter for idm_reconcile.domain.type. + */ + public String getType() { + return (String) get(22); + } + + /** + * Setter for idm_reconcile.domain.esia_employee_authorization. + */ + public void setEsiaEmployeeAuthorization(Boolean value) { + set(23, value); + } + + /** + * Getter for idm_reconcile.domain.esia_employee_authorization. + */ + public Boolean getEsiaEmployeeAuthorization() { + return (Boolean) get(23); + } + + /** + * Setter for idm_reconcile.domain.default_s3_bucket. + */ + public void setDefaultS3Bucket(String value) { + set(24, value); + } + + /** + * Getter for idm_reconcile.domain.default_s3_bucket. + */ + public String getDefaultS3Bucket() { + return (String) get(24); + } + + /** + * Setter for idm_reconcile.domain.opf. + */ + public void setOpf(String value) { + set(25, value); + } + + /** + * Getter for idm_reconcile.domain.opf. + */ + public String getOpf() { + return (String) get(25); + } + + /** + * Setter for idm_reconcile.domain.kpp. + */ + public void setKpp(String value) { + set(26, value); + } + + /** + * Getter for idm_reconcile.domain.kpp. + */ + public String getKpp() { + return (String) get(26); + } + + /** + * Setter for idm_reconcile.domain.checking_account. + */ + public void setCheckingAccount(String value) { + set(27, value); + } + + /** + * Getter for idm_reconcile.domain.checking_account. + */ + public String getCheckingAccount() { + return (String) get(27); + } + + /** + * Setter for idm_reconcile.domain.bik. + */ + public void setBik(String value) { + set(28, value); + } + + /** + * Getter for idm_reconcile.domain.bik. + */ + public String getBik() { + return (String) get(28); + } + + /** + * Setter for idm_reconcile.domain.bank_name. + */ + public void setBankName(String value) { + set(29, value); + } + + /** + * Getter for idm_reconcile.domain.bank_name. + */ + public String getBankName() { + return (String) get(29); + } + + /** + * Setter for idm_reconcile.domain.bank_correspondent_account. + */ + public void setBankCorrespondentAccount(String value) { + set(30, value); + } + + /** + * Getter for idm_reconcile.domain.bank_correspondent_account. + */ + public String getBankCorrespondentAccount() { + return (String) get(30); + } + + /** + * Setter for idm_reconcile.domain.oktmo. + */ + public void setOktmo(String value) { + set(31, value); + } + + /** + * Getter for idm_reconcile.domain.oktmo. + */ + public String getOktmo() { + return (String) get(31); + } + + /** + * Setter for idm_reconcile.domain.okato. + */ + public void setOkato(String value) { + set(32, value); + } + + /** + * Getter for idm_reconcile.domain.okato. + */ + public String getOkato() { + return (String) get(32); + } + + /** + * Setter for idm_reconcile.domain.gov_registration_date. + */ + public void setGovRegistrationDate(String value) { + set(33, value); + } + + /** + * Getter for idm_reconcile.domain.gov_registration_date. + */ + public String getGovRegistrationDate() { + return (String) get(33); + } + + /** + * Setter for idm_reconcile.domain.gov_organization_type. + */ + public void setGovOrganizationType(String value) { + set(34, value); + } + + /** + * Getter for idm_reconcile.domain.gov_organization_type. + */ + public String getGovOrganizationType() { + return (String) get(34); + } + + /** + * Setter for idm_reconcile.domain.alias_key. + */ + public void setAliasKey(String value) { + set(35, value); + } + + /** + * Getter for idm_reconcile.domain.alias_key. + */ + public String getAliasKey() { + return (String) get(35); + } + + /** + * Setter for idm_reconcile.domain.pass_key. + */ + public void setPassKey(String value) { + set(36, value); + } + + /** + * Getter for idm_reconcile.domain.pass_key. + */ + public String getPassKey() { + return (String) get(36); + } + + /** + * Setter for idm_reconcile.domain.certificate. + */ + public void setCertificate(String value) { + set(37, value); + } + + /** + * Getter for idm_reconcile.domain.certificate. + */ + public String getCertificate() { + return (String) get(37); + } + + /** + * Setter for idm_reconcile.domain.account_number_tofk. + */ + public void setAccountNumberTofk(String value) { + set(38, value); + } + + /** + * Getter for idm_reconcile.domain.account_number_tofk. + */ + public String getAccountNumberTofk() { + return (String) get(38); + } + + /** + * Setter for idm_reconcile.domain.bik_tofk. + */ + public void setBikTofk(String value) { + set(39, value); + } + + /** + * Getter for idm_reconcile.domain.bik_tofk. + */ + public String getBikTofk() { + return (String) get(39); + } + + /** + * Setter for + * idm_reconcile.domain.correspondent_bank_account_tofk. + */ + public void setCorrespondentBankAccountTofk(String value) { + set(40, value); + } + + /** + * Getter for + * idm_reconcile.domain.correspondent_bank_account_tofk. + */ + public String getCorrespondentBankAccountTofk() { + return (String) get(40); + } + + /** + * Setter for idm_reconcile.domain.name_tofk. + */ + public void setNameTofk(String value) { + set(41, value); + } + + /** + * Getter for idm_reconcile.domain.name_tofk. + */ + public String getNameTofk() { + return (String) get(41); + } + + /** + * Setter for idm_reconcile.domain.nsi_organization_id. + */ + public void setNsiOrganizationId(String value) { + set(42, value); + } + + /** + * Getter for idm_reconcile.domain.nsi_organization_id. + */ + public String getNsiOrganizationId() { + return (String) get(42); + } + + /** + * Setter for idm_reconcile.domain.doc_handle. + */ + public void setDocHandle(String value) { + set(43, value); + } + + /** + * Getter for idm_reconcile.domain.doc_handle. + */ + public String getDocHandle() { + return (String) get(43); + } + + /** + * Setter for idm_reconcile.domain.division_type. + */ + public void setDivisionType(String value) { + set(44, value); + } + + /** + * Getter for idm_reconcile.domain.division_type. + */ + public String getDivisionType() { + return (String) get(44); + } + + /** + * Setter for idm_reconcile.domain.tns_department_id. + */ + public void setTnsDepartmentId(String value) { + set(45, value); + } + + /** + * Getter for idm_reconcile.domain.tns_department_id. + */ + public String getTnsDepartmentId() { + return (String) get(45); + } + + /** + * Setter for idm_reconcile.domain.enabled. + */ + public void setEnabled(Boolean value) { + set(46, value); + } + + /** + * Getter for idm_reconcile.domain.enabled. + */ + public Boolean getEnabled() { + return (Boolean) get(46); + } + + /** + * Setter for idm_reconcile.domain.parent. + */ + public void setParent(String value) { + set(47, value); + } + + /** + * Getter for idm_reconcile.domain.parent. + */ + public String getParent() { + return (String) get(47); + } + + /** + * Setter for idm_reconcile.domain.region_id. + */ + public void setRegionId(String value) { + set(48, value); + } + + /** + * Getter for idm_reconcile.domain.region_id. + */ + public String getRegionId() { + return (String) get(48); + } + + /** + * Setter for idm_reconcile.domain.managed. + */ + public void setManaged(String value) { + set(49, value); + } + + /** + * Getter for idm_reconcile.domain.managed. + */ + public String getManaged() { + return (String) get(49); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached DomainRecord + */ + public DomainRecord() { + super(Domain.DOMAIN); + } + + /** + * Create a detached, initialised DomainRecord + */ + public DomainRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String fullname, String dns, String email, String phone, String address, String postalAddress, String addressId, String postalAddressId, String militaryCode, String timezone, Boolean reportsEnabled, String inn, String leg, String ogrn, String region, String epguId, String type, Boolean esiaEmployeeAuthorization, String defaultS3Bucket, String opf, String kpp, String checkingAccount, String bik, String bankName, String bankCorrespondentAccount, String oktmo, String okato, String govRegistrationDate, String govOrganizationType, String aliasKey, String passKey, String certificate, String accountNumberTofk, String bikTofk, String correspondentBankAccountTofk, String nameTofk, String nsiOrganizationId, String docHandle, String divisionType, String tnsDepartmentId, Boolean enabled, String parent, String regionId, String managed) { + super(Domain.DOMAIN); + + setId(id); + setVersion(version); + setModified(modified); + setSchema(schema); + setName(name); + setShortname(shortname); + setFullname(fullname); + setDns(dns); + setEmail(email); + setPhone(phone); + setAddress(address); + setPostalAddress(postalAddress); + setAddressId(addressId); + setPostalAddressId(postalAddressId); + setMilitaryCode(militaryCode); + setTimezone(timezone); + setReportsEnabled(reportsEnabled); + setInn(inn); + setLeg(leg); + setOgrn(ogrn); + setRegion(region); + setEpguId(epguId); + setType(type); + setEsiaEmployeeAuthorization(esiaEmployeeAuthorization); + setDefaultS3Bucket(defaultS3Bucket); + setOpf(opf); + setKpp(kpp); + setCheckingAccount(checkingAccount); + setBik(bik); + setBankName(bankName); + setBankCorrespondentAccount(bankCorrespondentAccount); + setOktmo(oktmo); + setOkato(okato); + setGovRegistrationDate(govRegistrationDate); + setGovOrganizationType(govOrganizationType); + setAliasKey(aliasKey); + setPassKey(passKey); + setCertificate(certificate); + setAccountNumberTofk(accountNumberTofk); + setBikTofk(bikTofk); + setCorrespondentBankAccountTofk(correspondentBankAccountTofk); + setNameTofk(nameTofk); + setNsiOrganizationId(nsiOrganizationId); + setDocHandle(docHandle); + setDivisionType(divisionType); + setTnsDepartmentId(tnsDepartmentId); + setEnabled(enabled); + setParent(parent); + setRegionId(regionId); + setManaged(managed); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/PersonIpAddressRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/PersonIpAddressRecord.java new file mode 100644 index 0000000..335c94f --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/PersonIpAddressRecord.java @@ -0,0 +1,79 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records; + + +import org.jooq.Record2; +import org.jooq.impl.UpdatableRecordImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class PersonIpAddressRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for idm_reconcile.person_ip_address.person_id. + */ + public void setPersonId(String value) { + set(0, value); + } + + /** + * Getter for idm_reconcile.person_ip_address.person_id. + */ + public String getPersonId() { + return (String) get(0); + } + + /** + * Setter for idm_reconcile.person_ip_address.ip_address. + */ + public void setIpAddress(String value) { + set(1, value); + } + + /** + * Getter for idm_reconcile.person_ip_address.ip_address. + */ + public String getIpAddress() { + return (String) get(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record2 key() { + return (Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached PersonIpAddressRecord + */ + public PersonIpAddressRecord() { + super(PersonIpAddress.PERSON_IP_ADDRESS); + } + + /** + * Create a detached, initialised PersonIpAddressRecord + */ + public PersonIpAddressRecord(String personId, String ipAddress) { + super(PersonIpAddress.PERSON_IP_ADDRESS); + + setPersonId(personId); + setIpAddress(ipAddress); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/PersonRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/PersonRecord.java new file mode 100644 index 0000000..8075ab0 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/PersonRecord.java @@ -0,0 +1,277 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records; + + +import java.sql.Date; +import java.sql.Timestamp; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class PersonRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for idm_reconcile.person.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for idm_reconcile.person.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for idm_reconcile.person.version. + */ + public void setVersion(Integer value) { + set(1, value); + } + + /** + * Getter for idm_reconcile.person.version. + */ + public Integer getVersion() { + return (Integer) get(1); + } + + /** + * Setter for idm_reconcile.person.modified. + */ + public void setModified(Timestamp value) { + set(2, value); + } + + /** + * Getter for idm_reconcile.person.modified. + */ + public Timestamp getModified() { + return (Timestamp) get(2); + } + + /** + * Setter for idm_reconcile.person.schema. + */ + public void setSchema(String value) { + set(3, value); + } + + /** + * Getter for idm_reconcile.person.schema. + */ + public String getSchema() { + return (String) get(3); + } + + /** + * Setter for idm_reconcile.person.birthdate. + */ + public void setBirthdate(Date value) { + set(4, value); + } + + /** + * Getter for idm_reconcile.person.birthdate. + */ + public Date getBirthdate() { + return (Date) get(4); + } + + /** + * Setter for idm_reconcile.person.firstname. + */ + public void setFirstname(String value) { + set(5, value); + } + + /** + * Getter for idm_reconcile.person.firstname. + */ + public String getFirstname() { + return (String) get(5); + } + + /** + * Setter for idm_reconcile.person.middlename. + */ + public void setMiddlename(String value) { + set(6, value); + } + + /** + * Getter for idm_reconcile.person.middlename. + */ + public String getMiddlename() { + return (String) get(6); + } + + /** + * Setter for idm_reconcile.person.surname. + */ + public void setSurname(String value) { + set(7, value); + } + + /** + * Getter for idm_reconcile.person.surname. + */ + public String getSurname() { + return (String) get(7); + } + + /** + * Setter for idm_reconcile.person.sex. + */ + public void setSex(String value) { + set(8, value); + } + + /** + * Getter for idm_reconcile.person.sex. + */ + public String getSex() { + return (String) get(8); + } + + /** + * Setter for idm_reconcile.person.email. + */ + public void setEmail(String value) { + set(9, value); + } + + /** + * Getter for idm_reconcile.person.email. + */ + public String getEmail() { + return (String) get(9); + } + + /** + * Setter for idm_reconcile.person.photo. + */ + public void setPhoto(String value) { + set(10, value); + } + + /** + * Getter for idm_reconcile.person.photo. + */ + public String getPhoto() { + return (String) get(10); + } + + /** + * Setter for idm_reconcile.person.phone. + */ + public void setPhone(String value) { + set(11, value); + } + + /** + * Getter for idm_reconcile.person.phone. + */ + public String getPhone() { + return (String) get(11); + } + + /** + * Setter for idm_reconcile.person.snils. + */ + public void setSnils(String value) { + set(12, value); + } + + /** + * Getter for idm_reconcile.person.snils. + */ + public String getSnils() { + return (String) get(12); + } + + /** + * Setter for idm_reconcile.person.second_factor_enabled. + */ + public void setSecondFactorEnabled(Boolean value) { + set(13, value); + } + + /** + * Getter for idm_reconcile.person.second_factor_enabled. + */ + public Boolean getSecondFactorEnabled() { + return (Boolean) get(13); + } + + /** + * Setter for idm_reconcile.person.fio. + */ + public void setFio(String value) { + set(14, value); + } + + /** + * Getter for idm_reconcile.person.fio. + */ + public String getFio() { + return (String) get(14); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached PersonRecord + */ + public PersonRecord() { + super(Person.PERSON); + } + + /** + * Create a detached, initialised PersonRecord + */ + public PersonRecord(String id, Integer version, Timestamp modified, String schema, Date birthdate, String firstname, String middlename, String surname, String sex, String email, String photo, String phone, String snils, Boolean secondFactorEnabled, String fio) { + super(Person.PERSON); + + setId(id); + setVersion(version); + setModified(modified); + setSchema(schema); + setBirthdate(birthdate); + setFirstname(firstname); + setMiddlename(middlename); + setSurname(surname); + setSex(sex); + setEmail(email); + setPhoto(photo); + setPhone(phone); + setSnils(snils); + setSecondFactorEnabled(secondFactorEnabled); + setFio(fio); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/RoleRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/RoleRecord.java new file mode 100644 index 0000000..009e902 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/RoleRecord.java @@ -0,0 +1,216 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records; + + +import java.sql.Timestamp; + +import org.jooq.Record1; +import org.jooq.impl.UpdatableRecordImpl; + +import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RoleRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for idm_reconcile.role.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for idm_reconcile.role.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for idm_reconcile.role.version. + */ + public void setVersion(Integer value) { + set(1, value); + } + + /** + * Getter for idm_reconcile.role.version. + */ + public Integer getVersion() { + return (Integer) get(1); + } + + /** + * Setter for idm_reconcile.role.modified. + */ + public void setModified(Timestamp value) { + set(2, value); + } + + /** + * Getter for idm_reconcile.role.modified. + */ + public Timestamp getModified() { + return (Timestamp) get(2); + } + + /** + * Setter for idm_reconcile.role.schema. + */ + public void setSchema(String value) { + set(3, value); + } + + /** + * Getter for idm_reconcile.role.schema. + */ + public String getSchema() { + return (String) get(3); + } + + /** + * Setter for idm_reconcile.role.name. + */ + public void setName(String value) { + set(4, value); + } + + /** + * Getter for idm_reconcile.role.name. + */ + public String getName() { + return (String) get(4); + } + + /** + * Setter for idm_reconcile.role.shortname. + */ + public void setShortname(String value) { + set(5, value); + } + + /** + * Getter for idm_reconcile.role.shortname. + */ + public String getShortname() { + return (String) get(5); + } + + /** + * Setter for idm_reconcile.role.display_name. + */ + public void setDisplayName(String value) { + set(6, value); + } + + /** + * Getter for idm_reconcile.role.display_name. + */ + public String getDisplayName() { + return (String) get(6); + } + + /** + * Setter for idm_reconcile.role.sessions_limit. + */ + public void setSessionsLimit(Integer value) { + set(7, value); + } + + /** + * Getter for idm_reconcile.role.sessions_limit. + */ + public Integer getSessionsLimit() { + return (Integer) get(7); + } + + /** + * Setter for idm_reconcile.role.ervu_role. + */ + public void setErvuRole(Boolean value) { + set(8, value); + } + + /** + * Getter for idm_reconcile.role.ervu_role. + */ + public Boolean getErvuRole() { + return (Boolean) get(8); + } + + /** + * Setter for idm_reconcile.role.imported. + */ + public void setImported(Integer value) { + set(9, value); + } + + /** + * Getter for idm_reconcile.role.imported. + */ + public Integer getImported() { + return (Integer) get(9); + } + + /** + * Setter for idm_reconcile.role.description. + */ + public void setDescription(String value) { + set(10, value); + } + + /** + * Getter for idm_reconcile.role.description. + */ + public String getDescription() { + return (String) get(10); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached RoleRecord + */ + public RoleRecord() { + super(Role.ROLE); + } + + /** + * Create a detached, initialised RoleRecord + */ + public RoleRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String displayName, Integer sessionsLimit, Boolean ervuRole, Integer imported, String description) { + super(Role.ROLE); + + setId(id); + setVersion(version); + setModified(modified); + setSchema(schema); + setName(name); + setShortname(shortname); + setDisplayName(displayName); + setSessionsLimit(sessionsLimit); + setErvuRole(ervuRole); + setImported(imported); + setDescription(description); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/resources/config/v_1.0/changelog-1.0.xml b/backend/src/main/resources/config/v_1.0/changelog-1.0.xml index e6cf37f..7ca7e95 100644 --- a/backend/src/main/resources/config/v_1.0/changelog-1.0.xml +++ b/backend/src/main/resources/config/v_1.0/changelog-1.0.xml @@ -27,5 +27,6 @@ + \ No newline at end of file