mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-21 03:11:41 +08:00
refactor: rename pojo class name
This commit is contained in:
@@ -4,32 +4,32 @@
|
||||
package com.databasir.dao;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DataSource;
|
||||
import com.databasir.dao.tables.DataSourceProperty;
|
||||
import com.databasir.dao.tables.DatabaseDocument;
|
||||
import com.databasir.dao.tables.DatabaseType;
|
||||
import com.databasir.dao.tables.DocumentDescription;
|
||||
import com.databasir.dao.tables.DocumentDiscussion;
|
||||
import com.databasir.dao.tables.DocumentFullText;
|
||||
import com.databasir.dao.tables.DocumentTemplateProperty;
|
||||
import com.databasir.dao.tables.Group;
|
||||
import com.databasir.dao.tables.Login;
|
||||
import com.databasir.dao.tables.MockDataRule;
|
||||
import com.databasir.dao.tables.OauthApp;
|
||||
import com.databasir.dao.tables.OperationLog;
|
||||
import com.databasir.dao.tables.Project;
|
||||
import com.databasir.dao.tables.ProjectSyncRule;
|
||||
import com.databasir.dao.tables.ProjectSyncTask;
|
||||
import com.databasir.dao.tables.SysKey;
|
||||
import com.databasir.dao.tables.SysMail;
|
||||
import com.databasir.dao.tables.TableColumnDocument;
|
||||
import com.databasir.dao.tables.TableDocument;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocument;
|
||||
import com.databasir.dao.tables.TableIndexDocument;
|
||||
import com.databasir.dao.tables.TableTriggerDocument;
|
||||
import com.databasir.dao.tables.User;
|
||||
import com.databasir.dao.tables.UserFavoriteProject;
|
||||
import com.databasir.dao.tables.UserRole;
|
||||
import com.databasir.dao.tables.DataSourcePropertyTable;
|
||||
import com.databasir.dao.tables.DataSourceTable;
|
||||
import com.databasir.dao.tables.DatabaseDocumentTable;
|
||||
import com.databasir.dao.tables.DatabaseTypeTable;
|
||||
import com.databasir.dao.tables.DocumentDescriptionTable;
|
||||
import com.databasir.dao.tables.DocumentDiscussionTable;
|
||||
import com.databasir.dao.tables.DocumentFullTextTable;
|
||||
import com.databasir.dao.tables.DocumentTemplatePropertyTable;
|
||||
import com.databasir.dao.tables.GroupTable;
|
||||
import com.databasir.dao.tables.LoginTable;
|
||||
import com.databasir.dao.tables.MockDataRuleTable;
|
||||
import com.databasir.dao.tables.OauthAppTable;
|
||||
import com.databasir.dao.tables.OperationLogTable;
|
||||
import com.databasir.dao.tables.ProjectSyncRuleTable;
|
||||
import com.databasir.dao.tables.ProjectSyncTaskTable;
|
||||
import com.databasir.dao.tables.ProjectTable;
|
||||
import com.databasir.dao.tables.SysKeyTable;
|
||||
import com.databasir.dao.tables.SysMailTable;
|
||||
import com.databasir.dao.tables.TableColumnDocumentTable;
|
||||
import com.databasir.dao.tables.TableDocumentTable;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocumentTable;
|
||||
import com.databasir.dao.tables.TableIndexDocumentTable;
|
||||
import com.databasir.dao.tables.TableTriggerDocumentTable;
|
||||
import com.databasir.dao.tables.UserFavoriteProjectTable;
|
||||
import com.databasir.dao.tables.UserRoleTable;
|
||||
import com.databasir.dao.tables.UserTable;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -55,132 +55,132 @@ public class Databasir extends SchemaImpl {
|
||||
/**
|
||||
* The table <code>databasir.data_source</code>.
|
||||
*/
|
||||
public final DataSource DATA_SOURCE = DataSource.DATA_SOURCE;
|
||||
public final DataSourceTable DATA_SOURCE = DataSourceTable.DATA_SOURCE;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.data_source_property</code>.
|
||||
*/
|
||||
public final DataSourceProperty DATA_SOURCE_PROPERTY = DataSourceProperty.DATA_SOURCE_PROPERTY;
|
||||
public final DataSourcePropertyTable DATA_SOURCE_PROPERTY = DataSourcePropertyTable.DATA_SOURCE_PROPERTY;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.database_document</code>.
|
||||
*/
|
||||
public final DatabaseDocument DATABASE_DOCUMENT = DatabaseDocument.DATABASE_DOCUMENT;
|
||||
public final DatabaseDocumentTable DATABASE_DOCUMENT = DatabaseDocumentTable.DATABASE_DOCUMENT;
|
||||
|
||||
/**
|
||||
* customer database types
|
||||
*/
|
||||
public final DatabaseType DATABASE_TYPE = DatabaseType.DATABASE_TYPE;
|
||||
public final DatabaseTypeTable DATABASE_TYPE = DatabaseTypeTable.DATABASE_TYPE;
|
||||
|
||||
/**
|
||||
* custom document description
|
||||
*/
|
||||
public final DocumentDescription DOCUMENT_DESCRIPTION = DocumentDescription.DOCUMENT_DESCRIPTION;
|
||||
public final DocumentDescriptionTable DOCUMENT_DESCRIPTION = DocumentDescriptionTable.DOCUMENT_DESCRIPTION;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.document_discussion</code>.
|
||||
*/
|
||||
public final DocumentDiscussion DOCUMENT_DISCUSSION = DocumentDiscussion.DOCUMENT_DISCUSSION;
|
||||
public final DocumentDiscussionTable DOCUMENT_DISCUSSION = DocumentDiscussionTable.DOCUMENT_DISCUSSION;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.document_full_text</code>.
|
||||
*/
|
||||
public final DocumentFullText DOCUMENT_FULL_TEXT = DocumentFullText.DOCUMENT_FULL_TEXT;
|
||||
public final DocumentFullTextTable DOCUMENT_FULL_TEXT = DocumentFullTextTable.DOCUMENT_FULL_TEXT;
|
||||
|
||||
/**
|
||||
* template property
|
||||
*/
|
||||
public final DocumentTemplateProperty DOCUMENT_TEMPLATE_PROPERTY = DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY;
|
||||
public final DocumentTemplatePropertyTable DOCUMENT_TEMPLATE_PROPERTY = DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.group</code>.
|
||||
*/
|
||||
public final Group GROUP = Group.GROUP;
|
||||
public final GroupTable GROUP = GroupTable.GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.login</code>.
|
||||
*/
|
||||
public final Login LOGIN = Login.LOGIN;
|
||||
public final LoginTable LOGIN = LoginTable.LOGIN;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.mock_data_rule</code>.
|
||||
*/
|
||||
public final MockDataRule MOCK_DATA_RULE = MockDataRule.MOCK_DATA_RULE;
|
||||
public final MockDataRuleTable MOCK_DATA_RULE = MockDataRuleTable.MOCK_DATA_RULE;
|
||||
|
||||
/**
|
||||
* oauth app info
|
||||
*/
|
||||
public final OauthApp OAUTH_APP = OauthApp.OAUTH_APP;
|
||||
public final OauthAppTable OAUTH_APP = OauthAppTable.OAUTH_APP;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.operation_log</code>.
|
||||
*/
|
||||
public final OperationLog OPERATION_LOG = OperationLog.OPERATION_LOG;
|
||||
public final OperationLogTable OPERATION_LOG = OperationLogTable.OPERATION_LOG;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.project</code>.
|
||||
*/
|
||||
public final Project PROJECT = Project.PROJECT;
|
||||
public final ProjectTable PROJECT = ProjectTable.PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.project_sync_rule</code>.
|
||||
*/
|
||||
public final ProjectSyncRule PROJECT_SYNC_RULE = ProjectSyncRule.PROJECT_SYNC_RULE;
|
||||
public final ProjectSyncRuleTable PROJECT_SYNC_RULE = ProjectSyncRuleTable.PROJECT_SYNC_RULE;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.project_sync_task</code>.
|
||||
*/
|
||||
public final ProjectSyncTask PROJECT_SYNC_TASK = ProjectSyncTask.PROJECT_SYNC_TASK;
|
||||
public final ProjectSyncTaskTable PROJECT_SYNC_TASK = ProjectSyncTaskTable.PROJECT_SYNC_TASK;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.sys_key</code>.
|
||||
*/
|
||||
public final SysKey SYS_KEY = SysKey.SYS_KEY;
|
||||
public final SysKeyTable SYS_KEY = SysKeyTable.SYS_KEY;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.sys_mail</code>.
|
||||
*/
|
||||
public final SysMail SYS_MAIL = SysMail.SYS_MAIL;
|
||||
public final SysMailTable SYS_MAIL = SysMailTable.SYS_MAIL;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_column_document</code>.
|
||||
*/
|
||||
public final TableColumnDocument TABLE_COLUMN_DOCUMENT = TableColumnDocument.TABLE_COLUMN_DOCUMENT;
|
||||
public final TableColumnDocumentTable TABLE_COLUMN_DOCUMENT = TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_document</code>.
|
||||
*/
|
||||
public final TableDocument TABLE_DOCUMENT = TableDocument.TABLE_DOCUMENT;
|
||||
public final TableDocumentTable TABLE_DOCUMENT = TableDocumentTable.TABLE_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_foreign_key_document</code>.
|
||||
*/
|
||||
public final TableForeignKeyDocument TABLE_FOREIGN_KEY_DOCUMENT = TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT;
|
||||
public final TableForeignKeyDocumentTable TABLE_FOREIGN_KEY_DOCUMENT = TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_index_document</code>.
|
||||
*/
|
||||
public final TableIndexDocument TABLE_INDEX_DOCUMENT = TableIndexDocument.TABLE_INDEX_DOCUMENT;
|
||||
public final TableIndexDocumentTable TABLE_INDEX_DOCUMENT = TableIndexDocumentTable.TABLE_INDEX_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_trigger_document</code>.
|
||||
*/
|
||||
public final TableTriggerDocument TABLE_TRIGGER_DOCUMENT = TableTriggerDocument.TABLE_TRIGGER_DOCUMENT;
|
||||
public final TableTriggerDocumentTable TABLE_TRIGGER_DOCUMENT = TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.user</code>.
|
||||
*/
|
||||
public final User USER = User.USER;
|
||||
public final UserTable USER = UserTable.USER;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.user_favorite_project</code>.
|
||||
*/
|
||||
public final UserFavoriteProject USER_FAVORITE_PROJECT = UserFavoriteProject.USER_FAVORITE_PROJECT;
|
||||
public final UserFavoriteProjectTable USER_FAVORITE_PROJECT = UserFavoriteProjectTable.USER_FAVORITE_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.user_role</code>.
|
||||
*/
|
||||
public final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
public final UserRoleTable USER_ROLE = UserRoleTable.USER_ROLE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
@@ -198,32 +198,32 @@ public class Databasir extends SchemaImpl {
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
DataSource.DATA_SOURCE,
|
||||
DataSourceProperty.DATA_SOURCE_PROPERTY,
|
||||
DatabaseDocument.DATABASE_DOCUMENT,
|
||||
DatabaseType.DATABASE_TYPE,
|
||||
DocumentDescription.DOCUMENT_DESCRIPTION,
|
||||
DocumentDiscussion.DOCUMENT_DISCUSSION,
|
||||
DocumentFullText.DOCUMENT_FULL_TEXT,
|
||||
DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY,
|
||||
Group.GROUP,
|
||||
Login.LOGIN,
|
||||
MockDataRule.MOCK_DATA_RULE,
|
||||
OauthApp.OAUTH_APP,
|
||||
OperationLog.OPERATION_LOG,
|
||||
Project.PROJECT,
|
||||
ProjectSyncRule.PROJECT_SYNC_RULE,
|
||||
ProjectSyncTask.PROJECT_SYNC_TASK,
|
||||
SysKey.SYS_KEY,
|
||||
SysMail.SYS_MAIL,
|
||||
TableColumnDocument.TABLE_COLUMN_DOCUMENT,
|
||||
TableDocument.TABLE_DOCUMENT,
|
||||
TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT,
|
||||
TableIndexDocument.TABLE_INDEX_DOCUMENT,
|
||||
TableTriggerDocument.TABLE_TRIGGER_DOCUMENT,
|
||||
User.USER,
|
||||
UserFavoriteProject.USER_FAVORITE_PROJECT,
|
||||
UserRole.USER_ROLE
|
||||
DataSourceTable.DATA_SOURCE,
|
||||
DataSourcePropertyTable.DATA_SOURCE_PROPERTY,
|
||||
DatabaseDocumentTable.DATABASE_DOCUMENT,
|
||||
DatabaseTypeTable.DATABASE_TYPE,
|
||||
DocumentDescriptionTable.DOCUMENT_DESCRIPTION,
|
||||
DocumentDiscussionTable.DOCUMENT_DISCUSSION,
|
||||
DocumentFullTextTable.DOCUMENT_FULL_TEXT,
|
||||
DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY,
|
||||
GroupTable.GROUP,
|
||||
LoginTable.LOGIN,
|
||||
MockDataRuleTable.MOCK_DATA_RULE,
|
||||
OauthAppTable.OAUTH_APP,
|
||||
OperationLogTable.OPERATION_LOG,
|
||||
ProjectTable.PROJECT,
|
||||
ProjectSyncRuleTable.PROJECT_SYNC_RULE,
|
||||
ProjectSyncTaskTable.PROJECT_SYNC_TASK,
|
||||
SysKeyTable.SYS_KEY,
|
||||
SysMailTable.SYS_MAIL,
|
||||
TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT,
|
||||
TableDocumentTable.TABLE_DOCUMENT,
|
||||
TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT,
|
||||
TableIndexDocumentTable.TABLE_INDEX_DOCUMENT,
|
||||
TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT,
|
||||
UserTable.USER,
|
||||
UserFavoriteProjectTable.USER_FAVORITE_PROJECT,
|
||||
UserRoleTable.USER_ROLE
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@@ -4,15 +4,15 @@
|
||||
package com.databasir.dao;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DataSourceProperty;
|
||||
import com.databasir.dao.tables.DocumentDiscussion;
|
||||
import com.databasir.dao.tables.DocumentFullText;
|
||||
import com.databasir.dao.tables.ProjectSyncTask;
|
||||
import com.databasir.dao.tables.TableColumnDocument;
|
||||
import com.databasir.dao.tables.TableDocument;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocument;
|
||||
import com.databasir.dao.tables.TableIndexDocument;
|
||||
import com.databasir.dao.tables.TableTriggerDocument;
|
||||
import com.databasir.dao.tables.DataSourcePropertyTable;
|
||||
import com.databasir.dao.tables.DocumentDiscussionTable;
|
||||
import com.databasir.dao.tables.DocumentFullTextTable;
|
||||
import com.databasir.dao.tables.ProjectSyncTaskTable;
|
||||
import com.databasir.dao.tables.TableColumnDocumentTable;
|
||||
import com.databasir.dao.tables.TableDocumentTable;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocumentTable;
|
||||
import com.databasir.dao.tables.TableIndexDocumentTable;
|
||||
import com.databasir.dao.tables.TableTriggerDocumentTable;
|
||||
|
||||
import org.jooq.Index;
|
||||
import org.jooq.OrderField;
|
||||
@@ -30,24 +30,24 @@ public class Indexes {
|
||||
// INDEX definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_COLUMN = Internal.createIndex(DSL.name("FIDX_COLUMN"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.COL_NAME, DocumentFullText.DOCUMENT_FULL_TEXT.COL_COMMENT, DocumentFullText.DOCUMENT_FULL_TEXT.COL_DESCRIPTION, DocumentFullText.DOCUMENT_FULL_TEXT.DATABASE_PRODUCT_NAME }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_GROUP = Internal.createIndex(DSL.name("FIDX_GROUP"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.GROUP_NAME, DocumentFullText.DOCUMENT_FULL_TEXT.GROUP_DESCRIPTION }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_PROJECT = Internal.createIndex(DSL.name("FIDX_PROJECT"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.PROJECT_NAME, DocumentFullText.DOCUMENT_FULL_TEXT.PROJECT_DESCRIPTION, DocumentFullText.DOCUMENT_FULL_TEXT.SCHEMA_NAME, DocumentFullText.DOCUMENT_FULL_TEXT.DATABASE_NAME, DocumentFullText.DOCUMENT_FULL_TEXT.DATABASE_TYPE }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_TABLE = Internal.createIndex(DSL.name("FIDX_TABLE"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.TABLE_NAME, DocumentFullText.DOCUMENT_FULL_TEXT.TABLE_COMMENT, DocumentFullText.DOCUMENT_FULL_TEXT.TABLE_DESCRIPTION, DocumentFullText.DOCUMENT_FULL_TEXT.DATABASE_PRODUCT_NAME }, false);
|
||||
public static final Index DATA_SOURCE_PROPERTY_IDX_DATA_SOURCE_ID = Internal.createIndex(DSL.name("idx_data_source_id"), DataSourceProperty.DATA_SOURCE_PROPERTY, new OrderField[] { DataSourceProperty.DATA_SOURCE_PROPERTY.DATA_SOURCE_ID }, false);
|
||||
public static final Index TABLE_COLUMN_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableColumnDocument.TABLE_COLUMN_DOCUMENT, new OrderField[] { TableColumnDocument.TABLE_COLUMN_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableDocument.TABLE_DOCUMENT, new OrderField[] { TableDocument.TABLE_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_FOREIGN_KEY_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT, new OrderField[] { TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_INDEX_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableIndexDocument.TABLE_INDEX_DOCUMENT, new OrderField[] { TableIndexDocument.TABLE_INDEX_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_TRIGGER_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableTriggerDocument.TABLE_TRIGGER_DOCUMENT, new OrderField[] { TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_IDX_GROUP_ID = Internal.createIndex(DSL.name("IDX_GROUP_ID"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.GROUP_ID }, false);
|
||||
public static final Index DOCUMENT_DISCUSSION_IDX_PROJECT_ID = Internal.createIndex(DSL.name("idx_project_id"), DocumentDiscussion.DOCUMENT_DISCUSSION, new OrderField[] { DocumentDiscussion.DOCUMENT_DISCUSSION.PROJECT_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_IDX_PROJECT_ID = Internal.createIndex(DSL.name("IDX_PROJECT_ID"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.PROJECT_ID }, false);
|
||||
public static final Index PROJECT_SYNC_TASK_IDX_PROJECT_ID = Internal.createIndex(DSL.name("idx_project_id"), ProjectSyncTask.PROJECT_SYNC_TASK, new OrderField[] { ProjectSyncTask.PROJECT_SYNC_TASK.PROJECT_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("IDX_TABLE_DOCUMENT_ID"), DocumentFullText.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullText.DOCUMENT_FULL_TEXT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_COLUMN_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableColumnDocument.TABLE_COLUMN_DOCUMENT, new OrderField[] { TableColumnDocument.TABLE_COLUMN_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_FOREIGN_KEY_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT, new OrderField[] { TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_INDEX_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableIndexDocument.TABLE_INDEX_DOCUMENT, new OrderField[] { TableIndexDocument.TABLE_INDEX_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_TRIGGER_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableTriggerDocument.TABLE_TRIGGER_DOCUMENT, new OrderField[] { TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index PROJECT_SYNC_TASK_IDX_USER_ID = Internal.createIndex(DSL.name("idx_user_id"), ProjectSyncTask.PROJECT_SYNC_TASK, new OrderField[] { ProjectSyncTask.PROJECT_SYNC_TASK.USER_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_COLUMN = Internal.createIndex(DSL.name("FIDX_COLUMN"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.COL_NAME, DocumentFullTextTable.DOCUMENT_FULL_TEXT.COL_COMMENT, DocumentFullTextTable.DOCUMENT_FULL_TEXT.COL_DESCRIPTION, DocumentFullTextTable.DOCUMENT_FULL_TEXT.DATABASE_PRODUCT_NAME }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_GROUP = Internal.createIndex(DSL.name("FIDX_GROUP"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.GROUP_NAME, DocumentFullTextTable.DOCUMENT_FULL_TEXT.GROUP_DESCRIPTION }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_PROJECT = Internal.createIndex(DSL.name("FIDX_PROJECT"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.PROJECT_NAME, DocumentFullTextTable.DOCUMENT_FULL_TEXT.PROJECT_DESCRIPTION, DocumentFullTextTable.DOCUMENT_FULL_TEXT.SCHEMA_NAME, DocumentFullTextTable.DOCUMENT_FULL_TEXT.DATABASE_NAME, DocumentFullTextTable.DOCUMENT_FULL_TEXT.DATABASE_TYPE }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_FIDX_TABLE = Internal.createIndex(DSL.name("FIDX_TABLE"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.TABLE_NAME, DocumentFullTextTable.DOCUMENT_FULL_TEXT.TABLE_COMMENT, DocumentFullTextTable.DOCUMENT_FULL_TEXT.TABLE_DESCRIPTION, DocumentFullTextTable.DOCUMENT_FULL_TEXT.DATABASE_PRODUCT_NAME }, false);
|
||||
public static final Index DATA_SOURCE_PROPERTY_IDX_DATA_SOURCE_ID = Internal.createIndex(DSL.name("idx_data_source_id"), DataSourcePropertyTable.DATA_SOURCE_PROPERTY, new OrderField[] { DataSourcePropertyTable.DATA_SOURCE_PROPERTY.DATA_SOURCE_ID }, false);
|
||||
public static final Index TABLE_COLUMN_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT, new OrderField[] { TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableDocumentTable.TABLE_DOCUMENT, new OrderField[] { TableDocumentTable.TABLE_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_FOREIGN_KEY_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT, new OrderField[] { TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_INDEX_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableIndexDocumentTable.TABLE_INDEX_DOCUMENT, new OrderField[] { TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_TRIGGER_DOCUMENT_IDX_DATABASE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_database_document_id"), TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT, new OrderField[] { TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.DATABASE_DOCUMENT_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_IDX_GROUP_ID = Internal.createIndex(DSL.name("IDX_GROUP_ID"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.GROUP_ID }, false);
|
||||
public static final Index DOCUMENT_DISCUSSION_IDX_PROJECT_ID = Internal.createIndex(DSL.name("idx_project_id"), DocumentDiscussionTable.DOCUMENT_DISCUSSION, new OrderField[] { DocumentDiscussionTable.DOCUMENT_DISCUSSION.PROJECT_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_IDX_PROJECT_ID = Internal.createIndex(DSL.name("IDX_PROJECT_ID"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.PROJECT_ID }, false);
|
||||
public static final Index PROJECT_SYNC_TASK_IDX_PROJECT_ID = Internal.createIndex(DSL.name("idx_project_id"), ProjectSyncTaskTable.PROJECT_SYNC_TASK, new OrderField[] { ProjectSyncTaskTable.PROJECT_SYNC_TASK.PROJECT_ID }, false);
|
||||
public static final Index DOCUMENT_FULL_TEXT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("IDX_TABLE_DOCUMENT_ID"), DocumentFullTextTable.DOCUMENT_FULL_TEXT, new OrderField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_COLUMN_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT, new OrderField[] { TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_FOREIGN_KEY_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT, new OrderField[] { TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_INDEX_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableIndexDocumentTable.TABLE_INDEX_DOCUMENT, new OrderField[] { TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index TABLE_TRIGGER_DOCUMENT_IDX_TABLE_DOCUMENT_ID = Internal.createIndex(DSL.name("idx_table_document_id"), TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT, new OrderField[] { TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.TABLE_DOCUMENT_ID }, false);
|
||||
public static final Index PROJECT_SYNC_TASK_IDX_USER_ID = Internal.createIndex(DSL.name("idx_user_id"), ProjectSyncTaskTable.PROJECT_SYNC_TASK, new OrderField[] { ProjectSyncTaskTable.PROJECT_SYNC_TASK.USER_ID }, false);
|
||||
}
|
||||
|
@@ -4,32 +4,32 @@
|
||||
package com.databasir.dao;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DataSource;
|
||||
import com.databasir.dao.tables.DataSourceProperty;
|
||||
import com.databasir.dao.tables.DatabaseDocument;
|
||||
import com.databasir.dao.tables.DatabaseType;
|
||||
import com.databasir.dao.tables.DocumentDescription;
|
||||
import com.databasir.dao.tables.DocumentDiscussion;
|
||||
import com.databasir.dao.tables.DocumentFullText;
|
||||
import com.databasir.dao.tables.DocumentTemplateProperty;
|
||||
import com.databasir.dao.tables.Group;
|
||||
import com.databasir.dao.tables.Login;
|
||||
import com.databasir.dao.tables.MockDataRule;
|
||||
import com.databasir.dao.tables.OauthApp;
|
||||
import com.databasir.dao.tables.OperationLog;
|
||||
import com.databasir.dao.tables.Project;
|
||||
import com.databasir.dao.tables.ProjectSyncRule;
|
||||
import com.databasir.dao.tables.ProjectSyncTask;
|
||||
import com.databasir.dao.tables.SysKey;
|
||||
import com.databasir.dao.tables.SysMail;
|
||||
import com.databasir.dao.tables.TableColumnDocument;
|
||||
import com.databasir.dao.tables.TableDocument;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocument;
|
||||
import com.databasir.dao.tables.TableIndexDocument;
|
||||
import com.databasir.dao.tables.TableTriggerDocument;
|
||||
import com.databasir.dao.tables.User;
|
||||
import com.databasir.dao.tables.UserFavoriteProject;
|
||||
import com.databasir.dao.tables.UserRole;
|
||||
import com.databasir.dao.tables.DataSourcePropertyTable;
|
||||
import com.databasir.dao.tables.DataSourceTable;
|
||||
import com.databasir.dao.tables.DatabaseDocumentTable;
|
||||
import com.databasir.dao.tables.DatabaseTypeTable;
|
||||
import com.databasir.dao.tables.DocumentDescriptionTable;
|
||||
import com.databasir.dao.tables.DocumentDiscussionTable;
|
||||
import com.databasir.dao.tables.DocumentFullTextTable;
|
||||
import com.databasir.dao.tables.DocumentTemplatePropertyTable;
|
||||
import com.databasir.dao.tables.GroupTable;
|
||||
import com.databasir.dao.tables.LoginTable;
|
||||
import com.databasir.dao.tables.MockDataRuleTable;
|
||||
import com.databasir.dao.tables.OauthAppTable;
|
||||
import com.databasir.dao.tables.OperationLogTable;
|
||||
import com.databasir.dao.tables.ProjectSyncRuleTable;
|
||||
import com.databasir.dao.tables.ProjectSyncTaskTable;
|
||||
import com.databasir.dao.tables.ProjectTable;
|
||||
import com.databasir.dao.tables.SysKeyTable;
|
||||
import com.databasir.dao.tables.SysMailTable;
|
||||
import com.databasir.dao.tables.TableColumnDocumentTable;
|
||||
import com.databasir.dao.tables.TableDocumentTable;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocumentTable;
|
||||
import com.databasir.dao.tables.TableIndexDocumentTable;
|
||||
import com.databasir.dao.tables.TableTriggerDocumentTable;
|
||||
import com.databasir.dao.tables.UserFavoriteProjectTable;
|
||||
import com.databasir.dao.tables.UserRoleTable;
|
||||
import com.databasir.dao.tables.UserTable;
|
||||
import com.databasir.dao.tables.records.DataSourcePropertyRecord;
|
||||
import com.databasir.dao.tables.records.DataSourceRecord;
|
||||
import com.databasir.dao.tables.records.DatabaseDocumentRecord;
|
||||
@@ -74,44 +74,44 @@ public class Keys {
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<DataSourceRecord> KEY_DATA_SOURCE_PRIMARY = Internal.createUniqueKey(DataSource.DATA_SOURCE, DSL.name("KEY_data_source_PRIMARY"), new TableField[] { DataSource.DATA_SOURCE.ID }, true);
|
||||
public static final UniqueKey<DataSourceRecord> KEY_DATA_SOURCE_UK_PROJECT_ID = Internal.createUniqueKey(DataSource.DATA_SOURCE, DSL.name("KEY_data_source_uk_project_id"), new TableField[] { DataSource.DATA_SOURCE.PROJECT_ID }, true);
|
||||
public static final UniqueKey<DataSourcePropertyRecord> KEY_DATA_SOURCE_PROPERTY_PRIMARY = Internal.createUniqueKey(DataSourceProperty.DATA_SOURCE_PROPERTY, DSL.name("KEY_data_source_property_PRIMARY"), new TableField[] { DataSourceProperty.DATA_SOURCE_PROPERTY.ID }, true);
|
||||
public static final UniqueKey<DatabaseDocumentRecord> KEY_DATABASE_DOCUMENT_PRIMARY = Internal.createUniqueKey(DatabaseDocument.DATABASE_DOCUMENT, DSL.name("KEY_database_document_PRIMARY"), new TableField[] { DatabaseDocument.DATABASE_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<DatabaseDocumentRecord> KEY_DATABASE_DOCUMENT_UK_PROJECT_ID_VERSION_IS_ARCHIVE = Internal.createUniqueKey(DatabaseDocument.DATABASE_DOCUMENT, DSL.name("KEY_database_document_uk_project_id_version_is_archive"), new TableField[] { DatabaseDocument.DATABASE_DOCUMENT.PROJECT_ID, DatabaseDocument.DATABASE_DOCUMENT.VERSION, DatabaseDocument.DATABASE_DOCUMENT.IS_ARCHIVE }, true);
|
||||
public static final UniqueKey<DatabaseTypeRecord> KEY_DATABASE_TYPE_PRIMARY = Internal.createUniqueKey(DatabaseType.DATABASE_TYPE, DSL.name("KEY_database_type_PRIMARY"), new TableField[] { DatabaseType.DATABASE_TYPE.ID }, true);
|
||||
public static final UniqueKey<DatabaseTypeRecord> KEY_DATABASE_TYPE_UK_DATABASE_TYPE_DELETED_DELETED_TOKEN = Internal.createUniqueKey(DatabaseType.DATABASE_TYPE, DSL.name("KEY_database_type_uk_database_type_deleted_deleted_token"), new TableField[] { DatabaseType.DATABASE_TYPE.DATABASE_TYPE_, DatabaseType.DATABASE_TYPE.DELETED, DatabaseType.DATABASE_TYPE.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<DocumentDescriptionRecord> KEY_DOCUMENT_DESCRIPTION_PRIMARY = Internal.createUniqueKey(DocumentDescription.DOCUMENT_DESCRIPTION, DSL.name("KEY_document_description_PRIMARY"), new TableField[] { DocumentDescription.DOCUMENT_DESCRIPTION.ID }, true);
|
||||
public static final UniqueKey<DocumentDescriptionRecord> KEY_DOCUMENT_DESCRIPTION_UK_PROJECT_ID_TABLE_NAME_COLUMN_NAME = Internal.createUniqueKey(DocumentDescription.DOCUMENT_DESCRIPTION, DSL.name("KEY_document_description_uk_project_id_table_name_column_name"), new TableField[] { DocumentDescription.DOCUMENT_DESCRIPTION.PROJECT_ID, DocumentDescription.DOCUMENT_DESCRIPTION.TABLE_NAME, DocumentDescription.DOCUMENT_DESCRIPTION.COLUMN_NAME }, true);
|
||||
public static final UniqueKey<DocumentDiscussionRecord> KEY_DOCUMENT_DISCUSSION_PRIMARY = Internal.createUniqueKey(DocumentDiscussion.DOCUMENT_DISCUSSION, DSL.name("KEY_document_discussion_PRIMARY"), new TableField[] { DocumentDiscussion.DOCUMENT_DISCUSSION.ID }, true);
|
||||
public static final UniqueKey<DocumentFullTextRecord> KEY_DOCUMENT_FULL_TEXT_PRIMARY = Internal.createUniqueKey(DocumentFullText.DOCUMENT_FULL_TEXT, DSL.name("KEY_document_full_text_PRIMARY"), new TableField[] { DocumentFullText.DOCUMENT_FULL_TEXT.ID }, true);
|
||||
public static final UniqueKey<DocumentTemplatePropertyRecord> KEY_DOCUMENT_TEMPLATE_PROPERTY_PRIMARY = Internal.createUniqueKey(DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY, DSL.name("KEY_document_template_property_PRIMARY"), new TableField[] { DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.ID }, true);
|
||||
public static final UniqueKey<DocumentTemplatePropertyRecord> KEY_DOCUMENT_TEMPLATE_PROPERTY_UK_TYPE_KEY = Internal.createUniqueKey(DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY, DSL.name("KEY_document_template_property_uk_type_key"), new TableField[] { DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.TYPE, DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.KEY }, true);
|
||||
public static final UniqueKey<GroupRecord> KEY_GROUP_PRIMARY = Internal.createUniqueKey(Group.GROUP, DSL.name("KEY_group_PRIMARY"), new TableField[] { Group.GROUP.ID }, true);
|
||||
public static final UniqueKey<LoginRecord> KEY_LOGIN_PRIMARY = Internal.createUniqueKey(Login.LOGIN, DSL.name("KEY_login_PRIMARY"), new TableField[] { Login.LOGIN.ID }, true);
|
||||
public static final UniqueKey<LoginRecord> KEY_LOGIN_UK_USER_ID = Internal.createUniqueKey(Login.LOGIN, DSL.name("KEY_login_uk_user_id"), new TableField[] { Login.LOGIN.USER_ID }, true);
|
||||
public static final UniqueKey<MockDataRuleRecord> KEY_MOCK_DATA_RULE_PRIMARY = Internal.createUniqueKey(MockDataRule.MOCK_DATA_RULE, DSL.name("KEY_mock_data_rule_PRIMARY"), new TableField[] { MockDataRule.MOCK_DATA_RULE.ID }, true);
|
||||
public static final UniqueKey<MockDataRuleRecord> KEY_MOCK_DATA_RULE_UK_PROJECT_ID_TABLE_NAME_COLUMN_NAME = Internal.createUniqueKey(MockDataRule.MOCK_DATA_RULE, DSL.name("KEY_mock_data_rule_uk_project_id_table_name_column_name"), new TableField[] { MockDataRule.MOCK_DATA_RULE.PROJECT_ID, MockDataRule.MOCK_DATA_RULE.TABLE_NAME, MockDataRule.MOCK_DATA_RULE.COLUMN_NAME }, true);
|
||||
public static final UniqueKey<OauthAppRecord> KEY_OAUTH_APP_PRIMARY = Internal.createUniqueKey(OauthApp.OAUTH_APP, DSL.name("KEY_oauth_app_PRIMARY"), new TableField[] { OauthApp.OAUTH_APP.ID }, true);
|
||||
public static final UniqueKey<OauthAppRecord> KEY_OAUTH_APP_UK_REGISTRATION_ID = Internal.createUniqueKey(OauthApp.OAUTH_APP, DSL.name("KEY_oauth_app_uk_registration_id"), new TableField[] { OauthApp.OAUTH_APP.REGISTRATION_ID }, true);
|
||||
public static final UniqueKey<OperationLogRecord> KEY_OPERATION_LOG_PRIMARY = Internal.createUniqueKey(OperationLog.OPERATION_LOG, DSL.name("KEY_operation_log_PRIMARY"), new TableField[] { OperationLog.OPERATION_LOG.ID }, true);
|
||||
public static final UniqueKey<ProjectRecord> KEY_PROJECT_PRIMARY = Internal.createUniqueKey(Project.PROJECT, DSL.name("KEY_project_PRIMARY"), new TableField[] { Project.PROJECT.ID }, true);
|
||||
public static final UniqueKey<ProjectRecord> KEY_PROJECT_UK_GROUP_ID_NAME_DELETED_TOKEN = Internal.createUniqueKey(Project.PROJECT, DSL.name("KEY_project_uk_group_id_name_deleted_token"), new TableField[] { Project.PROJECT.GROUP_ID, Project.PROJECT.NAME, Project.PROJECT.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<ProjectSyncRuleRecord> KEY_PROJECT_SYNC_RULE_PRIMARY = Internal.createUniqueKey(ProjectSyncRule.PROJECT_SYNC_RULE, DSL.name("KEY_project_sync_rule_PRIMARY"), new TableField[] { ProjectSyncRule.PROJECT_SYNC_RULE.ID }, true);
|
||||
public static final UniqueKey<ProjectSyncRuleRecord> KEY_PROJECT_SYNC_RULE_UK_PROJECT_ID = Internal.createUniqueKey(ProjectSyncRule.PROJECT_SYNC_RULE, DSL.name("KEY_project_sync_rule_uk_project_id"), new TableField[] { ProjectSyncRule.PROJECT_SYNC_RULE.PROJECT_ID }, true);
|
||||
public static final UniqueKey<ProjectSyncTaskRecord> KEY_PROJECT_SYNC_TASK_PRIMARY = Internal.createUniqueKey(ProjectSyncTask.PROJECT_SYNC_TASK, DSL.name("KEY_project_sync_task_PRIMARY"), new TableField[] { ProjectSyncTask.PROJECT_SYNC_TASK.ID }, true);
|
||||
public static final UniqueKey<SysKeyRecord> KEY_SYS_KEY_PRIMARY = Internal.createUniqueKey(SysKey.SYS_KEY, DSL.name("KEY_sys_key_PRIMARY"), new TableField[] { SysKey.SYS_KEY.ID }, true);
|
||||
public static final UniqueKey<SysMailRecord> KEY_SYS_MAIL_PRIMARY = Internal.createUniqueKey(SysMail.SYS_MAIL, DSL.name("KEY_sys_mail_PRIMARY"), new TableField[] { SysMail.SYS_MAIL.ID }, true);
|
||||
public static final UniqueKey<TableColumnDocumentRecord> KEY_TABLE_COLUMN_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableColumnDocument.TABLE_COLUMN_DOCUMENT, DSL.name("KEY_table_column_document_PRIMARY"), new TableField[] { TableColumnDocument.TABLE_COLUMN_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableDocumentRecord> KEY_TABLE_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableDocument.TABLE_DOCUMENT, DSL.name("KEY_table_document_PRIMARY"), new TableField[] { TableDocument.TABLE_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableForeignKeyDocumentRecord> KEY_TABLE_FOREIGN_KEY_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT, DSL.name("KEY_table_foreign_key_document_PRIMARY"), new TableField[] { TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableIndexDocumentRecord> KEY_TABLE_INDEX_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableIndexDocument.TABLE_INDEX_DOCUMENT, DSL.name("KEY_table_index_document_PRIMARY"), new TableField[] { TableIndexDocument.TABLE_INDEX_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableTriggerDocumentRecord> KEY_TABLE_TRIGGER_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableTriggerDocument.TABLE_TRIGGER_DOCUMENT, DSL.name("KEY_table_trigger_document_PRIMARY"), new TableField[] { TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<UserRecord> KEY_USER_PRIMARY = Internal.createUniqueKey(User.USER, DSL.name("KEY_user_PRIMARY"), new TableField[] { User.USER.ID }, true);
|
||||
public static final UniqueKey<UserRecord> KEY_USER_UK_EMAIL = Internal.createUniqueKey(User.USER, DSL.name("KEY_user_uk_email"), new TableField[] { User.USER.EMAIL, User.USER.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<UserRecord> KEY_USER_UK_USERNAME = Internal.createUniqueKey(User.USER, DSL.name("KEY_user_uk_username"), new TableField[] { User.USER.USERNAME, User.USER.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<UserFavoriteProjectRecord> KEY_USER_FAVORITE_PROJECT_PRIMARY = Internal.createUniqueKey(UserFavoriteProject.USER_FAVORITE_PROJECT, DSL.name("KEY_user_favorite_project_PRIMARY"), new TableField[] { UserFavoriteProject.USER_FAVORITE_PROJECT.ID }, true);
|
||||
public static final UniqueKey<UserFavoriteProjectRecord> KEY_USER_FAVORITE_PROJECT_UK_USER_ID_PROJECT_ID = Internal.createUniqueKey(UserFavoriteProject.USER_FAVORITE_PROJECT, DSL.name("KEY_user_favorite_project_uk_user_id_project_id"), new TableField[] { UserFavoriteProject.USER_FAVORITE_PROJECT.USER_ID, UserFavoriteProject.USER_FAVORITE_PROJECT.PROJECT_ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> KEY_USER_ROLE_PRIMARY = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("KEY_user_role_PRIMARY"), new TableField[] { UserRole.USER_ROLE.ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> KEY_USER_ROLE_UK_USER_ID_GROUP_ID_ROLE = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("KEY_user_role_uk_user_id_group_id_role"), new TableField[] { UserRole.USER_ROLE.USER_ID, UserRole.USER_ROLE.GROUP_ID, UserRole.USER_ROLE.ROLE }, true);
|
||||
public static final UniqueKey<DataSourceRecord> KEY_DATA_SOURCE_PRIMARY = Internal.createUniqueKey(DataSourceTable.DATA_SOURCE, DSL.name("KEY_data_source_PRIMARY"), new TableField[] { DataSourceTable.DATA_SOURCE.ID }, true);
|
||||
public static final UniqueKey<DataSourceRecord> KEY_DATA_SOURCE_UK_PROJECT_ID = Internal.createUniqueKey(DataSourceTable.DATA_SOURCE, DSL.name("KEY_data_source_uk_project_id"), new TableField[] { DataSourceTable.DATA_SOURCE.PROJECT_ID }, true);
|
||||
public static final UniqueKey<DataSourcePropertyRecord> KEY_DATA_SOURCE_PROPERTY_PRIMARY = Internal.createUniqueKey(DataSourcePropertyTable.DATA_SOURCE_PROPERTY, DSL.name("KEY_data_source_property_PRIMARY"), new TableField[] { DataSourcePropertyTable.DATA_SOURCE_PROPERTY.ID }, true);
|
||||
public static final UniqueKey<DatabaseDocumentRecord> KEY_DATABASE_DOCUMENT_PRIMARY = Internal.createUniqueKey(DatabaseDocumentTable.DATABASE_DOCUMENT, DSL.name("KEY_database_document_PRIMARY"), new TableField[] { DatabaseDocumentTable.DATABASE_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<DatabaseDocumentRecord> KEY_DATABASE_DOCUMENT_UK_PROJECT_ID_VERSION_IS_ARCHIVE = Internal.createUniqueKey(DatabaseDocumentTable.DATABASE_DOCUMENT, DSL.name("KEY_database_document_uk_project_id_version_is_archive"), new TableField[] { DatabaseDocumentTable.DATABASE_DOCUMENT.PROJECT_ID, DatabaseDocumentTable.DATABASE_DOCUMENT.VERSION, DatabaseDocumentTable.DATABASE_DOCUMENT.IS_ARCHIVE }, true);
|
||||
public static final UniqueKey<DatabaseTypeRecord> KEY_DATABASE_TYPE_PRIMARY = Internal.createUniqueKey(DatabaseTypeTable.DATABASE_TYPE, DSL.name("KEY_database_type_PRIMARY"), new TableField[] { DatabaseTypeTable.DATABASE_TYPE.ID }, true);
|
||||
public static final UniqueKey<DatabaseTypeRecord> KEY_DATABASE_TYPE_UK_DATABASE_TYPE_DELETED_DELETED_TOKEN = Internal.createUniqueKey(DatabaseTypeTable.DATABASE_TYPE, DSL.name("KEY_database_type_uk_database_type_deleted_deleted_token"), new TableField[] { DatabaseTypeTable.DATABASE_TYPE.DATABASE_TYPE_, DatabaseTypeTable.DATABASE_TYPE.DELETED, DatabaseTypeTable.DATABASE_TYPE.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<DocumentDescriptionRecord> KEY_DOCUMENT_DESCRIPTION_PRIMARY = Internal.createUniqueKey(DocumentDescriptionTable.DOCUMENT_DESCRIPTION, DSL.name("KEY_document_description_PRIMARY"), new TableField[] { DocumentDescriptionTable.DOCUMENT_DESCRIPTION.ID }, true);
|
||||
public static final UniqueKey<DocumentDescriptionRecord> KEY_DOCUMENT_DESCRIPTION_UK_PROJECT_ID_TABLE_NAME_COLUMN_NAME = Internal.createUniqueKey(DocumentDescriptionTable.DOCUMENT_DESCRIPTION, DSL.name("KEY_document_description_uk_project_id_table_name_column_name"), new TableField[] { DocumentDescriptionTable.DOCUMENT_DESCRIPTION.PROJECT_ID, DocumentDescriptionTable.DOCUMENT_DESCRIPTION.TABLE_NAME, DocumentDescriptionTable.DOCUMENT_DESCRIPTION.COLUMN_NAME }, true);
|
||||
public static final UniqueKey<DocumentDiscussionRecord> KEY_DOCUMENT_DISCUSSION_PRIMARY = Internal.createUniqueKey(DocumentDiscussionTable.DOCUMENT_DISCUSSION, DSL.name("KEY_document_discussion_PRIMARY"), new TableField[] { DocumentDiscussionTable.DOCUMENT_DISCUSSION.ID }, true);
|
||||
public static final UniqueKey<DocumentFullTextRecord> KEY_DOCUMENT_FULL_TEXT_PRIMARY = Internal.createUniqueKey(DocumentFullTextTable.DOCUMENT_FULL_TEXT, DSL.name("KEY_document_full_text_PRIMARY"), new TableField[] { DocumentFullTextTable.DOCUMENT_FULL_TEXT.ID }, true);
|
||||
public static final UniqueKey<DocumentTemplatePropertyRecord> KEY_DOCUMENT_TEMPLATE_PROPERTY_PRIMARY = Internal.createUniqueKey(DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY, DSL.name("KEY_document_template_property_PRIMARY"), new TableField[] { DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.ID }, true);
|
||||
public static final UniqueKey<DocumentTemplatePropertyRecord> KEY_DOCUMENT_TEMPLATE_PROPERTY_UK_TYPE_KEY = Internal.createUniqueKey(DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY, DSL.name("KEY_document_template_property_uk_type_key"), new TableField[] { DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.TYPE, DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.KEY }, true);
|
||||
public static final UniqueKey<GroupRecord> KEY_GROUP_PRIMARY = Internal.createUniqueKey(GroupTable.GROUP, DSL.name("KEY_group_PRIMARY"), new TableField[] { GroupTable.GROUP.ID }, true);
|
||||
public static final UniqueKey<LoginRecord> KEY_LOGIN_PRIMARY = Internal.createUniqueKey(LoginTable.LOGIN, DSL.name("KEY_login_PRIMARY"), new TableField[] { LoginTable.LOGIN.ID }, true);
|
||||
public static final UniqueKey<LoginRecord> KEY_LOGIN_UK_USER_ID = Internal.createUniqueKey(LoginTable.LOGIN, DSL.name("KEY_login_uk_user_id"), new TableField[] { LoginTable.LOGIN.USER_ID }, true);
|
||||
public static final UniqueKey<MockDataRuleRecord> KEY_MOCK_DATA_RULE_PRIMARY = Internal.createUniqueKey(MockDataRuleTable.MOCK_DATA_RULE, DSL.name("KEY_mock_data_rule_PRIMARY"), new TableField[] { MockDataRuleTable.MOCK_DATA_RULE.ID }, true);
|
||||
public static final UniqueKey<MockDataRuleRecord> KEY_MOCK_DATA_RULE_UK_PROJECT_ID_TABLE_NAME_COLUMN_NAME = Internal.createUniqueKey(MockDataRuleTable.MOCK_DATA_RULE, DSL.name("KEY_mock_data_rule_uk_project_id_table_name_column_name"), new TableField[] { MockDataRuleTable.MOCK_DATA_RULE.PROJECT_ID, MockDataRuleTable.MOCK_DATA_RULE.TABLE_NAME, MockDataRuleTable.MOCK_DATA_RULE.COLUMN_NAME }, true);
|
||||
public static final UniqueKey<OauthAppRecord> KEY_OAUTH_APP_PRIMARY = Internal.createUniqueKey(OauthAppTable.OAUTH_APP, DSL.name("KEY_oauth_app_PRIMARY"), new TableField[] { OauthAppTable.OAUTH_APP.ID }, true);
|
||||
public static final UniqueKey<OauthAppRecord> KEY_OAUTH_APP_UK_REGISTRATION_ID = Internal.createUniqueKey(OauthAppTable.OAUTH_APP, DSL.name("KEY_oauth_app_uk_registration_id"), new TableField[] { OauthAppTable.OAUTH_APP.REGISTRATION_ID }, true);
|
||||
public static final UniqueKey<OperationLogRecord> KEY_OPERATION_LOG_PRIMARY = Internal.createUniqueKey(OperationLogTable.OPERATION_LOG, DSL.name("KEY_operation_log_PRIMARY"), new TableField[] { OperationLogTable.OPERATION_LOG.ID }, true);
|
||||
public static final UniqueKey<ProjectRecord> KEY_PROJECT_PRIMARY = Internal.createUniqueKey(ProjectTable.PROJECT, DSL.name("KEY_project_PRIMARY"), new TableField[] { ProjectTable.PROJECT.ID }, true);
|
||||
public static final UniqueKey<ProjectRecord> KEY_PROJECT_UK_GROUP_ID_NAME_DELETED_TOKEN = Internal.createUniqueKey(ProjectTable.PROJECT, DSL.name("KEY_project_uk_group_id_name_deleted_token"), new TableField[] { ProjectTable.PROJECT.GROUP_ID, ProjectTable.PROJECT.NAME, ProjectTable.PROJECT.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<ProjectSyncRuleRecord> KEY_PROJECT_SYNC_RULE_PRIMARY = Internal.createUniqueKey(ProjectSyncRuleTable.PROJECT_SYNC_RULE, DSL.name("KEY_project_sync_rule_PRIMARY"), new TableField[] { ProjectSyncRuleTable.PROJECT_SYNC_RULE.ID }, true);
|
||||
public static final UniqueKey<ProjectSyncRuleRecord> KEY_PROJECT_SYNC_RULE_UK_PROJECT_ID = Internal.createUniqueKey(ProjectSyncRuleTable.PROJECT_SYNC_RULE, DSL.name("KEY_project_sync_rule_uk_project_id"), new TableField[] { ProjectSyncRuleTable.PROJECT_SYNC_RULE.PROJECT_ID }, true);
|
||||
public static final UniqueKey<ProjectSyncTaskRecord> KEY_PROJECT_SYNC_TASK_PRIMARY = Internal.createUniqueKey(ProjectSyncTaskTable.PROJECT_SYNC_TASK, DSL.name("KEY_project_sync_task_PRIMARY"), new TableField[] { ProjectSyncTaskTable.PROJECT_SYNC_TASK.ID }, true);
|
||||
public static final UniqueKey<SysKeyRecord> KEY_SYS_KEY_PRIMARY = Internal.createUniqueKey(SysKeyTable.SYS_KEY, DSL.name("KEY_sys_key_PRIMARY"), new TableField[] { SysKeyTable.SYS_KEY.ID }, true);
|
||||
public static final UniqueKey<SysMailRecord> KEY_SYS_MAIL_PRIMARY = Internal.createUniqueKey(SysMailTable.SYS_MAIL, DSL.name("KEY_sys_mail_PRIMARY"), new TableField[] { SysMailTable.SYS_MAIL.ID }, true);
|
||||
public static final UniqueKey<TableColumnDocumentRecord> KEY_TABLE_COLUMN_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT, DSL.name("KEY_table_column_document_PRIMARY"), new TableField[] { TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableDocumentRecord> KEY_TABLE_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableDocumentTable.TABLE_DOCUMENT, DSL.name("KEY_table_document_PRIMARY"), new TableField[] { TableDocumentTable.TABLE_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableForeignKeyDocumentRecord> KEY_TABLE_FOREIGN_KEY_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT, DSL.name("KEY_table_foreign_key_document_PRIMARY"), new TableField[] { TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableIndexDocumentRecord> KEY_TABLE_INDEX_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableIndexDocumentTable.TABLE_INDEX_DOCUMENT, DSL.name("KEY_table_index_document_PRIMARY"), new TableField[] { TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<TableTriggerDocumentRecord> KEY_TABLE_TRIGGER_DOCUMENT_PRIMARY = Internal.createUniqueKey(TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT, DSL.name("KEY_table_trigger_document_PRIMARY"), new TableField[] { TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.ID }, true);
|
||||
public static final UniqueKey<UserRecord> KEY_USER_PRIMARY = Internal.createUniqueKey(UserTable.USER, DSL.name("KEY_user_PRIMARY"), new TableField[] { UserTable.USER.ID }, true);
|
||||
public static final UniqueKey<UserRecord> KEY_USER_UK_EMAIL = Internal.createUniqueKey(UserTable.USER, DSL.name("KEY_user_uk_email"), new TableField[] { UserTable.USER.EMAIL, UserTable.USER.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<UserRecord> KEY_USER_UK_USERNAME = Internal.createUniqueKey(UserTable.USER, DSL.name("KEY_user_uk_username"), new TableField[] { UserTable.USER.USERNAME, UserTable.USER.DELETED_TOKEN }, true);
|
||||
public static final UniqueKey<UserFavoriteProjectRecord> KEY_USER_FAVORITE_PROJECT_PRIMARY = Internal.createUniqueKey(UserFavoriteProjectTable.USER_FAVORITE_PROJECT, DSL.name("KEY_user_favorite_project_PRIMARY"), new TableField[] { UserFavoriteProjectTable.USER_FAVORITE_PROJECT.ID }, true);
|
||||
public static final UniqueKey<UserFavoriteProjectRecord> KEY_USER_FAVORITE_PROJECT_UK_USER_ID_PROJECT_ID = Internal.createUniqueKey(UserFavoriteProjectTable.USER_FAVORITE_PROJECT, DSL.name("KEY_user_favorite_project_uk_user_id_project_id"), new TableField[] { UserFavoriteProjectTable.USER_FAVORITE_PROJECT.USER_ID, UserFavoriteProjectTable.USER_FAVORITE_PROJECT.PROJECT_ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> KEY_USER_ROLE_PRIMARY = Internal.createUniqueKey(UserRoleTable.USER_ROLE, DSL.name("KEY_user_role_PRIMARY"), new TableField[] { UserRoleTable.USER_ROLE.ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> KEY_USER_ROLE_UK_USER_ID_GROUP_ID_ROLE = Internal.createUniqueKey(UserRoleTable.USER_ROLE, DSL.name("KEY_user_role_uk_user_id_group_id_role"), new TableField[] { UserRoleTable.USER_ROLE.USER_ID, UserRoleTable.USER_ROLE.GROUP_ID, UserRoleTable.USER_ROLE.ROLE }, true);
|
||||
}
|
||||
|
@@ -4,32 +4,32 @@
|
||||
package com.databasir.dao;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DataSource;
|
||||
import com.databasir.dao.tables.DataSourceProperty;
|
||||
import com.databasir.dao.tables.DatabaseDocument;
|
||||
import com.databasir.dao.tables.DatabaseType;
|
||||
import com.databasir.dao.tables.DocumentDescription;
|
||||
import com.databasir.dao.tables.DocumentDiscussion;
|
||||
import com.databasir.dao.tables.DocumentFullText;
|
||||
import com.databasir.dao.tables.DocumentTemplateProperty;
|
||||
import com.databasir.dao.tables.Group;
|
||||
import com.databasir.dao.tables.Login;
|
||||
import com.databasir.dao.tables.MockDataRule;
|
||||
import com.databasir.dao.tables.OauthApp;
|
||||
import com.databasir.dao.tables.OperationLog;
|
||||
import com.databasir.dao.tables.Project;
|
||||
import com.databasir.dao.tables.ProjectSyncRule;
|
||||
import com.databasir.dao.tables.ProjectSyncTask;
|
||||
import com.databasir.dao.tables.SysKey;
|
||||
import com.databasir.dao.tables.SysMail;
|
||||
import com.databasir.dao.tables.TableColumnDocument;
|
||||
import com.databasir.dao.tables.TableDocument;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocument;
|
||||
import com.databasir.dao.tables.TableIndexDocument;
|
||||
import com.databasir.dao.tables.TableTriggerDocument;
|
||||
import com.databasir.dao.tables.User;
|
||||
import com.databasir.dao.tables.UserFavoriteProject;
|
||||
import com.databasir.dao.tables.UserRole;
|
||||
import com.databasir.dao.tables.DataSourcePropertyTable;
|
||||
import com.databasir.dao.tables.DataSourceTable;
|
||||
import com.databasir.dao.tables.DatabaseDocumentTable;
|
||||
import com.databasir.dao.tables.DatabaseTypeTable;
|
||||
import com.databasir.dao.tables.DocumentDescriptionTable;
|
||||
import com.databasir.dao.tables.DocumentDiscussionTable;
|
||||
import com.databasir.dao.tables.DocumentFullTextTable;
|
||||
import com.databasir.dao.tables.DocumentTemplatePropertyTable;
|
||||
import com.databasir.dao.tables.GroupTable;
|
||||
import com.databasir.dao.tables.LoginTable;
|
||||
import com.databasir.dao.tables.MockDataRuleTable;
|
||||
import com.databasir.dao.tables.OauthAppTable;
|
||||
import com.databasir.dao.tables.OperationLogTable;
|
||||
import com.databasir.dao.tables.ProjectSyncRuleTable;
|
||||
import com.databasir.dao.tables.ProjectSyncTaskTable;
|
||||
import com.databasir.dao.tables.ProjectTable;
|
||||
import com.databasir.dao.tables.SysKeyTable;
|
||||
import com.databasir.dao.tables.SysMailTable;
|
||||
import com.databasir.dao.tables.TableColumnDocumentTable;
|
||||
import com.databasir.dao.tables.TableDocumentTable;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocumentTable;
|
||||
import com.databasir.dao.tables.TableIndexDocumentTable;
|
||||
import com.databasir.dao.tables.TableTriggerDocumentTable;
|
||||
import com.databasir.dao.tables.UserFavoriteProjectTable;
|
||||
import com.databasir.dao.tables.UserRoleTable;
|
||||
import com.databasir.dao.tables.UserTable;
|
||||
|
||||
|
||||
/**
|
||||
@@ -41,130 +41,130 @@ public class Tables {
|
||||
/**
|
||||
* The table <code>databasir.data_source</code>.
|
||||
*/
|
||||
public static final DataSource DATA_SOURCE = DataSource.DATA_SOURCE;
|
||||
public static final DataSourceTable DATA_SOURCE = DataSourceTable.DATA_SOURCE;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.data_source_property</code>.
|
||||
*/
|
||||
public static final DataSourceProperty DATA_SOURCE_PROPERTY = DataSourceProperty.DATA_SOURCE_PROPERTY;
|
||||
public static final DataSourcePropertyTable DATA_SOURCE_PROPERTY = DataSourcePropertyTable.DATA_SOURCE_PROPERTY;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.database_document</code>.
|
||||
*/
|
||||
public static final DatabaseDocument DATABASE_DOCUMENT = DatabaseDocument.DATABASE_DOCUMENT;
|
||||
public static final DatabaseDocumentTable DATABASE_DOCUMENT = DatabaseDocumentTable.DATABASE_DOCUMENT;
|
||||
|
||||
/**
|
||||
* customer database types
|
||||
*/
|
||||
public static final DatabaseType DATABASE_TYPE = DatabaseType.DATABASE_TYPE;
|
||||
public static final DatabaseTypeTable DATABASE_TYPE = DatabaseTypeTable.DATABASE_TYPE;
|
||||
|
||||
/**
|
||||
* custom document description
|
||||
*/
|
||||
public static final DocumentDescription DOCUMENT_DESCRIPTION = DocumentDescription.DOCUMENT_DESCRIPTION;
|
||||
public static final DocumentDescriptionTable DOCUMENT_DESCRIPTION = DocumentDescriptionTable.DOCUMENT_DESCRIPTION;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.document_discussion</code>.
|
||||
*/
|
||||
public static final DocumentDiscussion DOCUMENT_DISCUSSION = DocumentDiscussion.DOCUMENT_DISCUSSION;
|
||||
public static final DocumentDiscussionTable DOCUMENT_DISCUSSION = DocumentDiscussionTable.DOCUMENT_DISCUSSION;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.document_full_text</code>.
|
||||
*/
|
||||
public static final DocumentFullText DOCUMENT_FULL_TEXT = DocumentFullText.DOCUMENT_FULL_TEXT;
|
||||
public static final DocumentFullTextTable DOCUMENT_FULL_TEXT = DocumentFullTextTable.DOCUMENT_FULL_TEXT;
|
||||
|
||||
/**
|
||||
* template property
|
||||
*/
|
||||
public static final DocumentTemplateProperty DOCUMENT_TEMPLATE_PROPERTY = DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY;
|
||||
public static final DocumentTemplatePropertyTable DOCUMENT_TEMPLATE_PROPERTY = DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.group</code>.
|
||||
*/
|
||||
public static final Group GROUP = Group.GROUP;
|
||||
public static final GroupTable GROUP = GroupTable.GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.login</code>.
|
||||
*/
|
||||
public static final Login LOGIN = Login.LOGIN;
|
||||
public static final LoginTable LOGIN = LoginTable.LOGIN;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.mock_data_rule</code>.
|
||||
*/
|
||||
public static final MockDataRule MOCK_DATA_RULE = MockDataRule.MOCK_DATA_RULE;
|
||||
public static final MockDataRuleTable MOCK_DATA_RULE = MockDataRuleTable.MOCK_DATA_RULE;
|
||||
|
||||
/**
|
||||
* oauth app info
|
||||
*/
|
||||
public static final OauthApp OAUTH_APP = OauthApp.OAUTH_APP;
|
||||
public static final OauthAppTable OAUTH_APP = OauthAppTable.OAUTH_APP;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.operation_log</code>.
|
||||
*/
|
||||
public static final OperationLog OPERATION_LOG = OperationLog.OPERATION_LOG;
|
||||
public static final OperationLogTable OPERATION_LOG = OperationLogTable.OPERATION_LOG;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.project</code>.
|
||||
*/
|
||||
public static final Project PROJECT = Project.PROJECT;
|
||||
public static final ProjectTable PROJECT = ProjectTable.PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.project_sync_rule</code>.
|
||||
*/
|
||||
public static final ProjectSyncRule PROJECT_SYNC_RULE = ProjectSyncRule.PROJECT_SYNC_RULE;
|
||||
public static final ProjectSyncRuleTable PROJECT_SYNC_RULE = ProjectSyncRuleTable.PROJECT_SYNC_RULE;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.project_sync_task</code>.
|
||||
*/
|
||||
public static final ProjectSyncTask PROJECT_SYNC_TASK = ProjectSyncTask.PROJECT_SYNC_TASK;
|
||||
public static final ProjectSyncTaskTable PROJECT_SYNC_TASK = ProjectSyncTaskTable.PROJECT_SYNC_TASK;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.sys_key</code>.
|
||||
*/
|
||||
public static final SysKey SYS_KEY = SysKey.SYS_KEY;
|
||||
public static final SysKeyTable SYS_KEY = SysKeyTable.SYS_KEY;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.sys_mail</code>.
|
||||
*/
|
||||
public static final SysMail SYS_MAIL = SysMail.SYS_MAIL;
|
||||
public static final SysMailTable SYS_MAIL = SysMailTable.SYS_MAIL;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_column_document</code>.
|
||||
*/
|
||||
public static final TableColumnDocument TABLE_COLUMN_DOCUMENT = TableColumnDocument.TABLE_COLUMN_DOCUMENT;
|
||||
public static final TableColumnDocumentTable TABLE_COLUMN_DOCUMENT = TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_document</code>.
|
||||
*/
|
||||
public static final TableDocument TABLE_DOCUMENT = TableDocument.TABLE_DOCUMENT;
|
||||
public static final TableDocumentTable TABLE_DOCUMENT = TableDocumentTable.TABLE_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_foreign_key_document</code>.
|
||||
*/
|
||||
public static final TableForeignKeyDocument TABLE_FOREIGN_KEY_DOCUMENT = TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT;
|
||||
public static final TableForeignKeyDocumentTable TABLE_FOREIGN_KEY_DOCUMENT = TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_index_document</code>.
|
||||
*/
|
||||
public static final TableIndexDocument TABLE_INDEX_DOCUMENT = TableIndexDocument.TABLE_INDEX_DOCUMENT;
|
||||
public static final TableIndexDocumentTable TABLE_INDEX_DOCUMENT = TableIndexDocumentTable.TABLE_INDEX_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.table_trigger_document</code>.
|
||||
*/
|
||||
public static final TableTriggerDocument TABLE_TRIGGER_DOCUMENT = TableTriggerDocument.TABLE_TRIGGER_DOCUMENT;
|
||||
public static final TableTriggerDocumentTable TABLE_TRIGGER_DOCUMENT = TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.user</code>.
|
||||
*/
|
||||
public static final User USER = User.USER;
|
||||
public static final UserTable USER = UserTable.USER;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.user_favorite_project</code>.
|
||||
*/
|
||||
public static final UserFavoriteProject USER_FAVORITE_PROJECT = UserFavoriteProject.USER_FAVORITE_PROJECT;
|
||||
public static final UserFavoriteProjectTable USER_FAVORITE_PROJECT = UserFavoriteProjectTable.USER_FAVORITE_PROJECT;
|
||||
|
||||
/**
|
||||
* The table <code>databasir.user_role</code>.
|
||||
*/
|
||||
public static final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
public static final UserRoleTable USER_ROLE = UserRoleTable.USER_ROLE;
|
||||
}
|
||||
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DataSourceProperty extends TableImpl<DataSourcePropertyRecord> {
|
||||
public class DataSourcePropertyTable extends TableImpl<DataSourcePropertyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.data_source_property</code>
|
||||
*/
|
||||
public static final DataSourceProperty DATA_SOURCE_PROPERTY = new DataSourceProperty();
|
||||
public static final DataSourcePropertyTable DATA_SOURCE_PROPERTY = new DataSourcePropertyTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -76,11 +76,11 @@ public class DataSourceProperty extends TableImpl<DataSourcePropertyRecord> {
|
||||
*/
|
||||
public final TableField<DataSourcePropertyRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DataSourceProperty(Name alias, Table<DataSourcePropertyRecord> aliased) {
|
||||
private DataSourcePropertyTable(Name alias, Table<DataSourcePropertyRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DataSourceProperty(Name alias, Table<DataSourcePropertyRecord> aliased, Field<?>[] parameters) {
|
||||
private DataSourcePropertyTable(Name alias, Table<DataSourcePropertyRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ public class DataSourceProperty extends TableImpl<DataSourcePropertyRecord> {
|
||||
* Create an aliased <code>databasir.data_source_property</code> table
|
||||
* reference
|
||||
*/
|
||||
public DataSourceProperty(String alias) {
|
||||
public DataSourcePropertyTable(String alias) {
|
||||
this(DSL.name(alias), DATA_SOURCE_PROPERTY);
|
||||
}
|
||||
|
||||
@@ -96,18 +96,18 @@ public class DataSourceProperty extends TableImpl<DataSourcePropertyRecord> {
|
||||
* Create an aliased <code>databasir.data_source_property</code> table
|
||||
* reference
|
||||
*/
|
||||
public DataSourceProperty(Name alias) {
|
||||
public DataSourcePropertyTable(Name alias) {
|
||||
this(alias, DATA_SOURCE_PROPERTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.data_source_property</code> table reference
|
||||
*/
|
||||
public DataSourceProperty() {
|
||||
public DataSourcePropertyTable() {
|
||||
this(DSL.name("data_source_property"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DataSourceProperty(Table<O> child, ForeignKey<O, DataSourcePropertyRecord> key) {
|
||||
public <O extends Record> DataSourcePropertyTable(Table<O> child, ForeignKey<O, DataSourcePropertyRecord> key) {
|
||||
super(child, key, DATA_SOURCE_PROPERTY);
|
||||
}
|
||||
|
||||
@@ -132,29 +132,29 @@ public class DataSourceProperty extends TableImpl<DataSourcePropertyRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSourceProperty as(String alias) {
|
||||
return new DataSourceProperty(DSL.name(alias), this);
|
||||
public DataSourcePropertyTable as(String alias) {
|
||||
return new DataSourcePropertyTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSourceProperty as(Name alias) {
|
||||
return new DataSourceProperty(alias, this);
|
||||
public DataSourcePropertyTable as(Name alias) {
|
||||
return new DataSourcePropertyTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DataSourceProperty rename(String name) {
|
||||
return new DataSourceProperty(DSL.name(name), null);
|
||||
public DataSourcePropertyTable rename(String name) {
|
||||
return new DataSourcePropertyTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DataSourceProperty rename(Name name) {
|
||||
return new DataSourceProperty(name, null);
|
||||
public DataSourcePropertyTable rename(Name name) {
|
||||
return new DataSourcePropertyTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DataSource extends TableImpl<DataSourceRecord> {
|
||||
public class DataSourceTable extends TableImpl<DataSourceRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.data_source</code>
|
||||
*/
|
||||
public static final DataSource DATA_SOURCE = new DataSource();
|
||||
public static final DataSourceTable DATA_SOURCE = new DataSourceTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -99,36 +99,36 @@ public class DataSource extends TableImpl<DataSourceRecord> {
|
||||
*/
|
||||
public final TableField<DataSourceRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DataSource(Name alias, Table<DataSourceRecord> aliased) {
|
||||
private DataSourceTable(Name alias, Table<DataSourceRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DataSource(Name alias, Table<DataSourceRecord> aliased, Field<?>[] parameters) {
|
||||
private DataSourceTable(Name alias, Table<DataSourceRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.data_source</code> table reference
|
||||
*/
|
||||
public DataSource(String alias) {
|
||||
public DataSourceTable(String alias) {
|
||||
this(DSL.name(alias), DATA_SOURCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.data_source</code> table reference
|
||||
*/
|
||||
public DataSource(Name alias) {
|
||||
public DataSourceTable(Name alias) {
|
||||
this(alias, DATA_SOURCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.data_source</code> table reference
|
||||
*/
|
||||
public DataSource() {
|
||||
public DataSourceTable() {
|
||||
this(DSL.name("data_source"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DataSource(Table<O> child, ForeignKey<O, DataSourceRecord> key) {
|
||||
public <O extends Record> DataSourceTable(Table<O> child, ForeignKey<O, DataSourceRecord> key) {
|
||||
super(child, key, DATA_SOURCE);
|
||||
}
|
||||
|
||||
@@ -153,29 +153,29 @@ public class DataSource extends TableImpl<DataSourceRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSource as(String alias) {
|
||||
return new DataSource(DSL.name(alias), this);
|
||||
public DataSourceTable as(String alias) {
|
||||
return new DataSourceTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DataSource as(Name alias) {
|
||||
return new DataSource(alias, this);
|
||||
public DataSourceTable as(Name alias) {
|
||||
return new DataSourceTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DataSource rename(String name) {
|
||||
return new DataSource(DSL.name(name), null);
|
||||
public DataSourceTable rename(String name) {
|
||||
return new DataSourceTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DataSource rename(Name name) {
|
||||
return new DataSource(name, null);
|
||||
public DataSourceTable rename(Name name) {
|
||||
return new DataSourceTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DatabaseDocument extends TableImpl<DatabaseDocumentRecord> {
|
||||
public class DatabaseDocumentTable extends TableImpl<DatabaseDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.database_document</code>
|
||||
*/
|
||||
public static final DatabaseDocument DATABASE_DOCUMENT = new DatabaseDocument();
|
||||
public static final DatabaseDocumentTable DATABASE_DOCUMENT = new DatabaseDocumentTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -99,11 +99,11 @@ public class DatabaseDocument extends TableImpl<DatabaseDocumentRecord> {
|
||||
*/
|
||||
public final TableField<DatabaseDocumentRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DatabaseDocument(Name alias, Table<DatabaseDocumentRecord> aliased) {
|
||||
private DatabaseDocumentTable(Name alias, Table<DatabaseDocumentRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DatabaseDocument(Name alias, Table<DatabaseDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
private DatabaseDocumentTable(Name alias, Table<DatabaseDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ public class DatabaseDocument extends TableImpl<DatabaseDocumentRecord> {
|
||||
* Create an aliased <code>databasir.database_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public DatabaseDocument(String alias) {
|
||||
public DatabaseDocumentTable(String alias) {
|
||||
this(DSL.name(alias), DATABASE_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -119,18 +119,18 @@ public class DatabaseDocument extends TableImpl<DatabaseDocumentRecord> {
|
||||
* Create an aliased <code>databasir.database_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public DatabaseDocument(Name alias) {
|
||||
public DatabaseDocumentTable(Name alias) {
|
||||
this(alias, DATABASE_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.database_document</code> table reference
|
||||
*/
|
||||
public DatabaseDocument() {
|
||||
public DatabaseDocumentTable() {
|
||||
this(DSL.name("database_document"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DatabaseDocument(Table<O> child, ForeignKey<O, DatabaseDocumentRecord> key) {
|
||||
public <O extends Record> DatabaseDocumentTable(Table<O> child, ForeignKey<O, DatabaseDocumentRecord> key) {
|
||||
super(child, key, DATABASE_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -155,29 +155,29 @@ public class DatabaseDocument extends TableImpl<DatabaseDocumentRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DatabaseDocument as(String alias) {
|
||||
return new DatabaseDocument(DSL.name(alias), this);
|
||||
public DatabaseDocumentTable as(String alias) {
|
||||
return new DatabaseDocumentTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DatabaseDocument as(Name alias) {
|
||||
return new DatabaseDocument(alias, this);
|
||||
public DatabaseDocumentTable as(Name alias) {
|
||||
return new DatabaseDocumentTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DatabaseDocument rename(String name) {
|
||||
return new DatabaseDocument(DSL.name(name), null);
|
||||
public DatabaseDocumentTable rename(String name) {
|
||||
return new DatabaseDocumentTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DatabaseDocument rename(Name name) {
|
||||
return new DatabaseDocument(name, null);
|
||||
public DatabaseDocumentTable rename(Name name) {
|
||||
return new DatabaseDocumentTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* customer database types
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DatabaseType extends TableImpl<DatabaseTypeRecord> {
|
||||
public class DatabaseTypeTable extends TableImpl<DatabaseTypeRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.database_type</code>
|
||||
*/
|
||||
public static final DatabaseType DATABASE_TYPE = new DatabaseType();
|
||||
public static final DatabaseTypeTable DATABASE_TYPE = new DatabaseTypeTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -115,36 +115,36 @@ public class DatabaseType extends TableImpl<DatabaseTypeRecord> {
|
||||
*/
|
||||
public final TableField<DatabaseTypeRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DatabaseType(Name alias, Table<DatabaseTypeRecord> aliased) {
|
||||
private DatabaseTypeTable(Name alias, Table<DatabaseTypeRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DatabaseType(Name alias, Table<DatabaseTypeRecord> aliased, Field<?>[] parameters) {
|
||||
private DatabaseTypeTable(Name alias, Table<DatabaseTypeRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("customer database types"), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.database_type</code> table reference
|
||||
*/
|
||||
public DatabaseType(String alias) {
|
||||
public DatabaseTypeTable(String alias) {
|
||||
this(DSL.name(alias), DATABASE_TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.database_type</code> table reference
|
||||
*/
|
||||
public DatabaseType(Name alias) {
|
||||
public DatabaseTypeTable(Name alias) {
|
||||
this(alias, DATABASE_TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.database_type</code> table reference
|
||||
*/
|
||||
public DatabaseType() {
|
||||
public DatabaseTypeTable() {
|
||||
this(DSL.name("database_type"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DatabaseType(Table<O> child, ForeignKey<O, DatabaseTypeRecord> key) {
|
||||
public <O extends Record> DatabaseTypeTable(Table<O> child, ForeignKey<O, DatabaseTypeRecord> key) {
|
||||
super(child, key, DATABASE_TYPE);
|
||||
}
|
||||
|
||||
@@ -169,29 +169,29 @@ public class DatabaseType extends TableImpl<DatabaseTypeRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DatabaseType as(String alias) {
|
||||
return new DatabaseType(DSL.name(alias), this);
|
||||
public DatabaseTypeTable as(String alias) {
|
||||
return new DatabaseTypeTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DatabaseType as(Name alias) {
|
||||
return new DatabaseType(alias, this);
|
||||
public DatabaseTypeTable as(Name alias) {
|
||||
return new DatabaseTypeTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DatabaseType rename(String name) {
|
||||
return new DatabaseType(DSL.name(name), null);
|
||||
public DatabaseTypeTable rename(String name) {
|
||||
return new DatabaseTypeTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DatabaseType rename(Name name) {
|
||||
return new DatabaseType(name, null);
|
||||
public DatabaseTypeTable rename(Name name) {
|
||||
return new DatabaseTypeTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* custom document description
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentDescription extends TableImpl<DocumentDescriptionRecord> {
|
||||
public class DocumentDescriptionTable extends TableImpl<DocumentDescriptionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.document_description</code>
|
||||
*/
|
||||
public static final DocumentDescription DOCUMENT_DESCRIPTION = new DocumentDescription();
|
||||
public static final DocumentDescriptionTable DOCUMENT_DESCRIPTION = new DocumentDescriptionTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -89,11 +89,11 @@ public class DocumentDescription extends TableImpl<DocumentDescriptionRecord> {
|
||||
*/
|
||||
public final TableField<DocumentDescriptionRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DocumentDescription(Name alias, Table<DocumentDescriptionRecord> aliased) {
|
||||
private DocumentDescriptionTable(Name alias, Table<DocumentDescriptionRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DocumentDescription(Name alias, Table<DocumentDescriptionRecord> aliased, Field<?>[] parameters) {
|
||||
private DocumentDescriptionTable(Name alias, Table<DocumentDescriptionRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("custom document description"), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ public class DocumentDescription extends TableImpl<DocumentDescriptionRecord> {
|
||||
* Create an aliased <code>databasir.document_description</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentDescription(String alias) {
|
||||
public DocumentDescriptionTable(String alias) {
|
||||
this(DSL.name(alias), DOCUMENT_DESCRIPTION);
|
||||
}
|
||||
|
||||
@@ -109,18 +109,18 @@ public class DocumentDescription extends TableImpl<DocumentDescriptionRecord> {
|
||||
* Create an aliased <code>databasir.document_description</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentDescription(Name alias) {
|
||||
public DocumentDescriptionTable(Name alias) {
|
||||
this(alias, DOCUMENT_DESCRIPTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.document_description</code> table reference
|
||||
*/
|
||||
public DocumentDescription() {
|
||||
public DocumentDescriptionTable() {
|
||||
this(DSL.name("document_description"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DocumentDescription(Table<O> child, ForeignKey<O, DocumentDescriptionRecord> key) {
|
||||
public <O extends Record> DocumentDescriptionTable(Table<O> child, ForeignKey<O, DocumentDescriptionRecord> key) {
|
||||
super(child, key, DOCUMENT_DESCRIPTION);
|
||||
}
|
||||
|
||||
@@ -145,29 +145,29 @@ public class DocumentDescription extends TableImpl<DocumentDescriptionRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentDescription as(String alias) {
|
||||
return new DocumentDescription(DSL.name(alias), this);
|
||||
public DocumentDescriptionTable as(String alias) {
|
||||
return new DocumentDescriptionTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentDescription as(Name alias) {
|
||||
return new DocumentDescription(alias, this);
|
||||
public DocumentDescriptionTable as(Name alias) {
|
||||
return new DocumentDescriptionTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentDescription rename(String name) {
|
||||
return new DocumentDescription(DSL.name(name), null);
|
||||
public DocumentDescriptionTable rename(String name) {
|
||||
return new DocumentDescriptionTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentDescription rename(Name name) {
|
||||
return new DocumentDescription(name, null);
|
||||
public DocumentDescriptionTable rename(Name name) {
|
||||
return new DocumentDescriptionTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentDiscussion extends TableImpl<DocumentDiscussionRecord> {
|
||||
public class DocumentDiscussionTable extends TableImpl<DocumentDiscussionRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.document_discussion</code>
|
||||
*/
|
||||
public static final DocumentDiscussion DOCUMENT_DISCUSSION = new DocumentDiscussion();
|
||||
public static final DocumentDiscussionTable DOCUMENT_DISCUSSION = new DocumentDiscussionTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -86,11 +86,11 @@ public class DocumentDiscussion extends TableImpl<DocumentDiscussionRecord> {
|
||||
*/
|
||||
public final TableField<DocumentDiscussionRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DocumentDiscussion(Name alias, Table<DocumentDiscussionRecord> aliased) {
|
||||
private DocumentDiscussionTable(Name alias, Table<DocumentDiscussionRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DocumentDiscussion(Name alias, Table<DocumentDiscussionRecord> aliased, Field<?>[] parameters) {
|
||||
private DocumentDiscussionTable(Name alias, Table<DocumentDiscussionRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ public class DocumentDiscussion extends TableImpl<DocumentDiscussionRecord> {
|
||||
* Create an aliased <code>databasir.document_discussion</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentDiscussion(String alias) {
|
||||
public DocumentDiscussionTable(String alias) {
|
||||
this(DSL.name(alias), DOCUMENT_DISCUSSION);
|
||||
}
|
||||
|
||||
@@ -106,18 +106,18 @@ public class DocumentDiscussion extends TableImpl<DocumentDiscussionRecord> {
|
||||
* Create an aliased <code>databasir.document_discussion</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentDiscussion(Name alias) {
|
||||
public DocumentDiscussionTable(Name alias) {
|
||||
this(alias, DOCUMENT_DISCUSSION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.document_discussion</code> table reference
|
||||
*/
|
||||
public DocumentDiscussion() {
|
||||
public DocumentDiscussionTable() {
|
||||
this(DSL.name("document_discussion"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DocumentDiscussion(Table<O> child, ForeignKey<O, DocumentDiscussionRecord> key) {
|
||||
public <O extends Record> DocumentDiscussionTable(Table<O> child, ForeignKey<O, DocumentDiscussionRecord> key) {
|
||||
super(child, key, DOCUMENT_DISCUSSION);
|
||||
}
|
||||
|
||||
@@ -142,29 +142,29 @@ public class DocumentDiscussion extends TableImpl<DocumentDiscussionRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentDiscussion as(String alias) {
|
||||
return new DocumentDiscussion(DSL.name(alias), this);
|
||||
public DocumentDiscussionTable as(String alias) {
|
||||
return new DocumentDiscussionTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentDiscussion as(Name alias) {
|
||||
return new DocumentDiscussion(alias, this);
|
||||
public DocumentDiscussionTable as(Name alias) {
|
||||
return new DocumentDiscussionTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentDiscussion rename(String name) {
|
||||
return new DocumentDiscussion(DSL.name(name), null);
|
||||
public DocumentDiscussionTable rename(String name) {
|
||||
return new DocumentDiscussionTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentDiscussion rename(Name name) {
|
||||
return new DocumentDiscussion(name, null);
|
||||
public DocumentDiscussionTable rename(Name name) {
|
||||
return new DocumentDiscussionTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -8,28 +8,39 @@ import com.databasir.dao.Databasir;
|
||||
import com.databasir.dao.Indexes;
|
||||
import com.databasir.dao.Keys;
|
||||
import com.databasir.dao.tables.records.DocumentFullTextRecord;
|
||||
import org.jooq.*;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Index;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentFullText extends TableImpl<DocumentFullTextRecord> {
|
||||
public class DocumentFullTextTable extends TableImpl<DocumentFullTextRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.document_full_text</code>
|
||||
*/
|
||||
public static final DocumentFullText DOCUMENT_FULL_TEXT = new DocumentFullText();
|
||||
public static final DocumentFullTextTable DOCUMENT_FULL_TEXT = new DocumentFullTextTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -164,11 +175,11 @@ public class DocumentFullText extends TableImpl<DocumentFullTextRecord> {
|
||||
*/
|
||||
public final TableField<DocumentFullTextRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DocumentFullText(Name alias, Table<DocumentFullTextRecord> aliased) {
|
||||
private DocumentFullTextTable(Name alias, Table<DocumentFullTextRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DocumentFullText(Name alias, Table<DocumentFullTextRecord> aliased, Field<?>[] parameters) {
|
||||
private DocumentFullTextTable(Name alias, Table<DocumentFullTextRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -176,7 +187,7 @@ public class DocumentFullText extends TableImpl<DocumentFullTextRecord> {
|
||||
* Create an aliased <code>databasir.document_full_text</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentFullText(String alias) {
|
||||
public DocumentFullTextTable(String alias) {
|
||||
this(DSL.name(alias), DOCUMENT_FULL_TEXT);
|
||||
}
|
||||
|
||||
@@ -184,18 +195,18 @@ public class DocumentFullText extends TableImpl<DocumentFullTextRecord> {
|
||||
* Create an aliased <code>databasir.document_full_text</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentFullText(Name alias) {
|
||||
public DocumentFullTextTable(Name alias) {
|
||||
this(alias, DOCUMENT_FULL_TEXT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.document_full_text</code> table reference
|
||||
*/
|
||||
public DocumentFullText() {
|
||||
public DocumentFullTextTable() {
|
||||
this(DSL.name("document_full_text"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DocumentFullText(Table<O> child, ForeignKey<O, DocumentFullTextRecord> key) {
|
||||
public <O extends Record> DocumentFullTextTable(Table<O> child, ForeignKey<O, DocumentFullTextRecord> key) {
|
||||
super(child, key, DOCUMENT_FULL_TEXT);
|
||||
}
|
||||
|
||||
@@ -220,28 +231,28 @@ public class DocumentFullText extends TableImpl<DocumentFullTextRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentFullText as(String alias) {
|
||||
return new DocumentFullText(DSL.name(alias), this);
|
||||
public DocumentFullTextTable as(String alias) {
|
||||
return new DocumentFullTextTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentFullText as(Name alias) {
|
||||
return new DocumentFullText(alias, this);
|
||||
public DocumentFullTextTable as(Name alias) {
|
||||
return new DocumentFullTextTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentFullText rename(String name) {
|
||||
return new DocumentFullText(DSL.name(name), null);
|
||||
public DocumentFullTextTable rename(String name) {
|
||||
return new DocumentFullTextTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentFullText rename(Name name) {
|
||||
return new DocumentFullText(name, null);
|
||||
public DocumentFullTextTable rename(Name name) {
|
||||
return new DocumentFullTextTable(name, null);
|
||||
}
|
||||
}
|
@@ -34,7 +34,7 @@ import org.jooq.impl.TableImpl;
|
||||
* template property
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentTemplateProperty extends TableImpl<DocumentTemplatePropertyRecord> {
|
||||
public class DocumentTemplatePropertyTable extends TableImpl<DocumentTemplatePropertyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -42,7 +42,7 @@ public class DocumentTemplateProperty extends TableImpl<DocumentTemplateProperty
|
||||
* The reference instance of
|
||||
* <code>databasir.document_template_property</code>
|
||||
*/
|
||||
public static final DocumentTemplateProperty DOCUMENT_TEMPLATE_PROPERTY = new DocumentTemplateProperty();
|
||||
public static final DocumentTemplatePropertyTable DOCUMENT_TEMPLATE_PROPERTY = new DocumentTemplatePropertyTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -83,11 +83,11 @@ public class DocumentTemplateProperty extends TableImpl<DocumentTemplateProperty
|
||||
*/
|
||||
public final TableField<DocumentTemplatePropertyRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private DocumentTemplateProperty(Name alias, Table<DocumentTemplatePropertyRecord> aliased) {
|
||||
private DocumentTemplatePropertyTable(Name alias, Table<DocumentTemplatePropertyRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private DocumentTemplateProperty(Name alias, Table<DocumentTemplatePropertyRecord> aliased, Field<?>[] parameters) {
|
||||
private DocumentTemplatePropertyTable(Name alias, Table<DocumentTemplatePropertyRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("template property"), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ public class DocumentTemplateProperty extends TableImpl<DocumentTemplateProperty
|
||||
* Create an aliased <code>databasir.document_template_property</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentTemplateProperty(String alias) {
|
||||
public DocumentTemplatePropertyTable(String alias) {
|
||||
this(DSL.name(alias), DOCUMENT_TEMPLATE_PROPERTY);
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ public class DocumentTemplateProperty extends TableImpl<DocumentTemplateProperty
|
||||
* Create an aliased <code>databasir.document_template_property</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentTemplateProperty(Name alias) {
|
||||
public DocumentTemplatePropertyTable(Name alias) {
|
||||
this(alias, DOCUMENT_TEMPLATE_PROPERTY);
|
||||
}
|
||||
|
||||
@@ -111,11 +111,11 @@ public class DocumentTemplateProperty extends TableImpl<DocumentTemplateProperty
|
||||
* Create a <code>databasir.document_template_property</code> table
|
||||
* reference
|
||||
*/
|
||||
public DocumentTemplateProperty() {
|
||||
public DocumentTemplatePropertyTable() {
|
||||
this(DSL.name("document_template_property"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> DocumentTemplateProperty(Table<O> child, ForeignKey<O, DocumentTemplatePropertyRecord> key) {
|
||||
public <O extends Record> DocumentTemplatePropertyTable(Table<O> child, ForeignKey<O, DocumentTemplatePropertyRecord> key) {
|
||||
super(child, key, DOCUMENT_TEMPLATE_PROPERTY);
|
||||
}
|
||||
|
||||
@@ -140,29 +140,29 @@ public class DocumentTemplateProperty extends TableImpl<DocumentTemplateProperty
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentTemplateProperty as(String alias) {
|
||||
return new DocumentTemplateProperty(DSL.name(alias), this);
|
||||
public DocumentTemplatePropertyTable as(String alias) {
|
||||
return new DocumentTemplatePropertyTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocumentTemplateProperty as(Name alias) {
|
||||
return new DocumentTemplateProperty(alias, this);
|
||||
public DocumentTemplatePropertyTable as(Name alias) {
|
||||
return new DocumentTemplatePropertyTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentTemplateProperty rename(String name) {
|
||||
return new DocumentTemplateProperty(DSL.name(name), null);
|
||||
public DocumentTemplatePropertyTable rename(String name) {
|
||||
return new DocumentTemplatePropertyTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public DocumentTemplateProperty rename(Name name) {
|
||||
return new DocumentTemplateProperty(name, null);
|
||||
public DocumentTemplatePropertyTable rename(Name name) {
|
||||
return new DocumentTemplatePropertyTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -30,14 +30,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Group extends TableImpl<GroupRecord> {
|
||||
public class GroupTable extends TableImpl<GroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.group</code>
|
||||
*/
|
||||
public static final Group GROUP = new Group();
|
||||
public static final GroupTable GROUP = new GroupTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -77,36 +77,36 @@ public class Group extends TableImpl<GroupRecord> {
|
||||
*/
|
||||
public final TableField<GroupRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private Group(Name alias, Table<GroupRecord> aliased) {
|
||||
private GroupTable(Name alias, Table<GroupRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Group(Name alias, Table<GroupRecord> aliased, Field<?>[] parameters) {
|
||||
private GroupTable(Name alias, Table<GroupRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.group</code> table reference
|
||||
*/
|
||||
public Group(String alias) {
|
||||
public GroupTable(String alias) {
|
||||
this(DSL.name(alias), GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.group</code> table reference
|
||||
*/
|
||||
public Group(Name alias) {
|
||||
public GroupTable(Name alias) {
|
||||
this(alias, GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.group</code> table reference
|
||||
*/
|
||||
public Group() {
|
||||
public GroupTable() {
|
||||
this(DSL.name("group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Group(Table<O> child, ForeignKey<O, GroupRecord> key) {
|
||||
public <O extends Record> GroupTable(Table<O> child, ForeignKey<O, GroupRecord> key) {
|
||||
super(child, key, GROUP);
|
||||
}
|
||||
|
||||
@@ -126,29 +126,29 @@ public class Group extends TableImpl<GroupRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Group as(String alias) {
|
||||
return new Group(DSL.name(alias), this);
|
||||
public GroupTable as(String alias) {
|
||||
return new GroupTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Group as(Name alias) {
|
||||
return new Group(alias, this);
|
||||
public GroupTable as(Name alias) {
|
||||
return new GroupTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Group rename(String name) {
|
||||
return new Group(DSL.name(name), null);
|
||||
public GroupTable rename(String name) {
|
||||
return new GroupTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Group rename(Name name) {
|
||||
return new Group(name, null);
|
||||
public GroupTable rename(Name name) {
|
||||
return new GroupTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Login extends TableImpl<LoginRecord> {
|
||||
public class LoginTable extends TableImpl<LoginRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.login</code>
|
||||
*/
|
||||
public static final Login LOGIN = new Login();
|
||||
public static final LoginTable LOGIN = new LoginTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -89,36 +89,36 @@ public class Login extends TableImpl<LoginRecord> {
|
||||
*/
|
||||
public final TableField<LoginRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private Login(Name alias, Table<LoginRecord> aliased) {
|
||||
private LoginTable(Name alias, Table<LoginRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Login(Name alias, Table<LoginRecord> aliased, Field<?>[] parameters) {
|
||||
private LoginTable(Name alias, Table<LoginRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.login</code> table reference
|
||||
*/
|
||||
public Login(String alias) {
|
||||
public LoginTable(String alias) {
|
||||
this(DSL.name(alias), LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.login</code> table reference
|
||||
*/
|
||||
public Login(Name alias) {
|
||||
public LoginTable(Name alias) {
|
||||
this(alias, LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.login</code> table reference
|
||||
*/
|
||||
public Login() {
|
||||
public LoginTable() {
|
||||
this(DSL.name("login"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Login(Table<O> child, ForeignKey<O, LoginRecord> key) {
|
||||
public <O extends Record> LoginTable(Table<O> child, ForeignKey<O, LoginRecord> key) {
|
||||
super(child, key, LOGIN);
|
||||
}
|
||||
|
||||
@@ -143,29 +143,29 @@ public class Login extends TableImpl<LoginRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Login as(String alias) {
|
||||
return new Login(DSL.name(alias), this);
|
||||
public LoginTable as(String alias) {
|
||||
return new LoginTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Login as(Name alias) {
|
||||
return new Login(alias, this);
|
||||
public LoginTable as(Name alias) {
|
||||
return new LoginTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Login rename(String name) {
|
||||
return new Login(DSL.name(name), null);
|
||||
public LoginTable rename(String name) {
|
||||
return new LoginTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Login rename(Name name) {
|
||||
return new Login(name, null);
|
||||
public LoginTable rename(Name name) {
|
||||
return new LoginTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class MockDataRule extends TableImpl<MockDataRuleRecord> {
|
||||
public class MockDataRuleTable extends TableImpl<MockDataRuleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.mock_data_rule</code>
|
||||
*/
|
||||
public static final MockDataRule MOCK_DATA_RULE = new MockDataRule();
|
||||
public static final MockDataRuleTable MOCK_DATA_RULE = new MockDataRuleTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -101,36 +101,36 @@ public class MockDataRule extends TableImpl<MockDataRuleRecord> {
|
||||
*/
|
||||
public final TableField<MockDataRuleRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private MockDataRule(Name alias, Table<MockDataRuleRecord> aliased) {
|
||||
private MockDataRuleTable(Name alias, Table<MockDataRuleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private MockDataRule(Name alias, Table<MockDataRuleRecord> aliased, Field<?>[] parameters) {
|
||||
private MockDataRuleTable(Name alias, Table<MockDataRuleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.mock_data_rule</code> table reference
|
||||
*/
|
||||
public MockDataRule(String alias) {
|
||||
public MockDataRuleTable(String alias) {
|
||||
this(DSL.name(alias), MOCK_DATA_RULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.mock_data_rule</code> table reference
|
||||
*/
|
||||
public MockDataRule(Name alias) {
|
||||
public MockDataRuleTable(Name alias) {
|
||||
this(alias, MOCK_DATA_RULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.mock_data_rule</code> table reference
|
||||
*/
|
||||
public MockDataRule() {
|
||||
public MockDataRuleTable() {
|
||||
this(DSL.name("mock_data_rule"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> MockDataRule(Table<O> child, ForeignKey<O, MockDataRuleRecord> key) {
|
||||
public <O extends Record> MockDataRuleTable(Table<O> child, ForeignKey<O, MockDataRuleRecord> key) {
|
||||
super(child, key, MOCK_DATA_RULE);
|
||||
}
|
||||
|
||||
@@ -155,29 +155,29 @@ public class MockDataRule extends TableImpl<MockDataRuleRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public MockDataRule as(String alias) {
|
||||
return new MockDataRule(DSL.name(alias), this);
|
||||
public MockDataRuleTable as(String alias) {
|
||||
return new MockDataRuleTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MockDataRule as(Name alias) {
|
||||
return new MockDataRule(alias, this);
|
||||
public MockDataRuleTable as(Name alias) {
|
||||
return new MockDataRuleTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public MockDataRule rename(String name) {
|
||||
return new MockDataRule(DSL.name(name), null);
|
||||
public MockDataRuleTable rename(String name) {
|
||||
return new MockDataRuleTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public MockDataRule rename(Name name) {
|
||||
return new MockDataRule(name, null);
|
||||
public MockDataRuleTable rename(Name name) {
|
||||
return new MockDataRuleTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* oauth app info
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OauthApp extends TableImpl<OauthAppRecord> {
|
||||
public class OauthAppTable extends TableImpl<OauthAppRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.oauth_app</code>
|
||||
*/
|
||||
public static final OauthApp OAUTH_APP = new OauthApp();
|
||||
public static final OauthAppTable OAUTH_APP = new OauthAppTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -111,36 +111,36 @@ public class OauthApp extends TableImpl<OauthAppRecord> {
|
||||
*/
|
||||
public final TableField<OauthAppRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private OauthApp(Name alias, Table<OauthAppRecord> aliased) {
|
||||
private OauthAppTable(Name alias, Table<OauthAppRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private OauthApp(Name alias, Table<OauthAppRecord> aliased, Field<?>[] parameters) {
|
||||
private OauthAppTable(Name alias, Table<OauthAppRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("oauth app info"), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.oauth_app</code> table reference
|
||||
*/
|
||||
public OauthApp(String alias) {
|
||||
public OauthAppTable(String alias) {
|
||||
this(DSL.name(alias), OAUTH_APP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.oauth_app</code> table reference
|
||||
*/
|
||||
public OauthApp(Name alias) {
|
||||
public OauthAppTable(Name alias) {
|
||||
this(alias, OAUTH_APP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.oauth_app</code> table reference
|
||||
*/
|
||||
public OauthApp() {
|
||||
public OauthAppTable() {
|
||||
this(DSL.name("oauth_app"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> OauthApp(Table<O> child, ForeignKey<O, OauthAppRecord> key) {
|
||||
public <O extends Record> OauthAppTable(Table<O> child, ForeignKey<O, OauthAppRecord> key) {
|
||||
super(child, key, OAUTH_APP);
|
||||
}
|
||||
|
||||
@@ -165,29 +165,29 @@ public class OauthApp extends TableImpl<OauthAppRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public OauthApp as(String alias) {
|
||||
return new OauthApp(DSL.name(alias), this);
|
||||
public OauthAppTable as(String alias) {
|
||||
return new OauthAppTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OauthApp as(Name alias) {
|
||||
return new OauthApp(alias, this);
|
||||
public OauthAppTable as(Name alias) {
|
||||
return new OauthAppTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OauthApp rename(String name) {
|
||||
return new OauthApp(DSL.name(name), null);
|
||||
public OauthAppTable rename(String name) {
|
||||
return new OauthAppTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OauthApp rename(Name name) {
|
||||
return new OauthApp(name, null);
|
||||
public OauthAppTable rename(Name name) {
|
||||
return new OauthAppTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -31,14 +31,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OperationLog extends TableImpl<OperationLogRecord> {
|
||||
public class OperationLogTable extends TableImpl<OperationLogRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.operation_log</code>
|
||||
*/
|
||||
public static final OperationLog OPERATION_LOG = new OperationLog();
|
||||
public static final OperationLogTable OPERATION_LOG = new OperationLogTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -119,36 +119,36 @@ public class OperationLog extends TableImpl<OperationLogRecord> {
|
||||
*/
|
||||
public final TableField<OperationLogRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private OperationLog(Name alias, Table<OperationLogRecord> aliased) {
|
||||
private OperationLogTable(Name alias, Table<OperationLogRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private OperationLog(Name alias, Table<OperationLogRecord> aliased, Field<?>[] parameters) {
|
||||
private OperationLogTable(Name alias, Table<OperationLogRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.operation_log</code> table reference
|
||||
*/
|
||||
public OperationLog(String alias) {
|
||||
public OperationLogTable(String alias) {
|
||||
this(DSL.name(alias), OPERATION_LOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.operation_log</code> table reference
|
||||
*/
|
||||
public OperationLog(Name alias) {
|
||||
public OperationLogTable(Name alias) {
|
||||
this(alias, OPERATION_LOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.operation_log</code> table reference
|
||||
*/
|
||||
public OperationLog() {
|
||||
public OperationLogTable() {
|
||||
this(DSL.name("operation_log"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> OperationLog(Table<O> child, ForeignKey<O, OperationLogRecord> key) {
|
||||
public <O extends Record> OperationLogTable(Table<O> child, ForeignKey<O, OperationLogRecord> key) {
|
||||
super(child, key, OPERATION_LOG);
|
||||
}
|
||||
|
||||
@@ -168,29 +168,29 @@ public class OperationLog extends TableImpl<OperationLogRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public OperationLog as(String alias) {
|
||||
return new OperationLog(DSL.name(alias), this);
|
||||
public OperationLogTable as(String alias) {
|
||||
return new OperationLogTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OperationLog as(Name alias) {
|
||||
return new OperationLog(alias, this);
|
||||
public OperationLogTable as(Name alias) {
|
||||
return new OperationLogTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OperationLog rename(String name) {
|
||||
return new OperationLog(DSL.name(name), null);
|
||||
public OperationLogTable rename(String name) {
|
||||
return new OperationLogTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OperationLog rename(Name name) {
|
||||
return new OperationLog(name, null);
|
||||
public OperationLogTable rename(Name name) {
|
||||
return new OperationLogTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -33,14 +33,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ProjectSyncRule extends TableImpl<ProjectSyncRuleRecord> {
|
||||
public class ProjectSyncRuleTable extends TableImpl<ProjectSyncRuleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.project_sync_rule</code>
|
||||
*/
|
||||
public static final ProjectSyncRule PROJECT_SYNC_RULE = new ProjectSyncRule();
|
||||
public static final ProjectSyncRuleTable PROJECT_SYNC_RULE = new ProjectSyncRuleTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -92,11 +92,11 @@ public class ProjectSyncRule extends TableImpl<ProjectSyncRuleRecord> {
|
||||
*/
|
||||
public final TableField<ProjectSyncRuleRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private ProjectSyncRule(Name alias, Table<ProjectSyncRuleRecord> aliased) {
|
||||
private ProjectSyncRuleTable(Name alias, Table<ProjectSyncRuleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ProjectSyncRule(Name alias, Table<ProjectSyncRuleRecord> aliased, Field<?>[] parameters) {
|
||||
private ProjectSyncRuleTable(Name alias, Table<ProjectSyncRuleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ public class ProjectSyncRule extends TableImpl<ProjectSyncRuleRecord> {
|
||||
* Create an aliased <code>databasir.project_sync_rule</code> table
|
||||
* reference
|
||||
*/
|
||||
public ProjectSyncRule(String alias) {
|
||||
public ProjectSyncRuleTable(String alias) {
|
||||
this(DSL.name(alias), PROJECT_SYNC_RULE);
|
||||
}
|
||||
|
||||
@@ -112,18 +112,18 @@ public class ProjectSyncRule extends TableImpl<ProjectSyncRuleRecord> {
|
||||
* Create an aliased <code>databasir.project_sync_rule</code> table
|
||||
* reference
|
||||
*/
|
||||
public ProjectSyncRule(Name alias) {
|
||||
public ProjectSyncRuleTable(Name alias) {
|
||||
this(alias, PROJECT_SYNC_RULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.project_sync_rule</code> table reference
|
||||
*/
|
||||
public ProjectSyncRule() {
|
||||
public ProjectSyncRuleTable() {
|
||||
this(DSL.name("project_sync_rule"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> ProjectSyncRule(Table<O> child, ForeignKey<O, ProjectSyncRuleRecord> key) {
|
||||
public <O extends Record> ProjectSyncRuleTable(Table<O> child, ForeignKey<O, ProjectSyncRuleRecord> key) {
|
||||
super(child, key, PROJECT_SYNC_RULE);
|
||||
}
|
||||
|
||||
@@ -148,29 +148,29 @@ public class ProjectSyncRule extends TableImpl<ProjectSyncRuleRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProjectSyncRule as(String alias) {
|
||||
return new ProjectSyncRule(DSL.name(alias), this);
|
||||
public ProjectSyncRuleTable as(String alias) {
|
||||
return new ProjectSyncRuleTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProjectSyncRule as(Name alias) {
|
||||
return new ProjectSyncRule(alias, this);
|
||||
public ProjectSyncRuleTable as(Name alias) {
|
||||
return new ProjectSyncRuleTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ProjectSyncRule rename(String name) {
|
||||
return new ProjectSyncRule(DSL.name(name), null);
|
||||
public ProjectSyncRuleTable rename(String name) {
|
||||
return new ProjectSyncRuleTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ProjectSyncRule rename(Name name) {
|
||||
return new ProjectSyncRule(name, null);
|
||||
public ProjectSyncRuleTable rename(Name name) {
|
||||
return new ProjectSyncRuleTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -36,14 +36,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ProjectSyncTask extends TableImpl<ProjectSyncTaskRecord> {
|
||||
public class ProjectSyncTaskTable extends TableImpl<ProjectSyncTaskRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.project_sync_task</code>
|
||||
*/
|
||||
public static final ProjectSyncTask PROJECT_SYNC_TASK = new ProjectSyncTask();
|
||||
public static final ProjectSyncTaskTable PROJECT_SYNC_TASK = new ProjectSyncTaskTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -94,11 +94,11 @@ public class ProjectSyncTask extends TableImpl<ProjectSyncTaskRecord> {
|
||||
*/
|
||||
public final TableField<ProjectSyncTaskRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private ProjectSyncTask(Name alias, Table<ProjectSyncTaskRecord> aliased) {
|
||||
private ProjectSyncTaskTable(Name alias, Table<ProjectSyncTaskRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ProjectSyncTask(Name alias, Table<ProjectSyncTaskRecord> aliased, Field<?>[] parameters) {
|
||||
private ProjectSyncTaskTable(Name alias, Table<ProjectSyncTaskRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ public class ProjectSyncTask extends TableImpl<ProjectSyncTaskRecord> {
|
||||
* Create an aliased <code>databasir.project_sync_task</code> table
|
||||
* reference
|
||||
*/
|
||||
public ProjectSyncTask(String alias) {
|
||||
public ProjectSyncTaskTable(String alias) {
|
||||
this(DSL.name(alias), PROJECT_SYNC_TASK);
|
||||
}
|
||||
|
||||
@@ -114,18 +114,18 @@ public class ProjectSyncTask extends TableImpl<ProjectSyncTaskRecord> {
|
||||
* Create an aliased <code>databasir.project_sync_task</code> table
|
||||
* reference
|
||||
*/
|
||||
public ProjectSyncTask(Name alias) {
|
||||
public ProjectSyncTaskTable(Name alias) {
|
||||
this(alias, PROJECT_SYNC_TASK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.project_sync_task</code> table reference
|
||||
*/
|
||||
public ProjectSyncTask() {
|
||||
public ProjectSyncTaskTable() {
|
||||
this(DSL.name("project_sync_task"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> ProjectSyncTask(Table<O> child, ForeignKey<O, ProjectSyncTaskRecord> key) {
|
||||
public <O extends Record> ProjectSyncTaskTable(Table<O> child, ForeignKey<O, ProjectSyncTaskRecord> key) {
|
||||
super(child, key, PROJECT_SYNC_TASK);
|
||||
}
|
||||
|
||||
@@ -150,29 +150,29 @@ public class ProjectSyncTask extends TableImpl<ProjectSyncTaskRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProjectSyncTask as(String alias) {
|
||||
return new ProjectSyncTask(DSL.name(alias), this);
|
||||
public ProjectSyncTaskTable as(String alias) {
|
||||
return new ProjectSyncTaskTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProjectSyncTask as(Name alias) {
|
||||
return new ProjectSyncTask(alias, this);
|
||||
public ProjectSyncTaskTable as(Name alias) {
|
||||
return new ProjectSyncTaskTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ProjectSyncTask rename(String name) {
|
||||
return new ProjectSyncTask(DSL.name(name), null);
|
||||
public ProjectSyncTaskTable rename(String name) {
|
||||
return new ProjectSyncTaskTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ProjectSyncTask rename(Name name) {
|
||||
return new ProjectSyncTask(name, null);
|
||||
public ProjectSyncTaskTable rename(Name name) {
|
||||
return new ProjectSyncTaskTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Project extends TableImpl<ProjectRecord> {
|
||||
public class ProjectTable extends TableImpl<ProjectRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.project</code>
|
||||
*/
|
||||
public static final Project PROJECT = new Project();
|
||||
public static final ProjectTable PROJECT = new ProjectTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -85,36 +85,36 @@ public class Project extends TableImpl<ProjectRecord> {
|
||||
*/
|
||||
public final TableField<ProjectRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private Project(Name alias, Table<ProjectRecord> aliased) {
|
||||
private ProjectTable(Name alias, Table<ProjectRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Project(Name alias, Table<ProjectRecord> aliased, Field<?>[] parameters) {
|
||||
private ProjectTable(Name alias, Table<ProjectRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.project</code> table reference
|
||||
*/
|
||||
public Project(String alias) {
|
||||
public ProjectTable(String alias) {
|
||||
this(DSL.name(alias), PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.project</code> table reference
|
||||
*/
|
||||
public Project(Name alias) {
|
||||
public ProjectTable(Name alias) {
|
||||
this(alias, PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.project</code> table reference
|
||||
*/
|
||||
public Project() {
|
||||
public ProjectTable() {
|
||||
this(DSL.name("project"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Project(Table<O> child, ForeignKey<O, ProjectRecord> key) {
|
||||
public <O extends Record> ProjectTable(Table<O> child, ForeignKey<O, ProjectRecord> key) {
|
||||
super(child, key, PROJECT);
|
||||
}
|
||||
|
||||
@@ -139,29 +139,29 @@ public class Project extends TableImpl<ProjectRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Project as(String alias) {
|
||||
return new Project(DSL.name(alias), this);
|
||||
public ProjectTable as(String alias) {
|
||||
return new ProjectTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Project as(Name alias) {
|
||||
return new Project(alias, this);
|
||||
public ProjectTable as(Name alias) {
|
||||
return new ProjectTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Project rename(String name) {
|
||||
return new Project(DSL.name(name), null);
|
||||
public ProjectTable rename(String name) {
|
||||
return new ProjectTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Project rename(Name name) {
|
||||
return new Project(name, null);
|
||||
public ProjectTable rename(Name name) {
|
||||
return new ProjectTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -30,14 +30,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SysKey extends TableImpl<SysKeyRecord> {
|
||||
public class SysKeyTable extends TableImpl<SysKeyRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.sys_key</code>
|
||||
*/
|
||||
public static final SysKey SYS_KEY = new SysKey();
|
||||
public static final SysKeyTable SYS_KEY = new SysKeyTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -77,36 +77,36 @@ public class SysKey extends TableImpl<SysKeyRecord> {
|
||||
*/
|
||||
public final TableField<SysKeyRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private SysKey(Name alias, Table<SysKeyRecord> aliased) {
|
||||
private SysKeyTable(Name alias, Table<SysKeyRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private SysKey(Name alias, Table<SysKeyRecord> aliased, Field<?>[] parameters) {
|
||||
private SysKeyTable(Name alias, Table<SysKeyRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.sys_key</code> table reference
|
||||
*/
|
||||
public SysKey(String alias) {
|
||||
public SysKeyTable(String alias) {
|
||||
this(DSL.name(alias), SYS_KEY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.sys_key</code> table reference
|
||||
*/
|
||||
public SysKey(Name alias) {
|
||||
public SysKeyTable(Name alias) {
|
||||
this(alias, SYS_KEY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.sys_key</code> table reference
|
||||
*/
|
||||
public SysKey() {
|
||||
public SysKeyTable() {
|
||||
this(DSL.name("sys_key"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> SysKey(Table<O> child, ForeignKey<O, SysKeyRecord> key) {
|
||||
public <O extends Record> SysKeyTable(Table<O> child, ForeignKey<O, SysKeyRecord> key) {
|
||||
super(child, key, SYS_KEY);
|
||||
}
|
||||
|
||||
@@ -126,29 +126,29 @@ public class SysKey extends TableImpl<SysKeyRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysKey as(String alias) {
|
||||
return new SysKey(DSL.name(alias), this);
|
||||
public SysKeyTable as(String alias) {
|
||||
return new SysKeyTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysKey as(Name alias) {
|
||||
return new SysKey(alias, this);
|
||||
public SysKeyTable as(Name alias) {
|
||||
return new SysKeyTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SysKey rename(String name) {
|
||||
return new SysKey(DSL.name(name), null);
|
||||
public SysKeyTable rename(String name) {
|
||||
return new SysKeyTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SysKey rename(Name name) {
|
||||
return new SysKey(name, null);
|
||||
public SysKeyTable rename(Name name) {
|
||||
return new SysKeyTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -30,14 +30,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SysMail extends TableImpl<SysMailRecord> {
|
||||
public class SysMailTable extends TableImpl<SysMailRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.sys_mail</code>
|
||||
*/
|
||||
public static final SysMail SYS_MAIL = new SysMail();
|
||||
public static final SysMailTable SYS_MAIL = new SysMailTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -87,36 +87,36 @@ public class SysMail extends TableImpl<SysMailRecord> {
|
||||
*/
|
||||
public final TableField<SysMailRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private SysMail(Name alias, Table<SysMailRecord> aliased) {
|
||||
private SysMailTable(Name alias, Table<SysMailRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private SysMail(Name alias, Table<SysMailRecord> aliased, Field<?>[] parameters) {
|
||||
private SysMailTable(Name alias, Table<SysMailRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.sys_mail</code> table reference
|
||||
*/
|
||||
public SysMail(String alias) {
|
||||
public SysMailTable(String alias) {
|
||||
this(DSL.name(alias), SYS_MAIL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.sys_mail</code> table reference
|
||||
*/
|
||||
public SysMail(Name alias) {
|
||||
public SysMailTable(Name alias) {
|
||||
this(alias, SYS_MAIL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.sys_mail</code> table reference
|
||||
*/
|
||||
public SysMail() {
|
||||
public SysMailTable() {
|
||||
this(DSL.name("sys_mail"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> SysMail(Table<O> child, ForeignKey<O, SysMailRecord> key) {
|
||||
public <O extends Record> SysMailTable(Table<O> child, ForeignKey<O, SysMailRecord> key) {
|
||||
super(child, key, SYS_MAIL);
|
||||
}
|
||||
|
||||
@@ -136,29 +136,29 @@ public class SysMail extends TableImpl<SysMailRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysMail as(String alias) {
|
||||
return new SysMail(DSL.name(alias), this);
|
||||
public SysMailTable as(String alias) {
|
||||
return new SysMailTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysMail as(Name alias) {
|
||||
return new SysMail(alias, this);
|
||||
public SysMailTable as(Name alias) {
|
||||
return new SysMailTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SysMail rename(String name) {
|
||||
return new SysMail(DSL.name(name), null);
|
||||
public SysMailTable rename(String name) {
|
||||
return new SysMailTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SysMail rename(Name name) {
|
||||
return new SysMail(name, null);
|
||||
public SysMailTable rename(Name name) {
|
||||
return new SysMailTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
|
||||
public class TableColumnDocumentTable extends TableImpl<TableColumnDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.table_column_document</code>
|
||||
*/
|
||||
public static final TableColumnDocument TABLE_COLUMN_DOCUMENT = new TableColumnDocument();
|
||||
public static final TableColumnDocumentTable TABLE_COLUMN_DOCUMENT = new TableColumnDocumentTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -125,11 +125,11 @@ public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
|
||||
*/
|
||||
public final TableField<TableColumnDocumentRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TableColumnDocument(Name alias, Table<TableColumnDocumentRecord> aliased) {
|
||||
private TableColumnDocumentTable(Name alias, Table<TableColumnDocumentRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TableColumnDocument(Name alias, Table<TableColumnDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
private TableColumnDocumentTable(Name alias, Table<TableColumnDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
|
||||
* Create an aliased <code>databasir.table_column_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableColumnDocument(String alias) {
|
||||
public TableColumnDocumentTable(String alias) {
|
||||
this(DSL.name(alias), TABLE_COLUMN_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -145,18 +145,18 @@ public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
|
||||
* Create an aliased <code>databasir.table_column_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableColumnDocument(Name alias) {
|
||||
public TableColumnDocumentTable(Name alias) {
|
||||
this(alias, TABLE_COLUMN_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.table_column_document</code> table reference
|
||||
*/
|
||||
public TableColumnDocument() {
|
||||
public TableColumnDocumentTable() {
|
||||
this(DSL.name("table_column_document"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TableColumnDocument(Table<O> child, ForeignKey<O, TableColumnDocumentRecord> key) {
|
||||
public <O extends Record> TableColumnDocumentTable(Table<O> child, ForeignKey<O, TableColumnDocumentRecord> key) {
|
||||
super(child, key, TABLE_COLUMN_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -181,29 +181,29 @@ public class TableColumnDocument extends TableImpl<TableColumnDocumentRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableColumnDocument as(String alias) {
|
||||
return new TableColumnDocument(DSL.name(alias), this);
|
||||
public TableColumnDocumentTable as(String alias) {
|
||||
return new TableColumnDocumentTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableColumnDocument as(Name alias) {
|
||||
return new TableColumnDocument(alias, this);
|
||||
public TableColumnDocumentTable as(Name alias) {
|
||||
return new TableColumnDocumentTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableColumnDocument rename(String name) {
|
||||
return new TableColumnDocument(DSL.name(name), null);
|
||||
public TableColumnDocumentTable rename(String name) {
|
||||
return new TableColumnDocumentTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableColumnDocument rename(Name name) {
|
||||
return new TableColumnDocument(name, null);
|
||||
public TableColumnDocumentTable rename(Name name) {
|
||||
return new TableColumnDocumentTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableDocument extends TableImpl<TableDocumentRecord> {
|
||||
public class TableDocumentTable extends TableImpl<TableDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.table_document</code>
|
||||
*/
|
||||
public static final TableDocument TABLE_DOCUMENT = new TableDocument();
|
||||
public static final TableDocumentTable TABLE_DOCUMENT = new TableDocumentTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -81,36 +81,36 @@ public class TableDocument extends TableImpl<TableDocumentRecord> {
|
||||
*/
|
||||
public final TableField<TableDocumentRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TableDocument(Name alias, Table<TableDocumentRecord> aliased) {
|
||||
private TableDocumentTable(Name alias, Table<TableDocumentRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TableDocument(Name alias, Table<TableDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
private TableDocumentTable(Name alias, Table<TableDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.table_document</code> table reference
|
||||
*/
|
||||
public TableDocument(String alias) {
|
||||
public TableDocumentTable(String alias) {
|
||||
this(DSL.name(alias), TABLE_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.table_document</code> table reference
|
||||
*/
|
||||
public TableDocument(Name alias) {
|
||||
public TableDocumentTable(Name alias) {
|
||||
this(alias, TABLE_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.table_document</code> table reference
|
||||
*/
|
||||
public TableDocument() {
|
||||
public TableDocumentTable() {
|
||||
this(DSL.name("table_document"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TableDocument(Table<O> child, ForeignKey<O, TableDocumentRecord> key) {
|
||||
public <O extends Record> TableDocumentTable(Table<O> child, ForeignKey<O, TableDocumentRecord> key) {
|
||||
super(child, key, TABLE_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -135,29 +135,29 @@ public class TableDocument extends TableImpl<TableDocumentRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableDocument as(String alias) {
|
||||
return new TableDocument(DSL.name(alias), this);
|
||||
public TableDocumentTable as(String alias) {
|
||||
return new TableDocumentTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableDocument as(Name alias) {
|
||||
return new TableDocument(alias, this);
|
||||
public TableDocumentTable as(Name alias) {
|
||||
return new TableDocumentTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableDocument rename(String name) {
|
||||
return new TableDocument(DSL.name(name), null);
|
||||
public TableDocumentTable rename(String name) {
|
||||
return new TableDocumentTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableDocument rename(Name name) {
|
||||
return new TableDocument(name, null);
|
||||
public TableDocumentTable rename(Name name) {
|
||||
return new TableDocumentTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,7 +34,7 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRecord> {
|
||||
public class TableForeignKeyDocumentTable extends TableImpl<TableForeignKeyDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -42,7 +42,7 @@ public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRe
|
||||
* The reference instance of
|
||||
* <code>databasir.table_foreign_key_document</code>
|
||||
*/
|
||||
public static final TableForeignKeyDocument TABLE_FOREIGN_KEY_DOCUMENT = new TableForeignKeyDocument();
|
||||
public static final TableForeignKeyDocumentTable TABLE_FOREIGN_KEY_DOCUMENT = new TableForeignKeyDocumentTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -125,11 +125,11 @@ public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRe
|
||||
*/
|
||||
public final TableField<TableForeignKeyDocumentRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TableForeignKeyDocument(Name alias, Table<TableForeignKeyDocumentRecord> aliased) {
|
||||
private TableForeignKeyDocumentTable(Name alias, Table<TableForeignKeyDocumentRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TableForeignKeyDocument(Name alias, Table<TableForeignKeyDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
private TableForeignKeyDocumentTable(Name alias, Table<TableForeignKeyDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRe
|
||||
* Create an aliased <code>databasir.table_foreign_key_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableForeignKeyDocument(String alias) {
|
||||
public TableForeignKeyDocumentTable(String alias) {
|
||||
this(DSL.name(alias), TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRe
|
||||
* Create an aliased <code>databasir.table_foreign_key_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableForeignKeyDocument(Name alias) {
|
||||
public TableForeignKeyDocumentTable(Name alias) {
|
||||
this(alias, TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -153,11 +153,11 @@ public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRe
|
||||
* Create a <code>databasir.table_foreign_key_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableForeignKeyDocument() {
|
||||
public TableForeignKeyDocumentTable() {
|
||||
this(DSL.name("table_foreign_key_document"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TableForeignKeyDocument(Table<O> child, ForeignKey<O, TableForeignKeyDocumentRecord> key) {
|
||||
public <O extends Record> TableForeignKeyDocumentTable(Table<O> child, ForeignKey<O, TableForeignKeyDocumentRecord> key) {
|
||||
super(child, key, TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -182,29 +182,29 @@ public class TableForeignKeyDocument extends TableImpl<TableForeignKeyDocumentRe
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableForeignKeyDocument as(String alias) {
|
||||
return new TableForeignKeyDocument(DSL.name(alias), this);
|
||||
public TableForeignKeyDocumentTable as(String alias) {
|
||||
return new TableForeignKeyDocumentTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableForeignKeyDocument as(Name alias) {
|
||||
return new TableForeignKeyDocument(alias, this);
|
||||
public TableForeignKeyDocumentTable as(Name alias) {
|
||||
return new TableForeignKeyDocumentTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableForeignKeyDocument rename(String name) {
|
||||
return new TableForeignKeyDocument(DSL.name(name), null);
|
||||
public TableForeignKeyDocumentTable rename(String name) {
|
||||
return new TableForeignKeyDocumentTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableForeignKeyDocument rename(Name name) {
|
||||
return new TableForeignKeyDocument(name, null);
|
||||
public TableForeignKeyDocumentTable rename(Name name) {
|
||||
return new TableForeignKeyDocumentTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -35,14 +35,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableIndexDocument extends TableImpl<TableIndexDocumentRecord> {
|
||||
public class TableIndexDocumentTable extends TableImpl<TableIndexDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.table_index_document</code>
|
||||
*/
|
||||
public static final TableIndexDocument TABLE_INDEX_DOCUMENT = new TableIndexDocument();
|
||||
public static final TableIndexDocumentTable TABLE_INDEX_DOCUMENT = new TableIndexDocumentTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -88,11 +88,11 @@ public class TableIndexDocument extends TableImpl<TableIndexDocumentRecord> {
|
||||
*/
|
||||
public final TableField<TableIndexDocumentRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TableIndexDocument(Name alias, Table<TableIndexDocumentRecord> aliased) {
|
||||
private TableIndexDocumentTable(Name alias, Table<TableIndexDocumentRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TableIndexDocument(Name alias, Table<TableIndexDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
private TableIndexDocumentTable(Name alias, Table<TableIndexDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ public class TableIndexDocument extends TableImpl<TableIndexDocumentRecord> {
|
||||
* Create an aliased <code>databasir.table_index_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableIndexDocument(String alias) {
|
||||
public TableIndexDocumentTable(String alias) {
|
||||
this(DSL.name(alias), TABLE_INDEX_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -108,18 +108,18 @@ public class TableIndexDocument extends TableImpl<TableIndexDocumentRecord> {
|
||||
* Create an aliased <code>databasir.table_index_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableIndexDocument(Name alias) {
|
||||
public TableIndexDocumentTable(Name alias) {
|
||||
this(alias, TABLE_INDEX_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.table_index_document</code> table reference
|
||||
*/
|
||||
public TableIndexDocument() {
|
||||
public TableIndexDocumentTable() {
|
||||
this(DSL.name("table_index_document"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TableIndexDocument(Table<O> child, ForeignKey<O, TableIndexDocumentRecord> key) {
|
||||
public <O extends Record> TableIndexDocumentTable(Table<O> child, ForeignKey<O, TableIndexDocumentRecord> key) {
|
||||
super(child, key, TABLE_INDEX_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -144,29 +144,29 @@ public class TableIndexDocument extends TableImpl<TableIndexDocumentRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableIndexDocument as(String alias) {
|
||||
return new TableIndexDocument(DSL.name(alias), this);
|
||||
public TableIndexDocumentTable as(String alias) {
|
||||
return new TableIndexDocumentTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableIndexDocument as(Name alias) {
|
||||
return new TableIndexDocument(alias, this);
|
||||
public TableIndexDocumentTable as(Name alias) {
|
||||
return new TableIndexDocumentTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableIndexDocument rename(String name) {
|
||||
return new TableIndexDocument(DSL.name(name), null);
|
||||
public TableIndexDocumentTable rename(String name) {
|
||||
return new TableIndexDocumentTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableIndexDocument rename(Name name) {
|
||||
return new TableIndexDocument(name, null);
|
||||
public TableIndexDocumentTable rename(Name name) {
|
||||
return new TableIndexDocumentTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -34,14 +34,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableTriggerDocument extends TableImpl<TableTriggerDocumentRecord> {
|
||||
public class TableTriggerDocumentTable extends TableImpl<TableTriggerDocumentRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.table_trigger_document</code>
|
||||
*/
|
||||
public static final TableTriggerDocument TABLE_TRIGGER_DOCUMENT = new TableTriggerDocument();
|
||||
public static final TableTriggerDocumentTable TABLE_TRIGGER_DOCUMENT = new TableTriggerDocumentTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -99,11 +99,11 @@ public class TableTriggerDocument extends TableImpl<TableTriggerDocumentRecord>
|
||||
*/
|
||||
public final TableField<TableTriggerDocumentRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private TableTriggerDocument(Name alias, Table<TableTriggerDocumentRecord> aliased) {
|
||||
private TableTriggerDocumentTable(Name alias, Table<TableTriggerDocumentRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TableTriggerDocument(Name alias, Table<TableTriggerDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
private TableTriggerDocumentTable(Name alias, Table<TableTriggerDocumentRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ public class TableTriggerDocument extends TableImpl<TableTriggerDocumentRecord>
|
||||
* Create an aliased <code>databasir.table_trigger_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableTriggerDocument(String alias) {
|
||||
public TableTriggerDocumentTable(String alias) {
|
||||
this(DSL.name(alias), TABLE_TRIGGER_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -119,18 +119,18 @@ public class TableTriggerDocument extends TableImpl<TableTriggerDocumentRecord>
|
||||
* Create an aliased <code>databasir.table_trigger_document</code> table
|
||||
* reference
|
||||
*/
|
||||
public TableTriggerDocument(Name alias) {
|
||||
public TableTriggerDocumentTable(Name alias) {
|
||||
this(alias, TABLE_TRIGGER_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.table_trigger_document</code> table reference
|
||||
*/
|
||||
public TableTriggerDocument() {
|
||||
public TableTriggerDocumentTable() {
|
||||
this(DSL.name("table_trigger_document"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> TableTriggerDocument(Table<O> child, ForeignKey<O, TableTriggerDocumentRecord> key) {
|
||||
public <O extends Record> TableTriggerDocumentTable(Table<O> child, ForeignKey<O, TableTriggerDocumentRecord> key) {
|
||||
super(child, key, TABLE_TRIGGER_DOCUMENT);
|
||||
}
|
||||
|
||||
@@ -155,29 +155,29 @@ public class TableTriggerDocument extends TableImpl<TableTriggerDocumentRecord>
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableTriggerDocument as(String alias) {
|
||||
return new TableTriggerDocument(DSL.name(alias), this);
|
||||
public TableTriggerDocumentTable as(String alias) {
|
||||
return new TableTriggerDocumentTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TableTriggerDocument as(Name alias) {
|
||||
return new TableTriggerDocument(alias, this);
|
||||
public TableTriggerDocumentTable as(Name alias) {
|
||||
return new TableTriggerDocumentTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableTriggerDocument rename(String name) {
|
||||
return new TableTriggerDocument(DSL.name(name), null);
|
||||
public TableTriggerDocumentTable rename(String name) {
|
||||
return new TableTriggerDocumentTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public TableTriggerDocument rename(Name name) {
|
||||
return new TableTriggerDocument(name, null);
|
||||
public TableTriggerDocumentTable rename(Name name) {
|
||||
return new TableTriggerDocumentTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserFavoriteProject extends TableImpl<UserFavoriteProjectRecord> {
|
||||
public class UserFavoriteProjectTable extends TableImpl<UserFavoriteProjectRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.user_favorite_project</code>
|
||||
*/
|
||||
public static final UserFavoriteProject USER_FAVORITE_PROJECT = new UserFavoriteProject();
|
||||
public static final UserFavoriteProjectTable USER_FAVORITE_PROJECT = new UserFavoriteProjectTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -69,11 +69,11 @@ public class UserFavoriteProject extends TableImpl<UserFavoriteProjectRecord> {
|
||||
*/
|
||||
public final TableField<UserFavoriteProjectRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private UserFavoriteProject(Name alias, Table<UserFavoriteProjectRecord> aliased) {
|
||||
private UserFavoriteProjectTable(Name alias, Table<UserFavoriteProjectRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private UserFavoriteProject(Name alias, Table<UserFavoriteProjectRecord> aliased, Field<?>[] parameters) {
|
||||
private UserFavoriteProjectTable(Name alias, Table<UserFavoriteProjectRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ public class UserFavoriteProject extends TableImpl<UserFavoriteProjectRecord> {
|
||||
* Create an aliased <code>databasir.user_favorite_project</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserFavoriteProject(String alias) {
|
||||
public UserFavoriteProjectTable(String alias) {
|
||||
this(DSL.name(alias), USER_FAVORITE_PROJECT);
|
||||
}
|
||||
|
||||
@@ -89,18 +89,18 @@ public class UserFavoriteProject extends TableImpl<UserFavoriteProjectRecord> {
|
||||
* Create an aliased <code>databasir.user_favorite_project</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserFavoriteProject(Name alias) {
|
||||
public UserFavoriteProjectTable(Name alias) {
|
||||
this(alias, USER_FAVORITE_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.user_favorite_project</code> table reference
|
||||
*/
|
||||
public UserFavoriteProject() {
|
||||
public UserFavoriteProjectTable() {
|
||||
this(DSL.name("user_favorite_project"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserFavoriteProject(Table<O> child, ForeignKey<O, UserFavoriteProjectRecord> key) {
|
||||
public <O extends Record> UserFavoriteProjectTable(Table<O> child, ForeignKey<O, UserFavoriteProjectRecord> key) {
|
||||
super(child, key, USER_FAVORITE_PROJECT);
|
||||
}
|
||||
|
||||
@@ -125,29 +125,29 @@ public class UserFavoriteProject extends TableImpl<UserFavoriteProjectRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserFavoriteProject as(String alias) {
|
||||
return new UserFavoriteProject(DSL.name(alias), this);
|
||||
public UserFavoriteProjectTable as(String alias) {
|
||||
return new UserFavoriteProjectTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserFavoriteProject as(Name alias) {
|
||||
return new UserFavoriteProject(alias, this);
|
||||
public UserFavoriteProjectTable as(Name alias) {
|
||||
return new UserFavoriteProjectTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserFavoriteProject rename(String name) {
|
||||
return new UserFavoriteProject(DSL.name(name), null);
|
||||
public UserFavoriteProjectTable rename(String name) {
|
||||
return new UserFavoriteProjectTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserFavoriteProject rename(Name name) {
|
||||
return new UserFavoriteProject(name, null);
|
||||
public UserFavoriteProjectTable rename(Name name) {
|
||||
return new UserFavoriteProjectTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRole extends TableImpl<UserRoleRecord> {
|
||||
public class UserRoleTable extends TableImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.user_role</code>
|
||||
*/
|
||||
public static final UserRole USER_ROLE = new UserRole();
|
||||
public static final UserRoleTable USER_ROLE = new UserRoleTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -75,36 +75,36 @@ public class UserRole extends TableImpl<UserRoleRecord> {
|
||||
*/
|
||||
public final TableField<UserRoleRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased) {
|
||||
private UserRoleTable(Name alias, Table<UserRoleRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased, Field<?>[] parameters) {
|
||||
private UserRoleTable(Name alias, Table<UserRoleRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(String alias) {
|
||||
public UserRoleTable(String alias) {
|
||||
this(DSL.name(alias), USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(Name alias) {
|
||||
public UserRoleTable(Name alias) {
|
||||
this(alias, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.user_role</code> table reference
|
||||
*/
|
||||
public UserRole() {
|
||||
public UserRoleTable() {
|
||||
this(DSL.name("user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserRole(Table<O> child, ForeignKey<O, UserRoleRecord> key) {
|
||||
public <O extends Record> UserRoleTable(Table<O> child, ForeignKey<O, UserRoleRecord> key) {
|
||||
super(child, key, USER_ROLE);
|
||||
}
|
||||
|
||||
@@ -129,29 +129,29 @@ public class UserRole extends TableImpl<UserRoleRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(String alias) {
|
||||
return new UserRole(DSL.name(alias), this);
|
||||
public UserRoleTable as(String alias) {
|
||||
return new UserRoleTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Name alias) {
|
||||
return new UserRole(alias, this);
|
||||
public UserRoleTable as(Name alias) {
|
||||
return new UserRoleTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(String name) {
|
||||
return new UserRole(DSL.name(name), null);
|
||||
public UserRoleTable rename(String name) {
|
||||
return new UserRoleTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Name name) {
|
||||
return new UserRole(name, null);
|
||||
public UserRoleTable rename(Name name) {
|
||||
return new UserRoleTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -32,14 +32,14 @@ import org.jooq.impl.TableImpl;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class User extends TableImpl<UserRecord> {
|
||||
public class UserTable extends TableImpl<UserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>databasir.user</code>
|
||||
*/
|
||||
public static final User USER = new User();
|
||||
public static final UserTable USER = new UserTable();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
@@ -104,36 +104,36 @@ public class User extends TableImpl<UserRecord> {
|
||||
*/
|
||||
public final TableField<UserRecord, LocalDateTime> CREATE_AT = createField(DSL.name("create_at"), SQLDataType.LOCALDATETIME(0).nullable(false).defaultValue(DSL.field("CURRENT_TIMESTAMP", SQLDataType.LOCALDATETIME)), this, "");
|
||||
|
||||
private User(Name alias, Table<UserRecord> aliased) {
|
||||
private UserTable(Name alias, Table<UserRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private User(Name alias, Table<UserRecord> aliased, Field<?>[] parameters) {
|
||||
private UserTable(Name alias, Table<UserRecord> aliased, Field<?>[] parameters) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.user</code> table reference
|
||||
*/
|
||||
public User(String alias) {
|
||||
public UserTable(String alias) {
|
||||
this(DSL.name(alias), USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>databasir.user</code> table reference
|
||||
*/
|
||||
public User(Name alias) {
|
||||
public UserTable(Name alias) {
|
||||
this(alias, USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>databasir.user</code> table reference
|
||||
*/
|
||||
public User() {
|
||||
public UserTable() {
|
||||
this(DSL.name("user"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> User(Table<O> child, ForeignKey<O, UserRecord> key) {
|
||||
public <O extends Record> UserTable(Table<O> child, ForeignKey<O, UserRecord> key) {
|
||||
super(child, key, USER);
|
||||
}
|
||||
|
||||
@@ -158,29 +158,29 @@ public class User extends TableImpl<UserRecord> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public User as(String alias) {
|
||||
return new User(DSL.name(alias), this);
|
||||
public UserTable as(String alias) {
|
||||
return new UserTable(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public User as(Name alias) {
|
||||
return new User(alias, this);
|
||||
public UserTable as(Name alias) {
|
||||
return new UserTable(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public User rename(String name) {
|
||||
return new User(DSL.name(name), null);
|
||||
public UserTable rename(String name) {
|
||||
return new UserTable(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public User rename(Name name) {
|
||||
return new User(name, null);
|
||||
public UserTable rename(Name name) {
|
||||
return new UserTable(name, null);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DataSourcePojo implements Serializable {
|
||||
public class DataSource implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -27,9 +27,9 @@ public class DataSourcePojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DataSourcePojo() {}
|
||||
public DataSource() {}
|
||||
|
||||
public DataSourcePojo(DataSourcePojo value) {
|
||||
public DataSource(DataSource value) {
|
||||
this.id = value.id;
|
||||
this.projectId = value.projectId;
|
||||
this.databaseName = value.databaseName;
|
||||
@@ -42,7 +42,7 @@ public class DataSourcePojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DataSourcePojo(
|
||||
public DataSource(
|
||||
Integer id,
|
||||
Integer projectId,
|
||||
String databaseName,
|
||||
@@ -208,7 +208,7 @@ public class DataSourcePojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DataSourcePojo (");
|
||||
StringBuilder sb = new StringBuilder("DataSource (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(projectId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DataSourcePropertyPojo implements Serializable {
|
||||
public class DataSourceProperty implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -22,9 +22,9 @@ public class DataSourcePropertyPojo implements Serializable {
|
||||
private String value;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DataSourcePropertyPojo() {}
|
||||
public DataSourceProperty() {}
|
||||
|
||||
public DataSourcePropertyPojo(DataSourcePropertyPojo value) {
|
||||
public DataSourceProperty(DataSourceProperty value) {
|
||||
this.id = value.id;
|
||||
this.dataSourceId = value.dataSourceId;
|
||||
this.key = value.key;
|
||||
@@ -32,7 +32,7 @@ public class DataSourcePropertyPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DataSourcePropertyPojo(
|
||||
public DataSourceProperty(
|
||||
Integer id,
|
||||
Integer dataSourceId,
|
||||
String key,
|
||||
@@ -118,7 +118,7 @@ public class DataSourcePropertyPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DataSourcePropertyPojo (");
|
||||
StringBuilder sb = new StringBuilder("DataSourceProperty (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(dataSourceId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DatabaseDocumentPojo implements Serializable {
|
||||
public class DatabaseDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -27,9 +27,9 @@ public class DatabaseDocumentPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DatabaseDocumentPojo() {}
|
||||
public DatabaseDocument() {}
|
||||
|
||||
public DatabaseDocumentPojo(DatabaseDocumentPojo value) {
|
||||
public DatabaseDocument(DatabaseDocument value) {
|
||||
this.id = value.id;
|
||||
this.projectId = value.projectId;
|
||||
this.databaseName = value.databaseName;
|
||||
@@ -42,7 +42,7 @@ public class DatabaseDocumentPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DatabaseDocumentPojo(
|
||||
public DatabaseDocument(
|
||||
Integer id,
|
||||
Integer projectId,
|
||||
String databaseName,
|
||||
@@ -208,7 +208,7 @@ public class DatabaseDocumentPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DatabaseDocumentPojo (");
|
||||
StringBuilder sb = new StringBuilder("DatabaseDocument (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(projectId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* customer database types
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DatabaseTypePojo implements Serializable {
|
||||
public class DatabaseType implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -30,9 +30,9 @@ public class DatabaseTypePojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DatabaseTypePojo() {}
|
||||
public DatabaseType() {}
|
||||
|
||||
public DatabaseTypePojo(DatabaseTypePojo value) {
|
||||
public DatabaseType(DatabaseType value) {
|
||||
this.id = value.id;
|
||||
this.databaseType = value.databaseType;
|
||||
this.icon = value.icon;
|
||||
@@ -48,7 +48,7 @@ public class DatabaseTypePojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DatabaseTypePojo(
|
||||
public DatabaseType(
|
||||
Integer id,
|
||||
String databaseType,
|
||||
String icon,
|
||||
@@ -264,7 +264,7 @@ public class DatabaseTypePojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DatabaseTypePojo (");
|
||||
StringBuilder sb = new StringBuilder("DatabaseType (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(databaseType);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* custom document description
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentDescriptionPojo implements Serializable {
|
||||
public class DocumentDescription implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -25,9 +25,9 @@ public class DocumentDescriptionPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DocumentDescriptionPojo() {}
|
||||
public DocumentDescription() {}
|
||||
|
||||
public DocumentDescriptionPojo(DocumentDescriptionPojo value) {
|
||||
public DocumentDescription(DocumentDescription value) {
|
||||
this.id = value.id;
|
||||
this.content = value.content;
|
||||
this.projectId = value.projectId;
|
||||
@@ -38,7 +38,7 @@ public class DocumentDescriptionPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DocumentDescriptionPojo(
|
||||
public DocumentDescription(
|
||||
Integer id,
|
||||
String content,
|
||||
Integer projectId,
|
||||
@@ -172,7 +172,7 @@ public class DocumentDescriptionPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DocumentDescriptionPojo (");
|
||||
StringBuilder sb = new StringBuilder("DocumentDescription (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(content);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentDiscussionPojo implements Serializable {
|
||||
public class DocumentDiscussion implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -24,9 +24,9 @@ public class DocumentDiscussionPojo implements Serializable {
|
||||
private String columnName;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DocumentDiscussionPojo() {}
|
||||
public DocumentDiscussion() {}
|
||||
|
||||
public DocumentDiscussionPojo(DocumentDiscussionPojo value) {
|
||||
public DocumentDiscussion(DocumentDiscussion value) {
|
||||
this.id = value.id;
|
||||
this.content = value.content;
|
||||
this.userId = value.userId;
|
||||
@@ -36,7 +36,7 @@ public class DocumentDiscussionPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DocumentDiscussionPojo(
|
||||
public DocumentDiscussion(
|
||||
Integer id,
|
||||
String content,
|
||||
Integer userId,
|
||||
@@ -154,7 +154,7 @@ public class DocumentDiscussionPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DocumentDiscussionPojo (");
|
||||
StringBuilder sb = new StringBuilder("DocumentDiscussion (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(content);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentFullTextPojo implements Serializable {
|
||||
public class DocumentFullText implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -40,9 +40,9 @@ public class DocumentFullTextPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DocumentFullTextPojo() {}
|
||||
public DocumentFullText() {}
|
||||
|
||||
public DocumentFullTextPojo(DocumentFullTextPojo value) {
|
||||
public DocumentFullText(DocumentFullText value) {
|
||||
this.id = value.id;
|
||||
this.groupId = value.groupId;
|
||||
this.projectId = value.projectId;
|
||||
@@ -68,7 +68,7 @@ public class DocumentFullTextPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DocumentFullTextPojo(
|
||||
public DocumentFullText(
|
||||
Integer id,
|
||||
Integer groupId,
|
||||
Integer projectId,
|
||||
@@ -462,7 +462,7 @@ public class DocumentFullTextPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DocumentFullTextPojo (");
|
||||
StringBuilder sb = new StringBuilder("DocumentFullText (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(groupId);
|
@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
|
||||
* template property
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DocumentTemplatePropertyPojo implements Serializable {
|
||||
public class DocumentTemplateProperty implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -25,9 +25,9 @@ public class DocumentTemplatePropertyPojo implements Serializable {
|
||||
private DocumentTemplatePropertyType type;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public DocumentTemplatePropertyPojo() {}
|
||||
public DocumentTemplateProperty() {}
|
||||
|
||||
public DocumentTemplatePropertyPojo(DocumentTemplatePropertyPojo value) {
|
||||
public DocumentTemplateProperty(DocumentTemplateProperty value) {
|
||||
this.id = value.id;
|
||||
this.key = value.key;
|
||||
this.value = value.value;
|
||||
@@ -36,7 +36,7 @@ public class DocumentTemplatePropertyPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public DocumentTemplatePropertyPojo(
|
||||
public DocumentTemplateProperty(
|
||||
Integer id,
|
||||
String key,
|
||||
String value,
|
||||
@@ -140,7 +140,7 @@ public class DocumentTemplatePropertyPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("DocumentTemplatePropertyPojo (");
|
||||
StringBuilder sb = new StringBuilder("DocumentTemplateProperty (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(key);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class GroupPojo implements Serializable {
|
||||
public class Group implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -23,9 +23,9 @@ public class GroupPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public GroupPojo() {}
|
||||
public Group() {}
|
||||
|
||||
public GroupPojo(GroupPojo value) {
|
||||
public Group(Group value) {
|
||||
this.id = value.id;
|
||||
this.name = value.name;
|
||||
this.description = value.description;
|
||||
@@ -34,7 +34,7 @@ public class GroupPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public GroupPojo(
|
||||
public Group(
|
||||
Integer id,
|
||||
String name,
|
||||
String description,
|
||||
@@ -136,7 +136,7 @@ public class GroupPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("GroupPojo (");
|
||||
StringBuilder sb = new StringBuilder("Group (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(name);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LoginPojo implements Serializable {
|
||||
public class Login implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -25,9 +25,9 @@ public class LoginPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public LoginPojo() {}
|
||||
public Login() {}
|
||||
|
||||
public LoginPojo(LoginPojo value) {
|
||||
public Login(Login value) {
|
||||
this.id = value.id;
|
||||
this.userId = value.userId;
|
||||
this.accessToken = value.accessToken;
|
||||
@@ -38,7 +38,7 @@ public class LoginPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public LoginPojo(
|
||||
public Login(
|
||||
Integer id,
|
||||
Integer userId,
|
||||
String accessToken,
|
||||
@@ -172,7 +172,7 @@ public class LoginPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("LoginPojo (");
|
||||
StringBuilder sb = new StringBuilder("Login (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(userId);
|
@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class MockDataRulePojo implements Serializable {
|
||||
public class MockDataRule implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -29,9 +29,9 @@ public class MockDataRulePojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public MockDataRulePojo() {}
|
||||
public MockDataRule() {}
|
||||
|
||||
public MockDataRulePojo(MockDataRulePojo value) {
|
||||
public MockDataRule(MockDataRule value) {
|
||||
this.id = value.id;
|
||||
this.projectId = value.projectId;
|
||||
this.tableName = value.tableName;
|
||||
@@ -44,7 +44,7 @@ public class MockDataRulePojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public MockDataRulePojo(
|
||||
public MockDataRule(
|
||||
Integer id,
|
||||
Integer projectId,
|
||||
String tableName,
|
||||
@@ -210,7 +210,7 @@ public class MockDataRulePojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("MockDataRulePojo (");
|
||||
StringBuilder sb = new StringBuilder("MockDataRule (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(projectId);
|
@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
|
||||
* oauth app info
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OauthAppPojo implements Serializable {
|
||||
public class OauthApp implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -31,9 +31,9 @@ public class OauthAppPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public OauthAppPojo() {}
|
||||
public OauthApp() {}
|
||||
|
||||
public OauthAppPojo(OauthAppPojo value) {
|
||||
public OauthApp(OauthApp value) {
|
||||
this.id = value.id;
|
||||
this.registrationId = value.registrationId;
|
||||
this.appName = value.appName;
|
||||
@@ -48,7 +48,7 @@ public class OauthAppPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public OauthAppPojo(
|
||||
public OauthApp(
|
||||
Integer id,
|
||||
String registrationId,
|
||||
String appName,
|
||||
@@ -246,7 +246,7 @@ public class OauthAppPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("OauthAppPojo (");
|
||||
StringBuilder sb = new StringBuilder("OauthApp (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(registrationId);
|
@@ -14,7 +14,7 @@ import org.jooq.JSON;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OperationLogPojo implements Serializable {
|
||||
public class OperationLog implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -32,9 +32,9 @@ public class OperationLogPojo implements Serializable {
|
||||
private Integer involvedUserId;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public OperationLogPojo() {}
|
||||
public OperationLog() {}
|
||||
|
||||
public OperationLogPojo(OperationLogPojo value) {
|
||||
public OperationLog(OperationLog value) {
|
||||
this.id = value.id;
|
||||
this.operatorUserId = value.operatorUserId;
|
||||
this.operatorUsername = value.operatorUsername;
|
||||
@@ -50,7 +50,7 @@ public class OperationLogPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public OperationLogPojo(
|
||||
public OperationLog(
|
||||
Long id,
|
||||
Integer operatorUserId,
|
||||
String operatorUsername,
|
||||
@@ -276,7 +276,7 @@ public class OperationLogPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("OperationLogPojo (");
|
||||
StringBuilder sb = new StringBuilder("OperationLog (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(operatorUserId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ProjectPojo implements Serializable {
|
||||
public class Project implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -24,9 +24,9 @@ public class ProjectPojo implements Serializable {
|
||||
private Integer deletedToken;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public ProjectPojo() {}
|
||||
public Project() {}
|
||||
|
||||
public ProjectPojo(ProjectPojo value) {
|
||||
public Project(Project value) {
|
||||
this.id = value.id;
|
||||
this.name = value.name;
|
||||
this.description = value.description;
|
||||
@@ -36,7 +36,7 @@ public class ProjectPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public ProjectPojo(
|
||||
public Project(
|
||||
Integer id,
|
||||
String name,
|
||||
String description,
|
||||
@@ -156,7 +156,7 @@ public class ProjectPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("ProjectPojo (");
|
||||
StringBuilder sb = new StringBuilder("Project (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(name);
|
@@ -14,7 +14,7 @@ import org.jooq.JSON;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ProjectSyncRulePojo implements Serializable {
|
||||
public class ProjectSyncRule implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -27,9 +27,9 @@ public class ProjectSyncRulePojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public ProjectSyncRulePojo() {}
|
||||
public ProjectSyncRule() {}
|
||||
|
||||
public ProjectSyncRulePojo(ProjectSyncRulePojo value) {
|
||||
public ProjectSyncRule(ProjectSyncRule value) {
|
||||
this.id = value.id;
|
||||
this.projectId = value.projectId;
|
||||
this.ignoreTableNameRegexArray = value.ignoreTableNameRegexArray;
|
||||
@@ -40,7 +40,7 @@ public class ProjectSyncRulePojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public ProjectSyncRulePojo(
|
||||
public ProjectSyncRule(
|
||||
Integer id,
|
||||
Integer projectId,
|
||||
JSON ignoreTableNameRegexArray,
|
||||
@@ -178,7 +178,7 @@ public class ProjectSyncRulePojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("ProjectSyncRulePojo (");
|
||||
StringBuilder sb = new StringBuilder("ProjectSyncRule (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(projectId);
|
@@ -14,7 +14,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ProjectSyncTaskPojo implements Serializable {
|
||||
public class ProjectSyncTask implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -27,9 +27,9 @@ public class ProjectSyncTaskPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public ProjectSyncTaskPojo() {}
|
||||
public ProjectSyncTask() {}
|
||||
|
||||
public ProjectSyncTaskPojo(ProjectSyncTaskPojo value) {
|
||||
public ProjectSyncTask(ProjectSyncTask value) {
|
||||
this.id = value.id;
|
||||
this.projectId = value.projectId;
|
||||
this.userId = value.userId;
|
||||
@@ -40,7 +40,7 @@ public class ProjectSyncTaskPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public ProjectSyncTaskPojo(
|
||||
public ProjectSyncTask(
|
||||
Integer id,
|
||||
Integer projectId,
|
||||
Integer userId,
|
||||
@@ -176,7 +176,7 @@ public class ProjectSyncTaskPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("ProjectSyncTaskPojo (");
|
||||
StringBuilder sb = new StringBuilder("ProjectSyncTask (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(projectId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SysKeyPojo implements Serializable {
|
||||
public class SysKey implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -23,9 +23,9 @@ public class SysKeyPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public SysKeyPojo() {}
|
||||
public SysKey() {}
|
||||
|
||||
public SysKeyPojo(SysKeyPojo value) {
|
||||
public SysKey(SysKey value) {
|
||||
this.id = value.id;
|
||||
this.rsaPublicKey = value.rsaPublicKey;
|
||||
this.rsaPrivateKey = value.rsaPrivateKey;
|
||||
@@ -34,7 +34,7 @@ public class SysKeyPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public SysKeyPojo(
|
||||
public SysKey(
|
||||
Integer id,
|
||||
String rsaPublicKey,
|
||||
String rsaPrivateKey,
|
||||
@@ -136,7 +136,7 @@ public class SysKeyPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SysKeyPojo (");
|
||||
StringBuilder sb = new StringBuilder("SysKey (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(rsaPublicKey);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SysMailPojo implements Serializable {
|
||||
public class SysMail implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -25,9 +25,9 @@ public class SysMailPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public SysMailPojo() {}
|
||||
public SysMail() {}
|
||||
|
||||
public SysMailPojo(SysMailPojo value) {
|
||||
public SysMail(SysMail value) {
|
||||
this.id = value.id;
|
||||
this.username = value.username;
|
||||
this.password = value.password;
|
||||
@@ -38,7 +38,7 @@ public class SysMailPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public SysMailPojo(
|
||||
public SysMail(
|
||||
Integer id,
|
||||
String username,
|
||||
String password,
|
||||
@@ -172,7 +172,7 @@ public class SysMailPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("SysMailPojo (");
|
||||
StringBuilder sb = new StringBuilder("SysMail (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(username);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableColumnDocumentPojo implements Serializable {
|
||||
public class TableColumnDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -31,9 +31,9 @@ public class TableColumnDocumentPojo implements Serializable {
|
||||
private String autoIncrement;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public TableColumnDocumentPojo() {}
|
||||
public TableColumnDocument() {}
|
||||
|
||||
public TableColumnDocumentPojo(TableColumnDocumentPojo value) {
|
||||
public TableColumnDocument(TableColumnDocument value) {
|
||||
this.id = value.id;
|
||||
this.tableDocumentId = value.tableDocumentId;
|
||||
this.databaseDocumentId = value.databaseDocumentId;
|
||||
@@ -50,7 +50,7 @@ public class TableColumnDocumentPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public TableColumnDocumentPojo(
|
||||
public TableColumnDocument(
|
||||
Integer id,
|
||||
Integer tableDocumentId,
|
||||
Integer databaseDocumentId,
|
||||
@@ -288,7 +288,7 @@ public class TableColumnDocumentPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TableColumnDocumentPojo (");
|
||||
StringBuilder sb = new StringBuilder("TableColumnDocument (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(tableDocumentId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableDocumentPojo implements Serializable {
|
||||
public class TableDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -23,9 +23,9 @@ public class TableDocumentPojo implements Serializable {
|
||||
private String comment;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public TableDocumentPojo() {}
|
||||
public TableDocument() {}
|
||||
|
||||
public TableDocumentPojo(TableDocumentPojo value) {
|
||||
public TableDocument(TableDocument value) {
|
||||
this.id = value.id;
|
||||
this.databaseDocumentId = value.databaseDocumentId;
|
||||
this.name = value.name;
|
||||
@@ -34,7 +34,7 @@ public class TableDocumentPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public TableDocumentPojo(
|
||||
public TableDocument(
|
||||
Integer id,
|
||||
Integer databaseDocumentId,
|
||||
String name,
|
||||
@@ -136,7 +136,7 @@ public class TableDocumentPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TableDocumentPojo (");
|
||||
StringBuilder sb = new StringBuilder("TableDocument (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(databaseDocumentId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableForeignKeyDocumentPojo implements Serializable {
|
||||
public class TableForeignKeyDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -30,9 +30,9 @@ public class TableForeignKeyDocumentPojo implements Serializable {
|
||||
private String deleteRule;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public TableForeignKeyDocumentPojo() {}
|
||||
public TableForeignKeyDocument() {}
|
||||
|
||||
public TableForeignKeyDocumentPojo(TableForeignKeyDocumentPojo value) {
|
||||
public TableForeignKeyDocument(TableForeignKeyDocument value) {
|
||||
this.id = value.id;
|
||||
this.tableDocumentId = value.tableDocumentId;
|
||||
this.databaseDocumentId = value.databaseDocumentId;
|
||||
@@ -48,7 +48,7 @@ public class TableForeignKeyDocumentPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public TableForeignKeyDocumentPojo(
|
||||
public TableForeignKeyDocument(
|
||||
Integer id,
|
||||
Integer tableDocumentId,
|
||||
Integer databaseDocumentId,
|
||||
@@ -278,7 +278,7 @@ public class TableForeignKeyDocumentPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TableForeignKeyDocumentPojo (");
|
||||
StringBuilder sb = new StringBuilder("TableForeignKeyDocument (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(tableDocumentId);
|
@@ -14,7 +14,7 @@ import org.jooq.JSON;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableIndexDocumentPojo implements Serializable {
|
||||
public class TableIndexDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -26,9 +26,9 @@ public class TableIndexDocumentPojo implements Serializable {
|
||||
private JSON columnNameArray;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public TableIndexDocumentPojo() {}
|
||||
public TableIndexDocument() {}
|
||||
|
||||
public TableIndexDocumentPojo(TableIndexDocumentPojo value) {
|
||||
public TableIndexDocument(TableIndexDocument value) {
|
||||
this.id = value.id;
|
||||
this.tableDocumentId = value.tableDocumentId;
|
||||
this.databaseDocumentId = value.databaseDocumentId;
|
||||
@@ -38,7 +38,7 @@ public class TableIndexDocumentPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public TableIndexDocumentPojo(
|
||||
public TableIndexDocument(
|
||||
Integer id,
|
||||
Integer tableDocumentId,
|
||||
Integer databaseDocumentId,
|
||||
@@ -158,7 +158,7 @@ public class TableIndexDocumentPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TableIndexDocumentPojo (");
|
||||
StringBuilder sb = new StringBuilder("TableIndexDocument (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(tableDocumentId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class TableTriggerDocumentPojo implements Serializable {
|
||||
public class TableTriggerDocument implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -26,9 +26,9 @@ public class TableTriggerDocumentPojo implements Serializable {
|
||||
private String triggerCreateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public TableTriggerDocumentPojo() {}
|
||||
public TableTriggerDocument() {}
|
||||
|
||||
public TableTriggerDocumentPojo(TableTriggerDocumentPojo value) {
|
||||
public TableTriggerDocument(TableTriggerDocument value) {
|
||||
this.id = value.id;
|
||||
this.name = value.name;
|
||||
this.tableDocumentId = value.tableDocumentId;
|
||||
@@ -40,7 +40,7 @@ public class TableTriggerDocumentPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public TableTriggerDocumentPojo(
|
||||
public TableTriggerDocument(
|
||||
Integer id,
|
||||
String name,
|
||||
Integer tableDocumentId,
|
||||
@@ -196,7 +196,7 @@ public class TableTriggerDocumentPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("TableTriggerDocumentPojo (");
|
||||
StringBuilder sb = new StringBuilder("TableTriggerDocument (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(name);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserPojo implements Serializable {
|
||||
public class User implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -28,9 +28,9 @@ public class UserPojo implements Serializable {
|
||||
private LocalDateTime updateAt;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public UserPojo() {}
|
||||
public User() {}
|
||||
|
||||
public UserPojo(UserPojo value) {
|
||||
public User(User value) {
|
||||
this.id = value.id;
|
||||
this.email = value.email;
|
||||
this.username = value.username;
|
||||
@@ -44,7 +44,7 @@ public class UserPojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public UserPojo(
|
||||
public User(
|
||||
Integer id,
|
||||
String email,
|
||||
String username,
|
||||
@@ -226,7 +226,7 @@ public class UserPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("UserPojo (");
|
||||
StringBuilder sb = new StringBuilder("User (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(email);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserFavoriteProjectPojo implements Serializable {
|
||||
public class UserFavoriteProject implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -21,16 +21,16 @@ public class UserFavoriteProjectPojo implements Serializable {
|
||||
private Integer projectId;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public UserFavoriteProjectPojo() {}
|
||||
public UserFavoriteProject() {}
|
||||
|
||||
public UserFavoriteProjectPojo(UserFavoriteProjectPojo value) {
|
||||
public UserFavoriteProject(UserFavoriteProject value) {
|
||||
this.id = value.id;
|
||||
this.userId = value.userId;
|
||||
this.projectId = value.projectId;
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public UserFavoriteProjectPojo(
|
||||
public UserFavoriteProject(
|
||||
Integer id,
|
||||
Integer userId,
|
||||
Integer projectId,
|
||||
@@ -100,7 +100,7 @@ public class UserFavoriteProjectPojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("UserFavoriteProjectPojo (");
|
||||
StringBuilder sb = new StringBuilder("UserFavoriteProject (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(userId);
|
@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRolePojo implements Serializable {
|
||||
public class UserRole implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -22,9 +22,9 @@ public class UserRolePojo implements Serializable {
|
||||
private Integer groupId;
|
||||
private LocalDateTime createAt;
|
||||
|
||||
public UserRolePojo() {}
|
||||
public UserRole() {}
|
||||
|
||||
public UserRolePojo(UserRolePojo value) {
|
||||
public UserRole(UserRole value) {
|
||||
this.id = value.id;
|
||||
this.userId = value.userId;
|
||||
this.role = value.role;
|
||||
@@ -32,7 +32,7 @@ public class UserRolePojo implements Serializable {
|
||||
this.createAt = value.createAt;
|
||||
}
|
||||
|
||||
public UserRolePojo(
|
||||
public UserRole(
|
||||
Integer id,
|
||||
Integer userId,
|
||||
String role,
|
||||
@@ -120,7 +120,7 @@ public class UserRolePojo implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder("UserRolePojo (");
|
||||
StringBuilder sb = new StringBuilder("UserRole (");
|
||||
|
||||
sb.append(id);
|
||||
sb.append(", ").append(userId);
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DataSourceProperty;
|
||||
import com.databasir.dao.tables.pojos.DataSourcePropertyPojo;
|
||||
import com.databasir.dao.tables.DataSourcePropertyTable;
|
||||
import com.databasir.dao.tables.pojos.DataSourceProperty;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -119,27 +119,27 @@ public class DataSourcePropertyRecord extends UpdatableRecordImpl<DataSourceProp
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DataSourceProperty.DATA_SOURCE_PROPERTY.ID;
|
||||
return DataSourcePropertyTable.DATA_SOURCE_PROPERTY.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return DataSourceProperty.DATA_SOURCE_PROPERTY.DATA_SOURCE_ID;
|
||||
return DataSourcePropertyTable.DATA_SOURCE_PROPERTY.DATA_SOURCE_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return DataSourceProperty.DATA_SOURCE_PROPERTY.KEY;
|
||||
return DataSourcePropertyTable.DATA_SOURCE_PROPERTY.KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return DataSourceProperty.DATA_SOURCE_PROPERTY.VALUE;
|
||||
return DataSourcePropertyTable.DATA_SOURCE_PROPERTY.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field5() {
|
||||
return DataSourceProperty.DATA_SOURCE_PROPERTY.CREATE_AT;
|
||||
return DataSourcePropertyTable.DATA_SOURCE_PROPERTY.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -240,14 +240,14 @@ public class DataSourcePropertyRecord extends UpdatableRecordImpl<DataSourceProp
|
||||
* Create a detached DataSourcePropertyRecord
|
||||
*/
|
||||
public DataSourcePropertyRecord() {
|
||||
super(DataSourceProperty.DATA_SOURCE_PROPERTY);
|
||||
super(DataSourcePropertyTable.DATA_SOURCE_PROPERTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DataSourcePropertyRecord
|
||||
*/
|
||||
public DataSourcePropertyRecord(Integer id, Integer dataSourceId, String key, String value, LocalDateTime createAt) {
|
||||
super(DataSourceProperty.DATA_SOURCE_PROPERTY);
|
||||
super(DataSourcePropertyTable.DATA_SOURCE_PROPERTY);
|
||||
|
||||
setId(id);
|
||||
setDataSourceId(dataSourceId);
|
||||
@@ -259,8 +259,8 @@ public class DataSourcePropertyRecord extends UpdatableRecordImpl<DataSourceProp
|
||||
/**
|
||||
* Create a detached, initialised DataSourcePropertyRecord
|
||||
*/
|
||||
public DataSourcePropertyRecord(DataSourcePropertyPojo value) {
|
||||
super(DataSourceProperty.DATA_SOURCE_PROPERTY);
|
||||
public DataSourcePropertyRecord(DataSourceProperty value) {
|
||||
super(DataSourcePropertyTable.DATA_SOURCE_PROPERTY);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DataSource;
|
||||
import com.databasir.dao.tables.pojos.DataSourcePojo;
|
||||
import com.databasir.dao.tables.DataSourceTable;
|
||||
import com.databasir.dao.tables.pojos.DataSource;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -189,52 +189,52 @@ public class DataSourceRecord extends UpdatableRecordImpl<DataSourceRecord> impl
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DataSource.DATA_SOURCE.ID;
|
||||
return DataSourceTable.DATA_SOURCE.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return DataSource.DATA_SOURCE.PROJECT_ID;
|
||||
return DataSourceTable.DATA_SOURCE.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return DataSource.DATA_SOURCE.DATABASE_NAME;
|
||||
return DataSourceTable.DATA_SOURCE.DATABASE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return DataSource.DATA_SOURCE.SCHEMA_NAME;
|
||||
return DataSourceTable.DATA_SOURCE.SCHEMA_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return DataSource.DATA_SOURCE.DATABASE_TYPE;
|
||||
return DataSourceTable.DATA_SOURCE.DATABASE_TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return DataSource.DATA_SOURCE.URL;
|
||||
return DataSourceTable.DATA_SOURCE.URL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return DataSource.DATA_SOURCE.USERNAME;
|
||||
return DataSourceTable.DATA_SOURCE.USERNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return DataSource.DATA_SOURCE.PASSWORD;
|
||||
return DataSourceTable.DATA_SOURCE.PASSWORD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field9() {
|
||||
return DataSource.DATA_SOURCE.UPDATE_AT;
|
||||
return DataSourceTable.DATA_SOURCE.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field10() {
|
||||
return DataSource.DATA_SOURCE.CREATE_AT;
|
||||
return DataSourceTable.DATA_SOURCE.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -420,14 +420,14 @@ public class DataSourceRecord extends UpdatableRecordImpl<DataSourceRecord> impl
|
||||
* Create a detached DataSourceRecord
|
||||
*/
|
||||
public DataSourceRecord() {
|
||||
super(DataSource.DATA_SOURCE);
|
||||
super(DataSourceTable.DATA_SOURCE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DataSourceRecord
|
||||
*/
|
||||
public DataSourceRecord(Integer id, Integer projectId, String databaseName, String schemaName, String databaseType, String url, String username, String password, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(DataSource.DATA_SOURCE);
|
||||
super(DataSourceTable.DATA_SOURCE);
|
||||
|
||||
setId(id);
|
||||
setProjectId(projectId);
|
||||
@@ -444,8 +444,8 @@ public class DataSourceRecord extends UpdatableRecordImpl<DataSourceRecord> impl
|
||||
/**
|
||||
* Create a detached, initialised DataSourceRecord
|
||||
*/
|
||||
public DataSourceRecord(DataSourcePojo value) {
|
||||
super(DataSource.DATA_SOURCE);
|
||||
public DataSourceRecord(DataSource value) {
|
||||
super(DataSourceTable.DATA_SOURCE);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DatabaseDocument;
|
||||
import com.databasir.dao.tables.pojos.DatabaseDocumentPojo;
|
||||
import com.databasir.dao.tables.DatabaseDocumentTable;
|
||||
import com.databasir.dao.tables.pojos.DatabaseDocument;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -189,52 +189,52 @@ public class DatabaseDocumentRecord extends UpdatableRecordImpl<DatabaseDocument
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.ID;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.PROJECT_ID;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.DATABASE_NAME;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.DATABASE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.SCHEMA_NAME;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.SCHEMA_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.PRODUCT_NAME;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.PRODUCT_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.PRODUCT_VERSION;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.PRODUCT_VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Long> field7() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.VERSION;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field8() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.IS_ARCHIVE;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.IS_ARCHIVE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field9() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.UPDATE_AT;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field10() {
|
||||
return DatabaseDocument.DATABASE_DOCUMENT.CREATE_AT;
|
||||
return DatabaseDocumentTable.DATABASE_DOCUMENT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -420,14 +420,14 @@ public class DatabaseDocumentRecord extends UpdatableRecordImpl<DatabaseDocument
|
||||
* Create a detached DatabaseDocumentRecord
|
||||
*/
|
||||
public DatabaseDocumentRecord() {
|
||||
super(DatabaseDocument.DATABASE_DOCUMENT);
|
||||
super(DatabaseDocumentTable.DATABASE_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DatabaseDocumentRecord
|
||||
*/
|
||||
public DatabaseDocumentRecord(Integer id, Integer projectId, String databaseName, String schemaName, String productName, String productVersion, Long version, Boolean isArchive, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(DatabaseDocument.DATABASE_DOCUMENT);
|
||||
super(DatabaseDocumentTable.DATABASE_DOCUMENT);
|
||||
|
||||
setId(id);
|
||||
setProjectId(projectId);
|
||||
@@ -444,8 +444,8 @@ public class DatabaseDocumentRecord extends UpdatableRecordImpl<DatabaseDocument
|
||||
/**
|
||||
* Create a detached, initialised DatabaseDocumentRecord
|
||||
*/
|
||||
public DatabaseDocumentRecord(DatabaseDocumentPojo value) {
|
||||
super(DatabaseDocument.DATABASE_DOCUMENT);
|
||||
public DatabaseDocumentRecord(DatabaseDocument value) {
|
||||
super(DatabaseDocumentTable.DATABASE_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DatabaseType;
|
||||
import com.databasir.dao.tables.pojos.DatabaseTypePojo;
|
||||
import com.databasir.dao.tables.DatabaseTypeTable;
|
||||
import com.databasir.dao.tables.pojos.DatabaseType;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -233,67 +233,67 @@ public class DatabaseTypeRecord extends UpdatableRecordImpl<DatabaseTypeRecord>
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DatabaseType.DATABASE_TYPE.ID;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return DatabaseType.DATABASE_TYPE.DATABASE_TYPE_;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.DATABASE_TYPE_;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return DatabaseType.DATABASE_TYPE.ICON;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.ICON;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return DatabaseType.DATABASE_TYPE.DESCRIPTION;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.DESCRIPTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return DatabaseType.DATABASE_TYPE.JDBC_DRIVER_FILE_URL;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.JDBC_DRIVER_FILE_URL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return DatabaseType.DATABASE_TYPE.JDBC_DRIVER_FILE_PATH;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.JDBC_DRIVER_FILE_PATH;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return DatabaseType.DATABASE_TYPE.JDBC_DRIVER_CLASS_NAME;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.JDBC_DRIVER_CLASS_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return DatabaseType.DATABASE_TYPE.JDBC_PROTOCOL;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.JDBC_PROTOCOL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field9() {
|
||||
return DatabaseType.DATABASE_TYPE.URL_PATTERN;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.URL_PATTERN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field10() {
|
||||
return DatabaseType.DATABASE_TYPE.DELETED;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.DELETED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field11() {
|
||||
return DatabaseType.DATABASE_TYPE.DELETED_TOKEN;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.DELETED_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field12() {
|
||||
return DatabaseType.DATABASE_TYPE.UPDATE_AT;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field13() {
|
||||
return DatabaseType.DATABASE_TYPE.CREATE_AT;
|
||||
return DatabaseTypeTable.DATABASE_TYPE.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -530,14 +530,14 @@ public class DatabaseTypeRecord extends UpdatableRecordImpl<DatabaseTypeRecord>
|
||||
* Create a detached DatabaseTypeRecord
|
||||
*/
|
||||
public DatabaseTypeRecord() {
|
||||
super(DatabaseType.DATABASE_TYPE);
|
||||
super(DatabaseTypeTable.DATABASE_TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DatabaseTypeRecord
|
||||
*/
|
||||
public DatabaseTypeRecord(Integer id, String databaseType, String icon, String description, String jdbcDriverFileUrl, String jdbcDriverFilePath, String jdbcDriverClassName, String jdbcProtocol, String urlPattern, Boolean deleted, Integer deletedToken, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(DatabaseType.DATABASE_TYPE);
|
||||
super(DatabaseTypeTable.DATABASE_TYPE);
|
||||
|
||||
setId(id);
|
||||
setDatabaseType(databaseType);
|
||||
@@ -557,8 +557,8 @@ public class DatabaseTypeRecord extends UpdatableRecordImpl<DatabaseTypeRecord>
|
||||
/**
|
||||
* Create a detached, initialised DatabaseTypeRecord
|
||||
*/
|
||||
public DatabaseTypeRecord(DatabaseTypePojo value) {
|
||||
super(DatabaseType.DATABASE_TYPE);
|
||||
public DatabaseTypeRecord(DatabaseType value) {
|
||||
super(DatabaseTypeTable.DATABASE_TYPE);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DocumentDescription;
|
||||
import com.databasir.dao.tables.pojos.DocumentDescriptionPojo;
|
||||
import com.databasir.dao.tables.DocumentDescriptionTable;
|
||||
import com.databasir.dao.tables.pojos.DocumentDescription;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -161,42 +161,42 @@ public class DocumentDescriptionRecord extends UpdatableRecordImpl<DocumentDescr
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.ID;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.CONTENT;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.CONTENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.PROJECT_ID;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.TABLE_NAME;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.TABLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.COLUMN_NAME;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.COLUMN_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.UPDATE_BY;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.UPDATE_BY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.UPDATE_AT;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field8() {
|
||||
return DocumentDescription.DOCUMENT_DESCRIPTION.CREATE_AT;
|
||||
return DocumentDescriptionTable.DOCUMENT_DESCRIPTION.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -348,14 +348,14 @@ public class DocumentDescriptionRecord extends UpdatableRecordImpl<DocumentDescr
|
||||
* Create a detached DocumentDescriptionRecord
|
||||
*/
|
||||
public DocumentDescriptionRecord() {
|
||||
super(DocumentDescription.DOCUMENT_DESCRIPTION);
|
||||
super(DocumentDescriptionTable.DOCUMENT_DESCRIPTION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DocumentDescriptionRecord
|
||||
*/
|
||||
public DocumentDescriptionRecord(Integer id, String content, Integer projectId, String tableName, String columnName, Integer updateBy, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(DocumentDescription.DOCUMENT_DESCRIPTION);
|
||||
super(DocumentDescriptionTable.DOCUMENT_DESCRIPTION);
|
||||
|
||||
setId(id);
|
||||
setContent(content);
|
||||
@@ -370,8 +370,8 @@ public class DocumentDescriptionRecord extends UpdatableRecordImpl<DocumentDescr
|
||||
/**
|
||||
* Create a detached, initialised DocumentDescriptionRecord
|
||||
*/
|
||||
public DocumentDescriptionRecord(DocumentDescriptionPojo value) {
|
||||
super(DocumentDescription.DOCUMENT_DESCRIPTION);
|
||||
public DocumentDescriptionRecord(DocumentDescription value) {
|
||||
super(DocumentDescriptionTable.DOCUMENT_DESCRIPTION);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DocumentDiscussion;
|
||||
import com.databasir.dao.tables.pojos.DocumentDiscussionPojo;
|
||||
import com.databasir.dao.tables.DocumentDiscussionTable;
|
||||
import com.databasir.dao.tables.pojos.DocumentDiscussion;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -147,37 +147,37 @@ public class DocumentDiscussionRecord extends UpdatableRecordImpl<DocumentDiscus
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.ID;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.CONTENT;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.CONTENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.USER_ID;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.PROJECT_ID;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.TABLE_NAME;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.TABLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.COLUMN_NAME;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.COLUMN_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return DocumentDiscussion.DOCUMENT_DISCUSSION.CREATE_AT;
|
||||
return DocumentDiscussionTable.DOCUMENT_DISCUSSION.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -312,14 +312,14 @@ public class DocumentDiscussionRecord extends UpdatableRecordImpl<DocumentDiscus
|
||||
* Create a detached DocumentDiscussionRecord
|
||||
*/
|
||||
public DocumentDiscussionRecord() {
|
||||
super(DocumentDiscussion.DOCUMENT_DISCUSSION);
|
||||
super(DocumentDiscussionTable.DOCUMENT_DISCUSSION);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DocumentDiscussionRecord
|
||||
*/
|
||||
public DocumentDiscussionRecord(Integer id, String content, Integer userId, Integer projectId, String tableName, String columnName, LocalDateTime createAt) {
|
||||
super(DocumentDiscussion.DOCUMENT_DISCUSSION);
|
||||
super(DocumentDiscussionTable.DOCUMENT_DISCUSSION);
|
||||
|
||||
setId(id);
|
||||
setContent(content);
|
||||
@@ -333,8 +333,8 @@ public class DocumentDiscussionRecord extends UpdatableRecordImpl<DocumentDiscus
|
||||
/**
|
||||
* Create a detached, initialised DocumentDiscussionRecord
|
||||
*/
|
||||
public DocumentDiscussionRecord(DocumentDiscussionPojo value) {
|
||||
super(DocumentDiscussion.DOCUMENT_DISCUSSION);
|
||||
public DocumentDiscussionRecord(DocumentDiscussion value) {
|
||||
super(DocumentDiscussionTable.DOCUMENT_DISCUSSION);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.DocumentFullText;
|
||||
import com.databasir.dao.tables.pojos.DocumentFullTextPojo;
|
||||
import com.databasir.dao.tables.DocumentFullTextTable;
|
||||
import com.databasir.dao.tables.pojos.DocumentFullText;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -380,14 +380,14 @@ public class DocumentFullTextRecord extends UpdatableRecordImpl<DocumentFullText
|
||||
* Create a detached DocumentFullTextRecord
|
||||
*/
|
||||
public DocumentFullTextRecord() {
|
||||
super(DocumentFullText.DOCUMENT_FULL_TEXT);
|
||||
super(DocumentFullTextTable.DOCUMENT_FULL_TEXT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DocumentFullTextRecord
|
||||
*/
|
||||
public DocumentFullTextRecord(Integer id, Integer groupId, Integer projectId, Integer databaseDocumentId, Integer databaseDocumentVersion, Integer tableDocumentId, Integer tableColumnDocumentId, String groupName, String groupDescription, String projectName, String projectDescription, String databaseName, String schemaName, String databaseProductName, String databaseType, String tableName, String tableComment, String tableDescription, String colName, String colComment, String colDescription, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(DocumentFullText.DOCUMENT_FULL_TEXT);
|
||||
super(DocumentFullTextTable.DOCUMENT_FULL_TEXT);
|
||||
|
||||
setId(id);
|
||||
setGroupId(groupId);
|
||||
@@ -417,8 +417,8 @@ public class DocumentFullTextRecord extends UpdatableRecordImpl<DocumentFullText
|
||||
/**
|
||||
* Create a detached, initialised DocumentFullTextRecord
|
||||
*/
|
||||
public DocumentFullTextRecord(DocumentFullTextPojo value) {
|
||||
super(DocumentFullText.DOCUMENT_FULL_TEXT);
|
||||
public DocumentFullTextRecord(DocumentFullText value) {
|
||||
super(DocumentFullTextTable.DOCUMENT_FULL_TEXT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -5,8 +5,8 @@ package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.enums.DocumentTemplatePropertyType;
|
||||
import com.databasir.dao.tables.DocumentTemplateProperty;
|
||||
import com.databasir.dao.tables.pojos.DocumentTemplatePropertyPojo;
|
||||
import com.databasir.dao.tables.DocumentTemplatePropertyTable;
|
||||
import com.databasir.dao.tables.pojos.DocumentTemplateProperty;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -136,32 +136,32 @@ public class DocumentTemplatePropertyRecord extends UpdatableRecordImpl<Document
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.ID;
|
||||
return DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.KEY;
|
||||
return DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.VALUE;
|
||||
return DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.DEFAULT_VALUE;
|
||||
return DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.DEFAULT_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<DocumentTemplatePropertyType> field5() {
|
||||
return DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.TYPE;
|
||||
return DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY.CREATE_AT;
|
||||
return DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -279,14 +279,14 @@ public class DocumentTemplatePropertyRecord extends UpdatableRecordImpl<Document
|
||||
* Create a detached DocumentTemplatePropertyRecord
|
||||
*/
|
||||
public DocumentTemplatePropertyRecord() {
|
||||
super(DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY);
|
||||
super(DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DocumentTemplatePropertyRecord
|
||||
*/
|
||||
public DocumentTemplatePropertyRecord(Integer id, String key, String value, String defaultValue, DocumentTemplatePropertyType type, LocalDateTime createAt) {
|
||||
super(DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY);
|
||||
super(DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY);
|
||||
|
||||
setId(id);
|
||||
setKey(key);
|
||||
@@ -299,8 +299,8 @@ public class DocumentTemplatePropertyRecord extends UpdatableRecordImpl<Document
|
||||
/**
|
||||
* Create a detached, initialised DocumentTemplatePropertyRecord
|
||||
*/
|
||||
public DocumentTemplatePropertyRecord(DocumentTemplatePropertyPojo value) {
|
||||
super(DocumentTemplateProperty.DOCUMENT_TEMPLATE_PROPERTY);
|
||||
public DocumentTemplatePropertyRecord(DocumentTemplateProperty value) {
|
||||
super(DocumentTemplatePropertyTable.DOCUMENT_TEMPLATE_PROPERTY);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.Group;
|
||||
import com.databasir.dao.tables.pojos.GroupPojo;
|
||||
import com.databasir.dao.tables.GroupTable;
|
||||
import com.databasir.dao.tables.pojos.Group;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -133,32 +133,32 @@ public class GroupRecord extends UpdatableRecordImpl<GroupRecord> implements Rec
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Group.GROUP.ID;
|
||||
return GroupTable.GROUP.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Group.GROUP.NAME;
|
||||
return GroupTable.GROUP.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Group.GROUP.DESCRIPTION;
|
||||
return GroupTable.GROUP.DESCRIPTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field4() {
|
||||
return Group.GROUP.DELETED;
|
||||
return GroupTable.GROUP.DELETED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field5() {
|
||||
return Group.GROUP.UPDATE_AT;
|
||||
return GroupTable.GROUP.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return Group.GROUP.CREATE_AT;
|
||||
return GroupTable.GROUP.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -276,14 +276,14 @@ public class GroupRecord extends UpdatableRecordImpl<GroupRecord> implements Rec
|
||||
* Create a detached GroupRecord
|
||||
*/
|
||||
public GroupRecord() {
|
||||
super(Group.GROUP);
|
||||
super(GroupTable.GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised GroupRecord
|
||||
*/
|
||||
public GroupRecord(Integer id, String name, String description, Boolean deleted, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(Group.GROUP);
|
||||
super(GroupTable.GROUP);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
@@ -296,8 +296,8 @@ public class GroupRecord extends UpdatableRecordImpl<GroupRecord> implements Rec
|
||||
/**
|
||||
* Create a detached, initialised GroupRecord
|
||||
*/
|
||||
public GroupRecord(GroupPojo value) {
|
||||
super(Group.GROUP);
|
||||
public GroupRecord(Group value) {
|
||||
super(GroupTable.GROUP);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.Login;
|
||||
import com.databasir.dao.tables.pojos.LoginPojo;
|
||||
import com.databasir.dao.tables.LoginTable;
|
||||
import com.databasir.dao.tables.pojos.Login;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -161,42 +161,42 @@ public class LoginRecord extends UpdatableRecordImpl<LoginRecord> implements Rec
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Login.LOGIN.ID;
|
||||
return LoginTable.LOGIN.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return Login.LOGIN.USER_ID;
|
||||
return LoginTable.LOGIN.USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Login.LOGIN.ACCESS_TOKEN;
|
||||
return LoginTable.LOGIN.ACCESS_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return Login.LOGIN.REFRESH_TOKEN;
|
||||
return LoginTable.LOGIN.REFRESH_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field5() {
|
||||
return Login.LOGIN.ACCESS_TOKEN_EXPIRE_AT;
|
||||
return LoginTable.LOGIN.ACCESS_TOKEN_EXPIRE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return Login.LOGIN.REFRESH_TOKEN_EXPIRE_AT;
|
||||
return LoginTable.LOGIN.REFRESH_TOKEN_EXPIRE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return Login.LOGIN.UPDATE_AT;
|
||||
return LoginTable.LOGIN.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field8() {
|
||||
return Login.LOGIN.CREATE_AT;
|
||||
return LoginTable.LOGIN.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -348,14 +348,14 @@ public class LoginRecord extends UpdatableRecordImpl<LoginRecord> implements Rec
|
||||
* Create a detached LoginRecord
|
||||
*/
|
||||
public LoginRecord() {
|
||||
super(Login.LOGIN);
|
||||
super(LoginTable.LOGIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LoginRecord
|
||||
*/
|
||||
public LoginRecord(Integer id, Integer userId, String accessToken, String refreshToken, LocalDateTime accessTokenExpireAt, LocalDateTime refreshTokenExpireAt, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(Login.LOGIN);
|
||||
super(LoginTable.LOGIN);
|
||||
|
||||
setId(id);
|
||||
setUserId(userId);
|
||||
@@ -370,8 +370,8 @@ public class LoginRecord extends UpdatableRecordImpl<LoginRecord> implements Rec
|
||||
/**
|
||||
* Create a detached, initialised LoginRecord
|
||||
*/
|
||||
public LoginRecord(LoginPojo value) {
|
||||
super(Login.LOGIN);
|
||||
public LoginRecord(Login value) {
|
||||
super(LoginTable.LOGIN);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -5,8 +5,8 @@ package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.enums.MockDataType;
|
||||
import com.databasir.dao.tables.MockDataRule;
|
||||
import com.databasir.dao.tables.pojos.MockDataRulePojo;
|
||||
import com.databasir.dao.tables.MockDataRuleTable;
|
||||
import com.databasir.dao.tables.pojos.MockDataRule;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -190,52 +190,52 @@ public class MockDataRuleRecord extends UpdatableRecordImpl<MockDataRuleRecord>
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return MockDataRule.MOCK_DATA_RULE.ID;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return MockDataRule.MOCK_DATA_RULE.PROJECT_ID;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return MockDataRule.MOCK_DATA_RULE.TABLE_NAME;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.TABLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return MockDataRule.MOCK_DATA_RULE.COLUMN_NAME;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.COLUMN_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return MockDataRule.MOCK_DATA_RULE.DEPENDENT_TABLE_NAME;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.DEPENDENT_TABLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return MockDataRule.MOCK_DATA_RULE.DEPENDENT_COLUMN_NAME;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.DEPENDENT_COLUMN_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<MockDataType> field7() {
|
||||
return MockDataRule.MOCK_DATA_RULE.MOCK_DATA_TYPE;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.MOCK_DATA_TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return MockDataRule.MOCK_DATA_RULE.MOCK_DATA_SCRIPT;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.MOCK_DATA_SCRIPT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field9() {
|
||||
return MockDataRule.MOCK_DATA_RULE.UPDATE_AT;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field10() {
|
||||
return MockDataRule.MOCK_DATA_RULE.CREATE_AT;
|
||||
return MockDataRuleTable.MOCK_DATA_RULE.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -421,14 +421,14 @@ public class MockDataRuleRecord extends UpdatableRecordImpl<MockDataRuleRecord>
|
||||
* Create a detached MockDataRuleRecord
|
||||
*/
|
||||
public MockDataRuleRecord() {
|
||||
super(MockDataRule.MOCK_DATA_RULE);
|
||||
super(MockDataRuleTable.MOCK_DATA_RULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised MockDataRuleRecord
|
||||
*/
|
||||
public MockDataRuleRecord(Integer id, Integer projectId, String tableName, String columnName, String dependentTableName, String dependentColumnName, MockDataType mockDataType, String mockDataScript, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(MockDataRule.MOCK_DATA_RULE);
|
||||
super(MockDataRuleTable.MOCK_DATA_RULE);
|
||||
|
||||
setId(id);
|
||||
setProjectId(projectId);
|
||||
@@ -445,8 +445,8 @@ public class MockDataRuleRecord extends UpdatableRecordImpl<MockDataRuleRecord>
|
||||
/**
|
||||
* Create a detached, initialised MockDataRuleRecord
|
||||
*/
|
||||
public MockDataRuleRecord(MockDataRulePojo value) {
|
||||
super(MockDataRule.MOCK_DATA_RULE);
|
||||
public MockDataRuleRecord(MockDataRule value) {
|
||||
super(MockDataRuleTable.MOCK_DATA_RULE);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -5,8 +5,8 @@ package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.enums.OAuthAppType;
|
||||
import com.databasir.dao.tables.OauthApp;
|
||||
import com.databasir.dao.tables.pojos.OauthAppPojo;
|
||||
import com.databasir.dao.tables.OauthAppTable;
|
||||
import com.databasir.dao.tables.pojos.OauthApp;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -218,62 +218,62 @@ public class OauthAppRecord extends UpdatableRecordImpl<OauthAppRecord> implemen
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return OauthApp.OAUTH_APP.ID;
|
||||
return OauthAppTable.OAUTH_APP.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return OauthApp.OAUTH_APP.REGISTRATION_ID;
|
||||
return OauthAppTable.OAUTH_APP.REGISTRATION_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return OauthApp.OAUTH_APP.APP_NAME;
|
||||
return OauthAppTable.OAUTH_APP.APP_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return OauthApp.OAUTH_APP.APP_ICON;
|
||||
return OauthAppTable.OAUTH_APP.APP_ICON;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<OAuthAppType> field5() {
|
||||
return OauthApp.OAUTH_APP.APP_TYPE;
|
||||
return OauthAppTable.OAUTH_APP.APP_TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return OauthApp.OAUTH_APP.CLIENT_ID;
|
||||
return OauthAppTable.OAUTH_APP.CLIENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return OauthApp.OAUTH_APP.CLIENT_SECRET;
|
||||
return OauthAppTable.OAUTH_APP.CLIENT_SECRET;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return OauthApp.OAUTH_APP.AUTH_URL;
|
||||
return OauthAppTable.OAUTH_APP.AUTH_URL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field9() {
|
||||
return OauthApp.OAUTH_APP.RESOURCE_URL;
|
||||
return OauthAppTable.OAUTH_APP.RESOURCE_URL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return OauthApp.OAUTH_APP.SCOPE;
|
||||
return OauthAppTable.OAUTH_APP.SCOPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field11() {
|
||||
return OauthApp.OAUTH_APP.UPDATE_AT;
|
||||
return OauthAppTable.OAUTH_APP.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field12() {
|
||||
return OauthApp.OAUTH_APP.CREATE_AT;
|
||||
return OauthAppTable.OAUTH_APP.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -493,14 +493,14 @@ public class OauthAppRecord extends UpdatableRecordImpl<OauthAppRecord> implemen
|
||||
* Create a detached OauthAppRecord
|
||||
*/
|
||||
public OauthAppRecord() {
|
||||
super(OauthApp.OAUTH_APP);
|
||||
super(OauthAppTable.OAUTH_APP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised OauthAppRecord
|
||||
*/
|
||||
public OauthAppRecord(Integer id, String registrationId, String appName, String appIcon, OAuthAppType appType, String clientId, String clientSecret, String authUrl, String resourceUrl, String scope, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(OauthApp.OAUTH_APP);
|
||||
super(OauthAppTable.OAUTH_APP);
|
||||
|
||||
setId(id);
|
||||
setRegistrationId(registrationId);
|
||||
@@ -519,8 +519,8 @@ public class OauthAppRecord extends UpdatableRecordImpl<OauthAppRecord> implemen
|
||||
/**
|
||||
* Create a detached, initialised OauthAppRecord
|
||||
*/
|
||||
public OauthAppRecord(OauthAppPojo value) {
|
||||
super(OauthApp.OAUTH_APP);
|
||||
public OauthAppRecord(OauthApp value) {
|
||||
super(OauthAppTable.OAUTH_APP);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.OperationLog;
|
||||
import com.databasir.dao.tables.pojos.OperationLogPojo;
|
||||
import com.databasir.dao.tables.OperationLogTable;
|
||||
import com.databasir.dao.tables.pojos.OperationLog;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -244,67 +244,67 @@ public class OperationLogRecord extends UpdatableRecordImpl<OperationLogRecord>
|
||||
|
||||
@Override
|
||||
public Field<Long> field1() {
|
||||
return OperationLog.OPERATION_LOG.ID;
|
||||
return OperationLogTable.OPERATION_LOG.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return OperationLog.OPERATION_LOG.OPERATOR_USER_ID;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATOR_USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return OperationLog.OPERATION_LOG.OPERATOR_USERNAME;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATOR_USERNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return OperationLog.OPERATION_LOG.OPERATOR_NICKNAME;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATOR_NICKNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return OperationLog.OPERATION_LOG.OPERATION_MODULE;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATION_MODULE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return OperationLog.OPERATION_LOG.OPERATION_CODE;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATION_CODE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return OperationLog.OPERATION_LOG.OPERATION_NAME;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATION_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<JSON> field8() {
|
||||
return OperationLog.OPERATION_LOG.OPERATION_RESPONSE;
|
||||
return OperationLogTable.OPERATION_LOG.OPERATION_RESPONSE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field9() {
|
||||
return OperationLog.OPERATION_LOG.IS_SUCCESS;
|
||||
return OperationLogTable.OPERATION_LOG.IS_SUCCESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field10() {
|
||||
return OperationLog.OPERATION_LOG.INVOLVED_PROJECT_ID;
|
||||
return OperationLogTable.OPERATION_LOG.INVOLVED_PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field11() {
|
||||
return OperationLog.OPERATION_LOG.INVOLVED_GROUP_ID;
|
||||
return OperationLogTable.OPERATION_LOG.INVOLVED_GROUP_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field12() {
|
||||
return OperationLog.OPERATION_LOG.INVOLVED_USER_ID;
|
||||
return OperationLogTable.OPERATION_LOG.INVOLVED_USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field13() {
|
||||
return OperationLog.OPERATION_LOG.CREATE_AT;
|
||||
return OperationLogTable.OPERATION_LOG.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -541,14 +541,14 @@ public class OperationLogRecord extends UpdatableRecordImpl<OperationLogRecord>
|
||||
* Create a detached OperationLogRecord
|
||||
*/
|
||||
public OperationLogRecord() {
|
||||
super(OperationLog.OPERATION_LOG);
|
||||
super(OperationLogTable.OPERATION_LOG);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised OperationLogRecord
|
||||
*/
|
||||
public OperationLogRecord(Long id, Integer operatorUserId, String operatorUsername, String operatorNickname, String operationModule, String operationCode, String operationName, JSON operationResponse, Boolean isSuccess, Integer involvedProjectId, Integer involvedGroupId, Integer involvedUserId, LocalDateTime createAt) {
|
||||
super(OperationLog.OPERATION_LOG);
|
||||
super(OperationLogTable.OPERATION_LOG);
|
||||
|
||||
setId(id);
|
||||
setOperatorUserId(operatorUserId);
|
||||
@@ -568,8 +568,8 @@ public class OperationLogRecord extends UpdatableRecordImpl<OperationLogRecord>
|
||||
/**
|
||||
* Create a detached, initialised OperationLogRecord
|
||||
*/
|
||||
public OperationLogRecord(OperationLogPojo value) {
|
||||
super(OperationLog.OPERATION_LOG);
|
||||
public OperationLogRecord(OperationLog value) {
|
||||
super(OperationLogTable.OPERATION_LOG);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.Project;
|
||||
import com.databasir.dao.tables.pojos.ProjectPojo;
|
||||
import com.databasir.dao.tables.ProjectTable;
|
||||
import com.databasir.dao.tables.pojos.Project;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -149,37 +149,37 @@ public class ProjectRecord extends UpdatableRecordImpl<ProjectRecord> implements
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return Project.PROJECT.ID;
|
||||
return ProjectTable.PROJECT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return Project.PROJECT.NAME;
|
||||
return ProjectTable.PROJECT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return Project.PROJECT.DESCRIPTION;
|
||||
return ProjectTable.PROJECT.DESCRIPTION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return Project.PROJECT.GROUP_ID;
|
||||
return ProjectTable.PROJECT.GROUP_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field5() {
|
||||
return Project.PROJECT.DELETED;
|
||||
return ProjectTable.PROJECT.DELETED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return Project.PROJECT.DELETED_TOKEN;
|
||||
return ProjectTable.PROJECT.DELETED_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return Project.PROJECT.CREATE_AT;
|
||||
return ProjectTable.PROJECT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -314,14 +314,14 @@ public class ProjectRecord extends UpdatableRecordImpl<ProjectRecord> implements
|
||||
* Create a detached ProjectRecord
|
||||
*/
|
||||
public ProjectRecord() {
|
||||
super(Project.PROJECT);
|
||||
super(ProjectTable.PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ProjectRecord
|
||||
*/
|
||||
public ProjectRecord(Integer id, String name, String description, Integer groupId, Boolean deleted, Integer deletedToken, LocalDateTime createAt) {
|
||||
super(Project.PROJECT);
|
||||
super(ProjectTable.PROJECT);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
@@ -335,8 +335,8 @@ public class ProjectRecord extends UpdatableRecordImpl<ProjectRecord> implements
|
||||
/**
|
||||
* Create a detached, initialised ProjectRecord
|
||||
*/
|
||||
public ProjectRecord(ProjectPojo value) {
|
||||
super(Project.PROJECT);
|
||||
public ProjectRecord(Project value) {
|
||||
super(ProjectTable.PROJECT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.ProjectSyncRule;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncRulePojo;
|
||||
import com.databasir.dao.tables.ProjectSyncRuleTable;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncRule;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -166,42 +166,42 @@ public class ProjectSyncRuleRecord extends UpdatableRecordImpl<ProjectSyncRuleRe
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.ID;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.PROJECT_ID;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<JSON> field3() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.IGNORE_TABLE_NAME_REGEX_ARRAY;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.IGNORE_TABLE_NAME_REGEX_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<JSON> field4() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.IGNORE_COLUMN_NAME_REGEX_ARRAY;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.IGNORE_COLUMN_NAME_REGEX_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field5() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.IS_AUTO_SYNC;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.IS_AUTO_SYNC;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.AUTO_SYNC_CRON;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.AUTO_SYNC_CRON;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.UPDATE_AT;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field8() {
|
||||
return ProjectSyncRule.PROJECT_SYNC_RULE.CREATE_AT;
|
||||
return ProjectSyncRuleTable.PROJECT_SYNC_RULE.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -353,14 +353,14 @@ public class ProjectSyncRuleRecord extends UpdatableRecordImpl<ProjectSyncRuleRe
|
||||
* Create a detached ProjectSyncRuleRecord
|
||||
*/
|
||||
public ProjectSyncRuleRecord() {
|
||||
super(ProjectSyncRule.PROJECT_SYNC_RULE);
|
||||
super(ProjectSyncRuleTable.PROJECT_SYNC_RULE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ProjectSyncRuleRecord
|
||||
*/
|
||||
public ProjectSyncRuleRecord(Integer id, Integer projectId, JSON ignoreTableNameRegexArray, JSON ignoreColumnNameRegexArray, Boolean isAutoSync, String autoSyncCron, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(ProjectSyncRule.PROJECT_SYNC_RULE);
|
||||
super(ProjectSyncRuleTable.PROJECT_SYNC_RULE);
|
||||
|
||||
setId(id);
|
||||
setProjectId(projectId);
|
||||
@@ -375,8 +375,8 @@ public class ProjectSyncRuleRecord extends UpdatableRecordImpl<ProjectSyncRuleRe
|
||||
/**
|
||||
* Create a detached, initialised ProjectSyncRuleRecord
|
||||
*/
|
||||
public ProjectSyncRuleRecord(ProjectSyncRulePojo value) {
|
||||
super(ProjectSyncRule.PROJECT_SYNC_RULE);
|
||||
public ProjectSyncRuleRecord(ProjectSyncRule value) {
|
||||
super(ProjectSyncRuleTable.PROJECT_SYNC_RULE);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -5,8 +5,8 @@ package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.enums.ProjectSyncTaskStatus;
|
||||
import com.databasir.dao.tables.ProjectSyncTask;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncTaskPojo;
|
||||
import com.databasir.dao.tables.ProjectSyncTaskTable;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncTask;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -164,42 +164,42 @@ public class ProjectSyncTaskRecord extends UpdatableRecordImpl<ProjectSyncTaskRe
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.ID;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.PROJECT_ID;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.USER_ID;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<ProjectSyncTaskStatus> field4() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.STATUS;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.STATUS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.RESULT;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.RESULT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.RUN_AT;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.RUN_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.UPDATE_AT;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field8() {
|
||||
return ProjectSyncTask.PROJECT_SYNC_TASK.CREATE_AT;
|
||||
return ProjectSyncTaskTable.PROJECT_SYNC_TASK.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -351,14 +351,14 @@ public class ProjectSyncTaskRecord extends UpdatableRecordImpl<ProjectSyncTaskRe
|
||||
* Create a detached ProjectSyncTaskRecord
|
||||
*/
|
||||
public ProjectSyncTaskRecord() {
|
||||
super(ProjectSyncTask.PROJECT_SYNC_TASK);
|
||||
super(ProjectSyncTaskTable.PROJECT_SYNC_TASK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ProjectSyncTaskRecord
|
||||
*/
|
||||
public ProjectSyncTaskRecord(Integer id, Integer projectId, Integer userId, ProjectSyncTaskStatus status, String result, LocalDateTime runAt, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(ProjectSyncTask.PROJECT_SYNC_TASK);
|
||||
super(ProjectSyncTaskTable.PROJECT_SYNC_TASK);
|
||||
|
||||
setId(id);
|
||||
setProjectId(projectId);
|
||||
@@ -373,8 +373,8 @@ public class ProjectSyncTaskRecord extends UpdatableRecordImpl<ProjectSyncTaskRe
|
||||
/**
|
||||
* Create a detached, initialised ProjectSyncTaskRecord
|
||||
*/
|
||||
public ProjectSyncTaskRecord(ProjectSyncTaskPojo value) {
|
||||
super(ProjectSyncTask.PROJECT_SYNC_TASK);
|
||||
public ProjectSyncTaskRecord(ProjectSyncTask value) {
|
||||
super(ProjectSyncTaskTable.PROJECT_SYNC_TASK);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.SysKey;
|
||||
import com.databasir.dao.tables.pojos.SysKeyPojo;
|
||||
import com.databasir.dao.tables.SysKeyTable;
|
||||
import com.databasir.dao.tables.pojos.SysKey;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -133,32 +133,32 @@ public class SysKeyRecord extends UpdatableRecordImpl<SysKeyRecord> implements R
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return SysKey.SYS_KEY.ID;
|
||||
return SysKeyTable.SYS_KEY.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return SysKey.SYS_KEY.RSA_PUBLIC_KEY;
|
||||
return SysKeyTable.SYS_KEY.RSA_PUBLIC_KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return SysKey.SYS_KEY.RSA_PRIVATE_KEY;
|
||||
return SysKeyTable.SYS_KEY.RSA_PRIVATE_KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return SysKey.SYS_KEY.AES_KEY;
|
||||
return SysKeyTable.SYS_KEY.AES_KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field5() {
|
||||
return SysKey.SYS_KEY.UPDATE_AT;
|
||||
return SysKeyTable.SYS_KEY.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return SysKey.SYS_KEY.CREATE_AT;
|
||||
return SysKeyTable.SYS_KEY.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -276,14 +276,14 @@ public class SysKeyRecord extends UpdatableRecordImpl<SysKeyRecord> implements R
|
||||
* Create a detached SysKeyRecord
|
||||
*/
|
||||
public SysKeyRecord() {
|
||||
super(SysKey.SYS_KEY);
|
||||
super(SysKeyTable.SYS_KEY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SysKeyRecord
|
||||
*/
|
||||
public SysKeyRecord(Integer id, String rsaPublicKey, String rsaPrivateKey, String aesKey, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(SysKey.SYS_KEY);
|
||||
super(SysKeyTable.SYS_KEY);
|
||||
|
||||
setId(id);
|
||||
setRsaPublicKey(rsaPublicKey);
|
||||
@@ -296,8 +296,8 @@ public class SysKeyRecord extends UpdatableRecordImpl<SysKeyRecord> implements R
|
||||
/**
|
||||
* Create a detached, initialised SysKeyRecord
|
||||
*/
|
||||
public SysKeyRecord(SysKeyPojo value) {
|
||||
super(SysKey.SYS_KEY);
|
||||
public SysKeyRecord(SysKey value) {
|
||||
super(SysKeyTable.SYS_KEY);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.SysMail;
|
||||
import com.databasir.dao.tables.pojos.SysMailPojo;
|
||||
import com.databasir.dao.tables.SysMailTable;
|
||||
import com.databasir.dao.tables.pojos.SysMail;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -161,42 +161,42 @@ public class SysMailRecord extends UpdatableRecordImpl<SysMailRecord> implements
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return SysMail.SYS_MAIL.ID;
|
||||
return SysMailTable.SYS_MAIL.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return SysMail.SYS_MAIL.USERNAME;
|
||||
return SysMailTable.SYS_MAIL.USERNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return SysMail.SYS_MAIL.PASSWORD;
|
||||
return SysMailTable.SYS_MAIL.PASSWORD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return SysMail.SYS_MAIL.SMTP_HOST;
|
||||
return SysMailTable.SYS_MAIL.SMTP_HOST;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field5() {
|
||||
return SysMail.SYS_MAIL.SMTP_PORT;
|
||||
return SysMailTable.SYS_MAIL.SMTP_PORT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field6() {
|
||||
return SysMail.SYS_MAIL.USE_SSL;
|
||||
return SysMailTable.SYS_MAIL.USE_SSL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return SysMail.SYS_MAIL.UPDATE_AT;
|
||||
return SysMailTable.SYS_MAIL.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field8() {
|
||||
return SysMail.SYS_MAIL.CREATE_AT;
|
||||
return SysMailTable.SYS_MAIL.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -348,14 +348,14 @@ public class SysMailRecord extends UpdatableRecordImpl<SysMailRecord> implements
|
||||
* Create a detached SysMailRecord
|
||||
*/
|
||||
public SysMailRecord() {
|
||||
super(SysMail.SYS_MAIL);
|
||||
super(SysMailTable.SYS_MAIL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SysMailRecord
|
||||
*/
|
||||
public SysMailRecord(Integer id, String username, String password, String smtpHost, Integer smtpPort, Boolean useSsl, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(SysMail.SYS_MAIL);
|
||||
super(SysMailTable.SYS_MAIL);
|
||||
|
||||
setId(id);
|
||||
setUsername(username);
|
||||
@@ -370,8 +370,8 @@ public class SysMailRecord extends UpdatableRecordImpl<SysMailRecord> implements
|
||||
/**
|
||||
* Create a detached, initialised SysMailRecord
|
||||
*/
|
||||
public SysMailRecord(SysMailPojo value) {
|
||||
super(SysMail.SYS_MAIL);
|
||||
public SysMailRecord(SysMail value) {
|
||||
super(SysMailTable.SYS_MAIL);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.TableColumnDocument;
|
||||
import com.databasir.dao.tables.pojos.TableColumnDocumentPojo;
|
||||
import com.databasir.dao.tables.TableColumnDocumentTable;
|
||||
import com.databasir.dao.tables.pojos.TableColumnDocument;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -253,72 +253,72 @@ public class TableColumnDocumentRecord extends UpdatableRecordImpl<TableColumnDo
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.ID;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.NAME;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.TYPE;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field6() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.DATA_TYPE;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.DATA_TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.COMMENT;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.COMMENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.DEFAULT_VALUE;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.DEFAULT_VALUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.SIZE;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.SIZE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field10() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.DECIMAL_DIGITS;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.DECIMAL_DIGITS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field11() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.IS_PRIMARY_KEY;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.IS_PRIMARY_KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.NULLABLE;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.NULLABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field13() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.AUTO_INCREMENT;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.AUTO_INCREMENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field14() {
|
||||
return TableColumnDocument.TABLE_COLUMN_DOCUMENT.CREATE_AT;
|
||||
return TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -572,14 +572,14 @@ public class TableColumnDocumentRecord extends UpdatableRecordImpl<TableColumnDo
|
||||
* Create a detached TableColumnDocumentRecord
|
||||
*/
|
||||
public TableColumnDocumentRecord() {
|
||||
super(TableColumnDocument.TABLE_COLUMN_DOCUMENT);
|
||||
super(TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TableColumnDocumentRecord
|
||||
*/
|
||||
public TableColumnDocumentRecord(Integer id, Integer tableDocumentId, Integer databaseDocumentId, String name, String type, Integer dataType, String comment, String defaultValue, Integer size, Integer decimalDigits, Boolean isPrimaryKey, String nullable, String autoIncrement, LocalDateTime createAt) {
|
||||
super(TableColumnDocument.TABLE_COLUMN_DOCUMENT);
|
||||
super(TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT);
|
||||
|
||||
setId(id);
|
||||
setTableDocumentId(tableDocumentId);
|
||||
@@ -600,8 +600,8 @@ public class TableColumnDocumentRecord extends UpdatableRecordImpl<TableColumnDo
|
||||
/**
|
||||
* Create a detached, initialised TableColumnDocumentRecord
|
||||
*/
|
||||
public TableColumnDocumentRecord(TableColumnDocumentPojo value) {
|
||||
super(TableColumnDocument.TABLE_COLUMN_DOCUMENT);
|
||||
public TableColumnDocumentRecord(TableColumnDocument value) {
|
||||
super(TableColumnDocumentTable.TABLE_COLUMN_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.TableDocument;
|
||||
import com.databasir.dao.tables.pojos.TableDocumentPojo;
|
||||
import com.databasir.dao.tables.TableDocumentTable;
|
||||
import com.databasir.dao.tables.pojos.TableDocument;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -133,32 +133,32 @@ public class TableDocumentRecord extends UpdatableRecordImpl<TableDocumentRecord
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TableDocument.TABLE_DOCUMENT.ID;
|
||||
return TableDocumentTable.TABLE_DOCUMENT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TableDocument.TABLE_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
return TableDocumentTable.TABLE_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return TableDocument.TABLE_DOCUMENT.NAME;
|
||||
return TableDocumentTable.TABLE_DOCUMENT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TableDocument.TABLE_DOCUMENT.TYPE;
|
||||
return TableDocumentTable.TABLE_DOCUMENT.TYPE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TableDocument.TABLE_DOCUMENT.COMMENT;
|
||||
return TableDocumentTable.TABLE_DOCUMENT.COMMENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field6() {
|
||||
return TableDocument.TABLE_DOCUMENT.CREATE_AT;
|
||||
return TableDocumentTable.TABLE_DOCUMENT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -276,14 +276,14 @@ public class TableDocumentRecord extends UpdatableRecordImpl<TableDocumentRecord
|
||||
* Create a detached TableDocumentRecord
|
||||
*/
|
||||
public TableDocumentRecord() {
|
||||
super(TableDocument.TABLE_DOCUMENT);
|
||||
super(TableDocumentTable.TABLE_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TableDocumentRecord
|
||||
*/
|
||||
public TableDocumentRecord(Integer id, Integer databaseDocumentId, String name, String type, String comment, LocalDateTime createAt) {
|
||||
super(TableDocument.TABLE_DOCUMENT);
|
||||
super(TableDocumentTable.TABLE_DOCUMENT);
|
||||
|
||||
setId(id);
|
||||
setDatabaseDocumentId(databaseDocumentId);
|
||||
@@ -296,8 +296,8 @@ public class TableDocumentRecord extends UpdatableRecordImpl<TableDocumentRecord
|
||||
/**
|
||||
* Create a detached, initialised TableDocumentRecord
|
||||
*/
|
||||
public TableDocumentRecord(TableDocumentPojo value) {
|
||||
super(TableDocument.TABLE_DOCUMENT);
|
||||
public TableDocumentRecord(TableDocument value) {
|
||||
super(TableDocumentTable.TABLE_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.TableForeignKeyDocument;
|
||||
import com.databasir.dao.tables.pojos.TableForeignKeyDocumentPojo;
|
||||
import com.databasir.dao.tables.TableForeignKeyDocumentTable;
|
||||
import com.databasir.dao.tables.pojos.TableForeignKeyDocument;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -247,67 +247,67 @@ public class TableForeignKeyDocumentRecord extends UpdatableRecordImpl<TableFore
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.ID;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.KEY_SEQ;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.KEY_SEQ;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.FK_NAME;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.FK_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.FK_TABLE_NAME;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.FK_TABLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.FK_COLUMN_NAME;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.FK_COLUMN_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.PK_NAME;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.PK_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field9() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.PK_TABLE_NAME;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.PK_TABLE_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field10() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.PK_COLUMN_NAME;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.PK_COLUMN_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field11() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.UPDATE_RULE;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.UPDATE_RULE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field12() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.DELETE_RULE;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.DELETE_RULE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field13() {
|
||||
return TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT.CREATE_AT;
|
||||
return TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -544,14 +544,14 @@ public class TableForeignKeyDocumentRecord extends UpdatableRecordImpl<TableFore
|
||||
* Create a detached TableForeignKeyDocumentRecord
|
||||
*/
|
||||
public TableForeignKeyDocumentRecord() {
|
||||
super(TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
super(TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TableForeignKeyDocumentRecord
|
||||
*/
|
||||
public TableForeignKeyDocumentRecord(Integer id, Integer tableDocumentId, Integer databaseDocumentId, Integer keySeq, String fkName, String fkTableName, String fkColumnName, String pkName, String pkTableName, String pkColumnName, String updateRule, String deleteRule, LocalDateTime createAt) {
|
||||
super(TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
super(TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
|
||||
setId(id);
|
||||
setTableDocumentId(tableDocumentId);
|
||||
@@ -571,8 +571,8 @@ public class TableForeignKeyDocumentRecord extends UpdatableRecordImpl<TableFore
|
||||
/**
|
||||
* Create a detached, initialised TableForeignKeyDocumentRecord
|
||||
*/
|
||||
public TableForeignKeyDocumentRecord(TableForeignKeyDocumentPojo value) {
|
||||
super(TableForeignKeyDocument.TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
public TableForeignKeyDocumentRecord(TableForeignKeyDocument value) {
|
||||
super(TableForeignKeyDocumentTable.TABLE_FOREIGN_KEY_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.TableIndexDocument;
|
||||
import com.databasir.dao.tables.pojos.TableIndexDocumentPojo;
|
||||
import com.databasir.dao.tables.TableIndexDocumentTable;
|
||||
import com.databasir.dao.tables.pojos.TableIndexDocument;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -150,37 +150,37 @@ public class TableIndexDocumentRecord extends UpdatableRecordImpl<TableIndexDocu
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.ID;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.NAME;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field5() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.IS_UNIQUE;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.IS_UNIQUE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<JSON> field6() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.COLUMN_NAME_ARRAY;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.COLUMN_NAME_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field7() {
|
||||
return TableIndexDocument.TABLE_INDEX_DOCUMENT.CREATE_AT;
|
||||
return TableIndexDocumentTable.TABLE_INDEX_DOCUMENT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -315,14 +315,14 @@ public class TableIndexDocumentRecord extends UpdatableRecordImpl<TableIndexDocu
|
||||
* Create a detached TableIndexDocumentRecord
|
||||
*/
|
||||
public TableIndexDocumentRecord() {
|
||||
super(TableIndexDocument.TABLE_INDEX_DOCUMENT);
|
||||
super(TableIndexDocumentTable.TABLE_INDEX_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TableIndexDocumentRecord
|
||||
*/
|
||||
public TableIndexDocumentRecord(Integer id, Integer tableDocumentId, Integer databaseDocumentId, String name, Boolean isUnique, JSON columnNameArray, LocalDateTime createAt) {
|
||||
super(TableIndexDocument.TABLE_INDEX_DOCUMENT);
|
||||
super(TableIndexDocumentTable.TABLE_INDEX_DOCUMENT);
|
||||
|
||||
setId(id);
|
||||
setTableDocumentId(tableDocumentId);
|
||||
@@ -336,8 +336,8 @@ public class TableIndexDocumentRecord extends UpdatableRecordImpl<TableIndexDocu
|
||||
/**
|
||||
* Create a detached, initialised TableIndexDocumentRecord
|
||||
*/
|
||||
public TableIndexDocumentRecord(TableIndexDocumentPojo value) {
|
||||
super(TableIndexDocument.TABLE_INDEX_DOCUMENT);
|
||||
public TableIndexDocumentRecord(TableIndexDocument value) {
|
||||
super(TableIndexDocumentTable.TABLE_INDEX_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.TableTriggerDocument;
|
||||
import com.databasir.dao.tables.pojos.TableTriggerDocumentPojo;
|
||||
import com.databasir.dao.tables.TableTriggerDocumentTable;
|
||||
import com.databasir.dao.tables.pojos.TableTriggerDocument;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -181,47 +181,47 @@ public class TableTriggerDocumentRecord extends UpdatableRecordImpl<TableTrigger
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.ID;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.NAME;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.TABLE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.DATABASE_DOCUMENT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.TIMING;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.TIMING;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.MANIPULATION;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.MANIPULATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field7() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.STATEMENT;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.STATEMENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field8() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.TRIGGER_CREATE_AT;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.TRIGGER_CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field9() {
|
||||
return TableTriggerDocument.TABLE_TRIGGER_DOCUMENT.CREATE_AT;
|
||||
return TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -390,14 +390,14 @@ public class TableTriggerDocumentRecord extends UpdatableRecordImpl<TableTrigger
|
||||
* Create a detached TableTriggerDocumentRecord
|
||||
*/
|
||||
public TableTriggerDocumentRecord() {
|
||||
super(TableTriggerDocument.TABLE_TRIGGER_DOCUMENT);
|
||||
super(TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TableTriggerDocumentRecord
|
||||
*/
|
||||
public TableTriggerDocumentRecord(Integer id, String name, Integer tableDocumentId, Integer databaseDocumentId, String timing, String manipulation, String statement, String triggerCreateAt, LocalDateTime createAt) {
|
||||
super(TableTriggerDocument.TABLE_TRIGGER_DOCUMENT);
|
||||
super(TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
@@ -413,8 +413,8 @@ public class TableTriggerDocumentRecord extends UpdatableRecordImpl<TableTrigger
|
||||
/**
|
||||
* Create a detached, initialised TableTriggerDocumentRecord
|
||||
*/
|
||||
public TableTriggerDocumentRecord(TableTriggerDocumentPojo value) {
|
||||
super(TableTriggerDocument.TABLE_TRIGGER_DOCUMENT);
|
||||
public TableTriggerDocumentRecord(TableTriggerDocument value) {
|
||||
super(TableTriggerDocumentTable.TABLE_TRIGGER_DOCUMENT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.UserFavoriteProject;
|
||||
import com.databasir.dao.tables.pojos.UserFavoriteProjectPojo;
|
||||
import com.databasir.dao.tables.UserFavoriteProjectTable;
|
||||
import com.databasir.dao.tables.pojos.UserFavoriteProject;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -105,22 +105,22 @@ public class UserFavoriteProjectRecord extends UpdatableRecordImpl<UserFavoriteP
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return UserFavoriteProject.USER_FAVORITE_PROJECT.ID;
|
||||
return UserFavoriteProjectTable.USER_FAVORITE_PROJECT.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return UserFavoriteProject.USER_FAVORITE_PROJECT.USER_ID;
|
||||
return UserFavoriteProjectTable.USER_FAVORITE_PROJECT.USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field3() {
|
||||
return UserFavoriteProject.USER_FAVORITE_PROJECT.PROJECT_ID;
|
||||
return UserFavoriteProjectTable.USER_FAVORITE_PROJECT.PROJECT_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field4() {
|
||||
return UserFavoriteProject.USER_FAVORITE_PROJECT.CREATE_AT;
|
||||
return UserFavoriteProjectTable.USER_FAVORITE_PROJECT.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -204,14 +204,14 @@ public class UserFavoriteProjectRecord extends UpdatableRecordImpl<UserFavoriteP
|
||||
* Create a detached UserFavoriteProjectRecord
|
||||
*/
|
||||
public UserFavoriteProjectRecord() {
|
||||
super(UserFavoriteProject.USER_FAVORITE_PROJECT);
|
||||
super(UserFavoriteProjectTable.USER_FAVORITE_PROJECT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserFavoriteProjectRecord
|
||||
*/
|
||||
public UserFavoriteProjectRecord(Integer id, Integer userId, Integer projectId, LocalDateTime createAt) {
|
||||
super(UserFavoriteProject.USER_FAVORITE_PROJECT);
|
||||
super(UserFavoriteProjectTable.USER_FAVORITE_PROJECT);
|
||||
|
||||
setId(id);
|
||||
setUserId(userId);
|
||||
@@ -222,8 +222,8 @@ public class UserFavoriteProjectRecord extends UpdatableRecordImpl<UserFavoriteP
|
||||
/**
|
||||
* Create a detached, initialised UserFavoriteProjectRecord
|
||||
*/
|
||||
public UserFavoriteProjectRecord(UserFavoriteProjectPojo value) {
|
||||
super(UserFavoriteProject.USER_FAVORITE_PROJECT);
|
||||
public UserFavoriteProjectRecord(UserFavoriteProject value) {
|
||||
super(UserFavoriteProjectTable.USER_FAVORITE_PROJECT);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.User;
|
||||
import com.databasir.dao.tables.pojos.UserPojo;
|
||||
import com.databasir.dao.tables.UserTable;
|
||||
import com.databasir.dao.tables.pojos.User;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -203,57 +203,57 @@ public class UserRecord extends UpdatableRecordImpl<UserRecord> implements Recor
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return User.USER.ID;
|
||||
return UserTable.USER.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field2() {
|
||||
return User.USER.EMAIL;
|
||||
return UserTable.USER.EMAIL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return User.USER.USERNAME;
|
||||
return UserTable.USER.USERNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field4() {
|
||||
return User.USER.PASSWORD;
|
||||
return UserTable.USER.PASSWORD;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field5() {
|
||||
return User.USER.NICKNAME;
|
||||
return UserTable.USER.NICKNAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field6() {
|
||||
return User.USER.AVATAR;
|
||||
return UserTable.USER.AVATAR;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field7() {
|
||||
return User.USER.ENABLED;
|
||||
return UserTable.USER.ENABLED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Boolean> field8() {
|
||||
return User.USER.DELETED;
|
||||
return UserTable.USER.DELETED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field9() {
|
||||
return User.USER.DELETED_TOKEN;
|
||||
return UserTable.USER.DELETED_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field10() {
|
||||
return User.USER.UPDATE_AT;
|
||||
return UserTable.USER.UPDATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field11() {
|
||||
return User.USER.CREATE_AT;
|
||||
return UserTable.USER.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -456,14 +456,14 @@ public class UserRecord extends UpdatableRecordImpl<UserRecord> implements Recor
|
||||
* Create a detached UserRecord
|
||||
*/
|
||||
public UserRecord() {
|
||||
super(User.USER);
|
||||
super(UserTable.USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserRecord
|
||||
*/
|
||||
public UserRecord(Integer id, String email, String username, String password, String nickname, String avatar, Boolean enabled, Boolean deleted, Integer deletedToken, LocalDateTime updateAt, LocalDateTime createAt) {
|
||||
super(User.USER);
|
||||
super(UserTable.USER);
|
||||
|
||||
setId(id);
|
||||
setEmail(email);
|
||||
@@ -481,8 +481,8 @@ public class UserRecord extends UpdatableRecordImpl<UserRecord> implements Recor
|
||||
/**
|
||||
* Create a detached, initialised UserRecord
|
||||
*/
|
||||
public UserRecord(UserPojo value) {
|
||||
super(User.USER);
|
||||
public UserRecord(User value) {
|
||||
super(UserTable.USER);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -4,8 +4,8 @@
|
||||
package com.databasir.dao.tables.records;
|
||||
|
||||
|
||||
import com.databasir.dao.tables.UserRole;
|
||||
import com.databasir.dao.tables.pojos.UserRolePojo;
|
||||
import com.databasir.dao.tables.UserRoleTable;
|
||||
import com.databasir.dao.tables.pojos.UserRole;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -121,27 +121,27 @@ public class UserRoleRecord extends UpdatableRecordImpl<UserRoleRecord> implemen
|
||||
|
||||
@Override
|
||||
public Field<Integer> field1() {
|
||||
return UserRole.USER_ROLE.ID;
|
||||
return UserRoleTable.USER_ROLE.ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field2() {
|
||||
return UserRole.USER_ROLE.USER_ID;
|
||||
return UserRoleTable.USER_ROLE.USER_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<String> field3() {
|
||||
return UserRole.USER_ROLE.ROLE;
|
||||
return UserRoleTable.USER_ROLE.ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<Integer> field4() {
|
||||
return UserRole.USER_ROLE.GROUP_ID;
|
||||
return UserRoleTable.USER_ROLE.GROUP_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Field<LocalDateTime> field5() {
|
||||
return UserRole.USER_ROLE.CREATE_AT;
|
||||
return UserRoleTable.USER_ROLE.CREATE_AT;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -242,14 +242,14 @@ public class UserRoleRecord extends UpdatableRecordImpl<UserRoleRecord> implemen
|
||||
* Create a detached UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord() {
|
||||
super(UserRole.USER_ROLE);
|
||||
super(UserRoleTable.USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord(Integer id, Integer userId, String role, Integer groupId, LocalDateTime createAt) {
|
||||
super(UserRole.USER_ROLE);
|
||||
super(UserRoleTable.USER_ROLE);
|
||||
|
||||
setId(id);
|
||||
setUserId(userId);
|
||||
@@ -261,8 +261,8 @@ public class UserRoleRecord extends UpdatableRecordImpl<UserRoleRecord> implemen
|
||||
/**
|
||||
* Create a detached, initialised UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord(UserRolePojo value) {
|
||||
super(UserRole.USER_ROLE);
|
||||
public UserRoleRecord(UserRole value) {
|
||||
super(UserRoleTable.USER_ROLE);
|
||||
|
||||
if (value != null) {
|
||||
setId(value.getId());
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.exception.DataNotExistsException;
|
||||
import com.databasir.dao.tables.pojos.DataSourcePojo;
|
||||
import com.databasir.dao.tables.pojos.DataSource;
|
||||
import com.databasir.dao.tables.records.DataSourceRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -15,33 +15,33 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.DATA_SOURCE;
|
||||
|
||||
@Repository
|
||||
public class DataSourceDao extends BaseDao<DataSourcePojo> {
|
||||
public class DataSourceDao extends BaseDao<DataSource> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DataSourceDao() {
|
||||
super(DATA_SOURCE, DataSourcePojo.class);
|
||||
super(DATA_SOURCE, DataSource.class);
|
||||
}
|
||||
|
||||
public Optional<DataSourcePojo> selectOptionalByProjectId(Integer projectId) {
|
||||
public Optional<DataSource> selectOptionalByProjectId(Integer projectId) {
|
||||
return getDslContext()
|
||||
.select(DATA_SOURCE.fields()).from(DATA_SOURCE).where(DATA_SOURCE.PROJECT_ID.eq(projectId))
|
||||
.fetchOptionalInto(DataSourcePojo.class);
|
||||
.fetchOptionalInto(DataSource.class);
|
||||
}
|
||||
|
||||
public DataSourcePojo selectByProjectId(Integer projectId) {
|
||||
public DataSource selectByProjectId(Integer projectId) {
|
||||
return getDslContext()
|
||||
.select(DATA_SOURCE.fields()).from(DATA_SOURCE).where(DATA_SOURCE.PROJECT_ID.eq(projectId))
|
||||
.fetchOptionalInto(DataSourcePojo.class)
|
||||
.fetchOptionalInto(DataSource.class)
|
||||
.orElseThrow(() -> new DataNotExistsException("data not exists in "
|
||||
+ table().getName()
|
||||
+ " with schemaSourceId = "
|
||||
+ projectId));
|
||||
}
|
||||
|
||||
public int updateByProjectId(DataSourcePojo dataSource) {
|
||||
public int updateByProjectId(DataSource dataSource) {
|
||||
DataSourceRecord record = getDslContext().newRecord(DATA_SOURCE, dataSource);
|
||||
record.changed(DATA_SOURCE.ID, false);
|
||||
record.changed(DATA_SOURCE.PROJECT_ID, false);
|
||||
@@ -53,12 +53,12 @@ public class DataSourceDao extends BaseDao<DataSourcePojo> {
|
||||
.execute();
|
||||
}
|
||||
|
||||
public List<DataSourcePojo> selectInProjectIds(List<Integer> projectIds) {
|
||||
public List<DataSource> selectInProjectIds(List<Integer> projectIds) {
|
||||
if (projectIds == null || projectIds.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return getDslContext()
|
||||
.select(DATA_SOURCE.fields()).from(DATA_SOURCE).where(DATA_SOURCE.PROJECT_ID.in(projectIds))
|
||||
.fetchInto(DataSourcePojo.class);
|
||||
.fetchInto(DataSource.class);
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.DataSourcePropertyPojo;
|
||||
import com.databasir.dao.tables.pojos.DataSourceProperty;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -11,14 +11,14 @@ import java.util.List;
|
||||
import static com.databasir.dao.Tables.DATA_SOURCE_PROPERTY;
|
||||
|
||||
@Repository
|
||||
public class DataSourcePropertyDao extends BaseDao<DataSourcePropertyPojo> {
|
||||
public class DataSourcePropertyDao extends BaseDao<DataSourceProperty> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DataSourcePropertyDao() {
|
||||
super(DATA_SOURCE_PROPERTY, DataSourcePropertyPojo.class);
|
||||
super(DATA_SOURCE_PROPERTY, DataSourceProperty.class);
|
||||
}
|
||||
|
||||
public int deleteByDataSourceId(Integer dataSourceId) {
|
||||
@@ -27,10 +27,10 @@ public class DataSourcePropertyDao extends BaseDao<DataSourcePropertyPojo> {
|
||||
.execute();
|
||||
}
|
||||
|
||||
public List<DataSourcePropertyPojo> selectByDataSourceId(Integer id) {
|
||||
public List<DataSourceProperty> selectByDataSourceId(Integer id) {
|
||||
return dslContext
|
||||
.select(DATA_SOURCE_PROPERTY.fields()).from(DATA_SOURCE_PROPERTY)
|
||||
.where(DATA_SOURCE_PROPERTY.DATA_SOURCE_ID.eq(id))
|
||||
.fetchInto(DataSourcePropertyPojo.class);
|
||||
.fetchInto(DataSourceProperty.class);
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.DatabaseDocumentPojo;
|
||||
import com.databasir.dao.tables.pojos.DatabaseDocument;
|
||||
import com.databasir.dao.tables.records.DatabaseDocumentRecord;
|
||||
import com.databasir.dao.value.DatabaseDocumentVersionPojo;
|
||||
import lombok.Getter;
|
||||
@@ -18,29 +18,29 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.DATABASE_DOCUMENT;
|
||||
|
||||
@Repository
|
||||
public class DatabaseDocumentDao extends BaseDao<DatabaseDocumentPojo> {
|
||||
public class DatabaseDocumentDao extends BaseDao<DatabaseDocument> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DatabaseDocumentDao() {
|
||||
super(DATABASE_DOCUMENT, DatabaseDocumentPojo.class);
|
||||
super(DATABASE_DOCUMENT, DatabaseDocument.class);
|
||||
}
|
||||
|
||||
public Optional<DatabaseDocumentPojo> selectOptionalByProjectId(Integer projectId) {
|
||||
public Optional<DatabaseDocument> selectOptionalByProjectId(Integer projectId) {
|
||||
return getDslContext()
|
||||
.select(DATABASE_DOCUMENT.fields()).from(DATABASE_DOCUMENT)
|
||||
.where(DATABASE_DOCUMENT.PROJECT_ID.eq(projectId))
|
||||
.fetchOptionalInto(DatabaseDocumentPojo.class);
|
||||
.fetchOptionalInto(DatabaseDocument.class);
|
||||
}
|
||||
|
||||
public Optional<DatabaseDocumentPojo> selectOptionalByProjectIdAndVersion(Integer projectId,
|
||||
public Optional<DatabaseDocument> selectOptionalByProjectIdAndVersion(Integer projectId,
|
||||
Long version) {
|
||||
return getDslContext()
|
||||
.select(DATABASE_DOCUMENT.fields()).from(DATABASE_DOCUMENT)
|
||||
.where(DATABASE_DOCUMENT.PROJECT_ID.eq(projectId).and(DATABASE_DOCUMENT.VERSION.eq(version)))
|
||||
.fetchOptionalInto(DatabaseDocumentPojo.class);
|
||||
.fetchOptionalInto(DatabaseDocument.class);
|
||||
}
|
||||
|
||||
public Optional<Integer> selectIdByProjectIdAndVersion(Integer projectId,
|
||||
@@ -51,18 +51,18 @@ public class DatabaseDocumentDao extends BaseDao<DatabaseDocumentPojo> {
|
||||
.fetchOptionalInto(Integer.class);
|
||||
}
|
||||
|
||||
public void update(DatabaseDocumentPojo toPojo) {
|
||||
public void update(DatabaseDocument toPojo) {
|
||||
DatabaseDocumentRecord record = getDslContext().newRecord(DATABASE_DOCUMENT, toPojo);
|
||||
record.changed(DATABASE_DOCUMENT.ID, false);
|
||||
record.changed(DATABASE_DOCUMENT.CREATE_AT, false);
|
||||
record.update();
|
||||
}
|
||||
|
||||
public Optional<DatabaseDocumentPojo> selectNotArchivedByProjectId(Integer projectId) {
|
||||
public Optional<DatabaseDocument> selectNotArchivedByProjectId(Integer projectId) {
|
||||
return getDslContext()
|
||||
.select(DATABASE_DOCUMENT.fields()).from(DATABASE_DOCUMENT)
|
||||
.where(DATABASE_DOCUMENT.PROJECT_ID.eq(projectId).and(DATABASE_DOCUMENT.IS_ARCHIVE.eq(false)))
|
||||
.fetchOptionalInto(DatabaseDocumentPojo.class);
|
||||
.fetchOptionalInto(DatabaseDocument.class);
|
||||
}
|
||||
|
||||
public void updateIsArchiveById(Integer id, Boolean isArchive) {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.DatabaseTypePojo;
|
||||
import com.databasir.dao.tables.pojos.DatabaseType;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -12,14 +12,14 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.DATABASE_TYPE;
|
||||
|
||||
@Repository
|
||||
public class DatabaseTypeDao extends BaseDao<DatabaseTypePojo> {
|
||||
public class DatabaseTypeDao extends BaseDao<DatabaseType> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DatabaseTypeDao() {
|
||||
super(DATABASE_TYPE, DatabaseTypePojo.class);
|
||||
super(DATABASE_TYPE, DatabaseType.class);
|
||||
}
|
||||
|
||||
public boolean existsByDatabaseType(String databaseType) {
|
||||
@@ -32,17 +32,17 @@ public class DatabaseTypeDao extends BaseDao<DatabaseTypePojo> {
|
||||
.and(DATABASE_TYPE.DELETED.eq(false)));
|
||||
}
|
||||
|
||||
public DatabaseTypePojo selectByDatabaseType(String databaseType) {
|
||||
public DatabaseType selectByDatabaseType(String databaseType) {
|
||||
return this.selectOne(DATABASE_TYPE.DATABASE_TYPE_.eq(databaseType)
|
||||
.and(DATABASE_TYPE.DELETED.eq(false)));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DatabaseTypePojo> selectAll() {
|
||||
public List<DatabaseType> selectAll() {
|
||||
return this.getDslContext().selectFrom(DATABASE_TYPE)
|
||||
.where(DATABASE_TYPE.DELETED.eq(false))
|
||||
.orderBy(DATABASE_TYPE.ID.desc())
|
||||
.fetchInto(DatabaseTypePojo.class);
|
||||
.fetchInto(DatabaseType.class);
|
||||
}
|
||||
|
||||
public int deleteById(Integer id) {
|
||||
@@ -55,7 +55,7 @@ public class DatabaseTypeDao extends BaseDao<DatabaseTypePojo> {
|
||||
.execute();
|
||||
}
|
||||
|
||||
public Optional<DatabaseTypePojo> selectOptionalById(Integer id) {
|
||||
public Optional<DatabaseType> selectOptionalById(Integer id) {
|
||||
return super.selectOptionalOne(DATABASE_TYPE.DELETED.eq(false).and(DATABASE_TYPE.ID.eq(id)));
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.DocumentDescriptionPojo;
|
||||
import com.databasir.dao.tables.pojos.DocumentDescription;
|
||||
import com.databasir.dao.tables.records.DocumentDescriptionRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.Condition;
|
||||
@@ -13,14 +13,14 @@ import java.util.List;
|
||||
import static com.databasir.dao.Tables.DOCUMENT_DESCRIPTION;
|
||||
|
||||
@Repository
|
||||
public class DocumentDescriptionDao extends BaseDao<DocumentDescriptionPojo> {
|
||||
public class DocumentDescriptionDao extends BaseDao<DocumentDescription> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DocumentDescriptionDao() {
|
||||
super(DOCUMENT_DESCRIPTION, DocumentDescriptionPojo.class);
|
||||
super(DOCUMENT_DESCRIPTION, DocumentDescription.class);
|
||||
}
|
||||
|
||||
public boolean exists(Integer projectId, String tableName, String columnName) {
|
||||
@@ -34,7 +34,7 @@ public class DocumentDescriptionDao extends BaseDao<DocumentDescriptionPojo> {
|
||||
return this.exists(condition);
|
||||
}
|
||||
|
||||
public void update(DocumentDescriptionPojo pojo) {
|
||||
public void update(DocumentDescription pojo) {
|
||||
Condition condition = DOCUMENT_DESCRIPTION.TABLE_NAME.eq(pojo.getTableName());
|
||||
if (pojo.getColumnName() == null) {
|
||||
condition = condition.and(DOCUMENT_DESCRIPTION.COLUMN_NAME.isNull());
|
||||
@@ -45,18 +45,18 @@ public class DocumentDescriptionDao extends BaseDao<DocumentDescriptionPojo> {
|
||||
getDslContext().executeUpdate(record, condition);
|
||||
}
|
||||
|
||||
public List<DocumentDescriptionPojo> selectByProjectId(Integer projectId) {
|
||||
public List<DocumentDescription> selectByProjectId(Integer projectId) {
|
||||
return selectByCondition(DOCUMENT_DESCRIPTION.PROJECT_ID.eq(projectId));
|
||||
}
|
||||
|
||||
public List<DocumentDescriptionPojo> selectTableDescriptionByProjectId(Integer projectId) {
|
||||
public List<DocumentDescription> selectTableDescriptionByProjectId(Integer projectId) {
|
||||
return selectByCondition(DOCUMENT_DESCRIPTION.PROJECT_ID.eq(projectId)
|
||||
.and(DOCUMENT_DESCRIPTION.COLUMN_NAME.isNull()));
|
||||
}
|
||||
|
||||
public List<DocumentDescriptionPojo> selectByCondition(Condition condition) {
|
||||
public List<DocumentDescription> selectByCondition(Condition condition) {
|
||||
return this.getDslContext()
|
||||
.selectFrom(DOCUMENT_DESCRIPTION).where(condition)
|
||||
.fetchInto(DocumentDescriptionPojo.class);
|
||||
.fetchInto(DocumentDescription.class);
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.DocumentDiscussionPojo;
|
||||
import com.databasir.dao.tables.pojos.DocumentDiscussion;
|
||||
import com.databasir.dao.value.DocumentDiscussionCountPojo;
|
||||
import lombok.Getter;
|
||||
import org.jooq.Condition;
|
||||
@@ -15,21 +15,21 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.DOCUMENT_DISCUSSION;
|
||||
|
||||
@Repository
|
||||
public class DocumentDiscussionDao extends BaseDao<DocumentDiscussionPojo> {
|
||||
public class DocumentDiscussionDao extends BaseDao<DocumentDiscussion> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DocumentDiscussionDao() {
|
||||
super(DOCUMENT_DISCUSSION, DocumentDiscussionPojo.class);
|
||||
super(DOCUMENT_DISCUSSION, DocumentDiscussion.class);
|
||||
}
|
||||
|
||||
public Optional<DocumentDiscussionPojo> selectByProjectIdAndId(Integer projectId, Integer id) {
|
||||
public Optional<DocumentDiscussion> selectByProjectIdAndId(Integer projectId, Integer id) {
|
||||
return this.getDslContext()
|
||||
.selectFrom(DOCUMENT_DISCUSSION).where(DOCUMENT_DISCUSSION.PROJECT_ID.eq(projectId)
|
||||
.and(DOCUMENT_DISCUSSION.ID.eq(id)))
|
||||
.fetchOptionalInto(DocumentDiscussionPojo.class);
|
||||
.fetchOptionalInto(DocumentDiscussion.class);
|
||||
}
|
||||
|
||||
public List<DocumentDiscussionCountPojo> selectTableDiscussionCount(Integer projectId) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.Indexes;
|
||||
import com.databasir.dao.tables.pojos.DocumentFullTextPojo;
|
||||
import com.databasir.dao.tables.pojos.DocumentFullText;
|
||||
import com.databasir.dao.value.FullTextProjectInfoUpdatePojo;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -19,7 +19,7 @@ import java.util.Objects;
|
||||
import static com.databasir.dao.Tables.DOCUMENT_FULL_TEXT;
|
||||
|
||||
@Repository
|
||||
public class DocumentFullTextDao extends BaseDao<DocumentFullTextPojo> {
|
||||
public class DocumentFullTextDao extends BaseDao<DocumentFullText> {
|
||||
|
||||
public static final String[] EMPTY = new String[0];
|
||||
|
||||
@@ -28,10 +28,10 @@ public class DocumentFullTextDao extends BaseDao<DocumentFullTextPojo> {
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DocumentFullTextDao() {
|
||||
super(DOCUMENT_FULL_TEXT, DocumentFullTextPojo.class);
|
||||
super(DOCUMENT_FULL_TEXT, DocumentFullText.class);
|
||||
}
|
||||
|
||||
public Page<DocumentFullTextPojo> selectColumnPage(Pageable pageable, String keyword) {
|
||||
public Page<DocumentFullText> selectColumnPage(Pageable pageable, String keyword) {
|
||||
String[] matchCols = Indexes.DOCUMENT_FULL_TEXT_FIDX_COLUMN.getFields()
|
||||
.stream()
|
||||
.map(f -> f.getName())
|
||||
@@ -48,15 +48,15 @@ public class DocumentFullTextDao extends BaseDao<DocumentFullTextPojo> {
|
||||
.where(DOCUMENT_FULL_TEXT.TABLE_COLUMN_DOCUMENT_ID.isNotNull().and(fullTextMatchSqlSegment))
|
||||
.fetchOne(0, int.class);
|
||||
// content
|
||||
List<DocumentFullTextPojo> content = dslContext.select(DOCUMENT_FULL_TEXT.fields())
|
||||
List<DocumentFullText> content = dslContext.select(DOCUMENT_FULL_TEXT.fields())
|
||||
.from(DOCUMENT_FULL_TEXT)
|
||||
.where(DOCUMENT_FULL_TEXT.TABLE_COLUMN_DOCUMENT_ID.isNotNull().and(fullTextMatchSqlSegment))
|
||||
.limit(pageable.getOffset(), pageable.getPageSize())
|
||||
.fetchInto(DocumentFullTextPojo.class);
|
||||
.fetchInto(DocumentFullText.class);
|
||||
return new PageImpl<>(content, pageable, total.longValue());
|
||||
}
|
||||
|
||||
public Page<DocumentFullTextPojo> selectTablePage(Pageable pageable, String keyword) {
|
||||
public Page<DocumentFullText> selectTablePage(Pageable pageable, String keyword) {
|
||||
String[] matchCols = Indexes.DOCUMENT_FULL_TEXT_FIDX_TABLE.getFields()
|
||||
.stream()
|
||||
.map(f -> f.getName())
|
||||
@@ -91,18 +91,18 @@ public class DocumentFullTextDao extends BaseDao<DocumentFullTextPojo> {
|
||||
.and(fullTextMatchSqlSegment))
|
||||
.fetchOne(0, int.class);
|
||||
// content
|
||||
List<DocumentFullTextPojo> content = dslContext.select(groupColumns)
|
||||
List<DocumentFullText> content = dslContext.select(groupColumns)
|
||||
.from(DOCUMENT_FULL_TEXT)
|
||||
.where(DOCUMENT_FULL_TEXT.PROJECT_ID.isNotNull()
|
||||
.and(DOCUMENT_FULL_TEXT.TABLE_DOCUMENT_ID.isNotNull())
|
||||
.and(fullTextMatchSqlSegment))
|
||||
.groupBy(groupColumns)
|
||||
.limit(pageable.getOffset(), pageable.getPageSize())
|
||||
.fetchInto(DocumentFullTextPojo.class);
|
||||
.fetchInto(DocumentFullText.class);
|
||||
return new PageImpl<>(content, pageable, total.longValue());
|
||||
}
|
||||
|
||||
public Page<DocumentFullTextPojo> selectProjectPage(Pageable pageable, String keyword) {
|
||||
public Page<DocumentFullText> selectProjectPage(Pageable pageable, String keyword) {
|
||||
String[] matchCols = Indexes.DOCUMENT_FULL_TEXT_FIDX_PROJECT.getFields()
|
||||
.stream()
|
||||
.map(f -> f.getName())
|
||||
@@ -121,17 +121,17 @@ public class DocumentFullTextDao extends BaseDao<DocumentFullTextPojo> {
|
||||
.and(fullTextMatchSqlSegment))
|
||||
.fetchOne(0, int.class);
|
||||
// content
|
||||
List<DocumentFullTextPojo> content = dslContext.select(DOCUMENT_FULL_TEXT.fields())
|
||||
List<DocumentFullText> content = dslContext.select(DOCUMENT_FULL_TEXT.fields())
|
||||
.from(DOCUMENT_FULL_TEXT)
|
||||
.where(DOCUMENT_FULL_TEXT.PROJECT_ID.isNotNull()
|
||||
.and(DOCUMENT_FULL_TEXT.TABLE_DOCUMENT_ID.isNull())
|
||||
.and(fullTextMatchSqlSegment))
|
||||
.limit(pageable.getOffset(), pageable.getPageSize())
|
||||
.fetchInto(DocumentFullTextPojo.class);
|
||||
.fetchInto(DocumentFullText.class);
|
||||
return new PageImpl<>(content, pageable, total.longValue());
|
||||
}
|
||||
|
||||
public Page<DocumentFullTextPojo> selectGroupPage(Pageable pageable, String keyword) {
|
||||
public Page<DocumentFullText> selectGroupPage(Pageable pageable, String keyword) {
|
||||
String[] matchCols = Indexes.DOCUMENT_FULL_TEXT_FIDX_GROUP.getFields()
|
||||
.stream()
|
||||
.map(f -> f.getName())
|
||||
@@ -150,13 +150,13 @@ public class DocumentFullTextDao extends BaseDao<DocumentFullTextPojo> {
|
||||
.and(fullTextMatchSqlSegment))
|
||||
.fetchOne(0, int.class);
|
||||
// content
|
||||
List<DocumentFullTextPojo> content = dslContext.select(DOCUMENT_FULL_TEXT.fields())
|
||||
List<DocumentFullText> content = dslContext.select(DOCUMENT_FULL_TEXT.fields())
|
||||
.from(DOCUMENT_FULL_TEXT)
|
||||
.where(DOCUMENT_FULL_TEXT.GROUP_ID.isNotNull()
|
||||
.and(DOCUMENT_FULL_TEXT.PROJECT_ID.isNull())
|
||||
.and(fullTextMatchSqlSegment))
|
||||
.limit(pageable.getOffset(), pageable.getPageSize())
|
||||
.fetchInto(DocumentFullTextPojo.class);
|
||||
.fetchInto(DocumentFullText.class);
|
||||
return new PageImpl<>(content, pageable, total.longValue());
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.DocumentTemplatePropertyPojo;
|
||||
import com.databasir.dao.tables.pojos.DocumentTemplateProperty;
|
||||
import com.databasir.dao.tables.records.DocumentTemplatePropertyRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -15,17 +15,17 @@ import java.util.stream.Collectors;
|
||||
import static com.databasir.dao.Tables.DOCUMENT_TEMPLATE_PROPERTY;
|
||||
|
||||
@Repository
|
||||
public class DocumentTemplatePropertyDao extends BaseDao<DocumentTemplatePropertyPojo> {
|
||||
public class DocumentTemplatePropertyDao extends BaseDao<DocumentTemplateProperty> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public DocumentTemplatePropertyDao() {
|
||||
super(DOCUMENT_TEMPLATE_PROPERTY, DocumentTemplatePropertyPojo.class);
|
||||
super(DOCUMENT_TEMPLATE_PROPERTY, DocumentTemplateProperty.class);
|
||||
}
|
||||
|
||||
public void batchInsertOnDuplicateUpdateDefaultValue(Collection<DocumentTemplatePropertyPojo> data) {
|
||||
public void batchInsertOnDuplicateUpdateDefaultValue(Collection<DocumentTemplateProperty> data) {
|
||||
if (data == null || data.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
@@ -39,7 +39,7 @@ public class DocumentTemplatePropertyDao extends BaseDao<DocumentTemplatePropert
|
||||
getDslContext().batch(query).execute();
|
||||
}
|
||||
|
||||
public void batchInsertOnDuplicateKeyUpdateValue(Collection<DocumentTemplatePropertyPojo> data) {
|
||||
public void batchInsertOnDuplicateKeyUpdateValue(Collection<DocumentTemplateProperty> data) {
|
||||
if (data == null || data.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.GroupPojo;
|
||||
import com.databasir.dao.tables.pojos.Group;
|
||||
import lombok.Getter;
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -18,14 +18,14 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.GROUP;
|
||||
|
||||
@Repository
|
||||
public class GroupDao extends BaseDao<GroupPojo> {
|
||||
public class GroupDao extends BaseDao<Group> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public GroupDao() {
|
||||
super(GROUP, GroupPojo.class);
|
||||
super(GROUP, Group.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -36,46 +36,46 @@ public class GroupDao extends BaseDao<GroupPojo> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Page<GroupPojo> selectByPage(Pageable request, Condition condition) {
|
||||
public Page<Group> selectByPage(Pageable request, Condition condition) {
|
||||
return super.selectByPage(request, condition.and(GROUP.DELETED.eq(false)));
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends Serializable> Optional<GroupPojo> selectOptionalById(T id) {
|
||||
public <T extends Serializable> Optional<Group> selectOptionalById(T id) {
|
||||
return getDslContext()
|
||||
.select(GROUP.fields()).from(GROUP).where(GROUP.ID.eq((Integer) id).and(GROUP.DELETED.eq(false)))
|
||||
.fetchOptionalInto(GroupPojo.class);
|
||||
.fetchOptionalInto(Group.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<GroupPojo> selectInIds(Collection<? extends Serializable> ids) {
|
||||
public List<Group> selectInIds(Collection<? extends Serializable> ids) {
|
||||
if (ids == null || ids.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return getDslContext()
|
||||
.select(GROUP.fields()).from(GROUP)
|
||||
.where(GROUP.ID.in(ids)).and(GROUP.DELETED.eq(false))
|
||||
.fetchInto(GroupPojo.class);
|
||||
.fetchInto(Group.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* with deleted
|
||||
*/
|
||||
public List<GroupPojo> selectAllInIds(List<? extends Serializable> ids) {
|
||||
public List<Group> selectAllInIds(List<? extends Serializable> ids) {
|
||||
if (ids == null || ids.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return getDslContext()
|
||||
.select(GROUP.fields()).from(GROUP)
|
||||
.where(GROUP.ID.in(ids))
|
||||
.fetchInto(GroupPojo.class);
|
||||
.fetchInto(Group.class);
|
||||
}
|
||||
|
||||
public List<GroupPojo> selectByName(String nameContains) {
|
||||
public List<Group> selectByName(String nameContains) {
|
||||
return getDslContext()
|
||||
.select(GROUP.fields()).from(GROUP)
|
||||
.where(GROUP.NAME.contains(nameContains))
|
||||
.and(GROUP.DELETED.eq(false))
|
||||
.fetchInto(GroupPojo.class);
|
||||
.fetchInto(Group.class);
|
||||
}
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.LoginPojo;
|
||||
import com.databasir.dao.tables.pojos.Login;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -12,14 +12,14 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.LOGIN;
|
||||
|
||||
@Repository
|
||||
public class LoginDao extends BaseDao<LoginPojo> {
|
||||
public class LoginDao extends BaseDao<Login> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public LoginDao() {
|
||||
super(LOGIN, LoginPojo.class);
|
||||
super(LOGIN, Login.class);
|
||||
}
|
||||
|
||||
public void deleteByUserId(Integer userId) {
|
||||
@@ -28,23 +28,23 @@ public class LoginDao extends BaseDao<LoginPojo> {
|
||||
.execute();
|
||||
}
|
||||
|
||||
public Optional<LoginPojo> selectByUserId(Integer userId) {
|
||||
public Optional<Login> selectByUserId(Integer userId) {
|
||||
return getDslContext()
|
||||
.select(LOGIN.fields()).from(LOGIN).where(LOGIN.USER_ID.eq(userId))
|
||||
.fetchOptionalInto(LoginPojo.class);
|
||||
.fetchOptionalInto(Login.class);
|
||||
}
|
||||
|
||||
public Optional<LoginPojo> selectByRefreshToken(String refreshToken) {
|
||||
public Optional<Login> selectByRefreshToken(String refreshToken) {
|
||||
return getDslContext()
|
||||
.select(LOGIN.fields()).from(LOGIN).where(LOGIN.REFRESH_TOKEN.eq(refreshToken))
|
||||
.fetchOptionalInto(LoginPojo.class);
|
||||
.fetchOptionalInto(Login.class);
|
||||
}
|
||||
|
||||
public Optional<LoginPojo> selectByAccessToken(String accessToken) {
|
||||
public Optional<Login> selectByAccessToken(String accessToken) {
|
||||
return getDslContext()
|
||||
.selectFrom(LOGIN).where(LOGIN.ACCESS_TOKEN.eq(accessToken)
|
||||
.and(LOGIN.ACCESS_TOKEN_EXPIRE_AT.ge(LocalDateTime.now())))
|
||||
.fetchOptionalInto(LoginPojo.class);
|
||||
.fetchOptionalInto(Login.class);
|
||||
}
|
||||
|
||||
public void updateAccessToken(String accessToken, LocalDateTime accessTokenExpireAt, Integer userId) {
|
||||
@@ -56,19 +56,19 @@ public class LoginDao extends BaseDao<LoginPojo> {
|
||||
.execute();
|
||||
}
|
||||
|
||||
public void insertOnDuplicateKeyUpdate(LoginPojo loginPojo) {
|
||||
public void insertOnDuplicateKeyUpdate(Login login) {
|
||||
getDslContext()
|
||||
.insertInto(LOGIN)
|
||||
.set(LOGIN.USER_ID, loginPojo.getUserId())
|
||||
.set(LOGIN.ACCESS_TOKEN, loginPojo.getAccessToken())
|
||||
.set(LOGIN.ACCESS_TOKEN_EXPIRE_AT, loginPojo.getAccessTokenExpireAt())
|
||||
.set(LOGIN.REFRESH_TOKEN, loginPojo.getRefreshToken())
|
||||
.set(LOGIN.REFRESH_TOKEN_EXPIRE_AT, loginPojo.getRefreshTokenExpireAt())
|
||||
.set(LOGIN.USER_ID, login.getUserId())
|
||||
.set(LOGIN.ACCESS_TOKEN, login.getAccessToken())
|
||||
.set(LOGIN.ACCESS_TOKEN_EXPIRE_AT, login.getAccessTokenExpireAt())
|
||||
.set(LOGIN.REFRESH_TOKEN, login.getRefreshToken())
|
||||
.set(LOGIN.REFRESH_TOKEN_EXPIRE_AT, login.getRefreshTokenExpireAt())
|
||||
.onDuplicateKeyUpdate()
|
||||
.set(LOGIN.ACCESS_TOKEN, loginPojo.getAccessToken())
|
||||
.set(LOGIN.ACCESS_TOKEN_EXPIRE_AT, loginPojo.getAccessTokenExpireAt())
|
||||
.set(LOGIN.REFRESH_TOKEN, loginPojo.getRefreshToken())
|
||||
.set(LOGIN.REFRESH_TOKEN_EXPIRE_AT, loginPojo.getRefreshTokenExpireAt())
|
||||
.set(LOGIN.ACCESS_TOKEN, login.getAccessToken())
|
||||
.set(LOGIN.ACCESS_TOKEN_EXPIRE_AT, login.getAccessTokenExpireAt())
|
||||
.set(LOGIN.REFRESH_TOKEN, login.getRefreshToken())
|
||||
.set(LOGIN.REFRESH_TOKEN_EXPIRE_AT, login.getRefreshTokenExpireAt())
|
||||
.execute();
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.MockDataRulePojo;
|
||||
import com.databasir.dao.tables.pojos.MockDataRule;
|
||||
import com.databasir.dao.tables.records.MockDataRuleRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -15,32 +15,32 @@ import java.util.stream.Collectors;
|
||||
import static com.databasir.dao.Tables.MOCK_DATA_RULE;
|
||||
|
||||
@Repository
|
||||
public class MockDataRuleDao extends BaseDao<MockDataRulePojo> {
|
||||
public class MockDataRuleDao extends BaseDao<MockDataRule> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public MockDataRuleDao() {
|
||||
super(MOCK_DATA_RULE, MockDataRulePojo.class);
|
||||
super(MOCK_DATA_RULE, MockDataRule.class);
|
||||
}
|
||||
|
||||
public List<MockDataRulePojo> selectByProjectId(Integer projectId) {
|
||||
public List<MockDataRule> selectByProjectId(Integer projectId) {
|
||||
return this.getDslContext()
|
||||
.selectFrom(MOCK_DATA_RULE)
|
||||
.where(MOCK_DATA_RULE.PROJECT_ID.eq(projectId))
|
||||
.fetchInto(MockDataRulePojo.class);
|
||||
.fetchInto(MockDataRule.class);
|
||||
}
|
||||
|
||||
public List<MockDataRulePojo> selectByProjectIdAndTableName(Integer projectId, String tableName) {
|
||||
public List<MockDataRule> selectByProjectIdAndTableName(Integer projectId, String tableName) {
|
||||
return this.getDslContext()
|
||||
.selectFrom(MOCK_DATA_RULE)
|
||||
.where(MOCK_DATA_RULE.PROJECT_ID.eq(projectId)
|
||||
.and(MOCK_DATA_RULE.TABLE_NAME.eq(tableName)))
|
||||
.fetchInto(MockDataRulePojo.class);
|
||||
.fetchInto(MockDataRule.class);
|
||||
}
|
||||
|
||||
public void batchSave(Collection<MockDataRulePojo> data) {
|
||||
public void batchSave(Collection<MockDataRule> data) {
|
||||
if (data == null || data.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.exception.DataNotExistsException;
|
||||
import com.databasir.dao.tables.pojos.OauthAppPojo;
|
||||
import com.databasir.dao.tables.pojos.OauthApp;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -12,23 +12,23 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.OAUTH_APP;
|
||||
|
||||
@Repository
|
||||
public class OauthAppDao extends BaseDao<OauthAppPojo> {
|
||||
public class OauthAppDao extends BaseDao<OauthApp> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public OauthAppDao() {
|
||||
super(OAUTH_APP, OauthAppPojo.class);
|
||||
super(OAUTH_APP, OauthApp.class);
|
||||
}
|
||||
|
||||
public Optional<OauthAppPojo> selectOptionByRegistrationId(String registrationId) {
|
||||
public Optional<OauthApp> selectOptionByRegistrationId(String registrationId) {
|
||||
return this.getDslContext()
|
||||
.select(OAUTH_APP.fields()).from(OAUTH_APP).where(OAUTH_APP.REGISTRATION_ID.eq(registrationId))
|
||||
.fetchOptionalInto(OauthAppPojo.class);
|
||||
.fetchOptionalInto(OauthApp.class);
|
||||
}
|
||||
|
||||
public OauthAppPojo selectByRegistrationId(String registrationId) {
|
||||
public OauthApp selectByRegistrationId(String registrationId) {
|
||||
return this.selectOptionByRegistrationId(registrationId)
|
||||
.orElseThrow(() -> new DataNotExistsException("can not found oauth app by " + registrationId));
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.OperationLogPojo;
|
||||
import com.databasir.dao.tables.pojos.OperationLog;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -11,14 +11,14 @@ import java.io.Serializable;
|
||||
import static com.databasir.dao.Tables.OPERATION_LOG;
|
||||
|
||||
@Repository
|
||||
public class OperationLogDao extends BaseDao<OperationLogPojo> {
|
||||
public class OperationLogDao extends BaseDao<OperationLog> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public OperationLogDao() {
|
||||
super(OPERATION_LOG, OperationLogPojo.class);
|
||||
super(OPERATION_LOG, OperationLog.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -1,6 +1,6 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.tables.pojos.ProjectPojo;
|
||||
import com.databasir.dao.tables.pojos.Project;
|
||||
import com.databasir.dao.value.GroupProjectCountPojo;
|
||||
import lombok.Getter;
|
||||
import org.jooq.Condition;
|
||||
@@ -23,14 +23,14 @@ import static com.databasir.dao.Tables.DATA_SOURCE;
|
||||
import static com.databasir.dao.Tables.PROJECT;
|
||||
|
||||
@Repository
|
||||
public class ProjectDao extends BaseDao<ProjectPojo> {
|
||||
public class ProjectDao extends BaseDao<Project> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public ProjectDao() {
|
||||
super(PROJECT, ProjectPojo.class);
|
||||
super(PROJECT, Project.class);
|
||||
}
|
||||
|
||||
public int updateDeletedById(boolean b, Integer projectId) {
|
||||
@@ -41,11 +41,11 @@ public class ProjectDao extends BaseDao<ProjectPojo> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends Serializable> Optional<ProjectPojo> selectOptionalById(T id) {
|
||||
public <T extends Serializable> Optional<Project> selectOptionalById(T id) {
|
||||
return getDslContext()
|
||||
.select(PROJECT.fields()).from(PROJECT)
|
||||
.where(identity().eq(id).and(PROJECT.DELETED.eq(false)))
|
||||
.fetchOptionalInto(ProjectPojo.class);
|
||||
.fetchOptionalInto(Project.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -60,19 +60,19 @@ public class ProjectDao extends BaseDao<ProjectPojo> {
|
||||
.and(PROJECT.DELETED.eq(false)));
|
||||
}
|
||||
|
||||
public Page<ProjectPojo> selectByCondition(Pageable request, Condition condition) {
|
||||
public Page<Project> selectByCondition(Pageable request, Condition condition) {
|
||||
int total = getDslContext()
|
||||
.selectCount().from(PROJECT)
|
||||
.innerJoin(DATA_SOURCE).on(DATA_SOURCE.PROJECT_ID.eq(PROJECT.ID))
|
||||
.where(condition)
|
||||
.fetchOne(0, int.class);
|
||||
List<ProjectPojo> data = getDslContext()
|
||||
List<Project> data = getDslContext()
|
||||
.select(PROJECT.fields()).from(PROJECT)
|
||||
.innerJoin(DATA_SOURCE).on(DATA_SOURCE.PROJECT_ID.eq(PROJECT.ID))
|
||||
.where(condition)
|
||||
.orderBy(getSortFields(request.getSort()))
|
||||
.offset(request.getOffset()).limit(request.getPageSize())
|
||||
.fetchInto(ProjectPojo.class);
|
||||
.fetchInto(Project.class);
|
||||
return new PageImpl<>(data, request, total);
|
||||
}
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.exception.DataNotExistsException;
|
||||
import com.databasir.dao.tables.ProjectSyncRule;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncRulePojo;
|
||||
import com.databasir.dao.tables.ProjectSyncRuleTable;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncRule;
|
||||
import com.databasir.dao.tables.records.ProjectSyncRuleRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -16,35 +16,35 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.PROJECT_SYNC_RULE;
|
||||
|
||||
@Repository
|
||||
public class ProjectSyncRuleDao extends BaseDao<ProjectSyncRulePojo> {
|
||||
public class ProjectSyncRuleDao extends BaseDao<ProjectSyncRule> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public ProjectSyncRuleDao() {
|
||||
super(PROJECT_SYNC_RULE, ProjectSyncRulePojo.class);
|
||||
super(PROJECT_SYNC_RULE, ProjectSyncRule.class);
|
||||
}
|
||||
|
||||
public Optional<ProjectSyncRulePojo> selectOptionalByProjectId(Integer projectId) {
|
||||
public Optional<ProjectSyncRule> selectOptionalByProjectId(Integer projectId) {
|
||||
return getDslContext()
|
||||
.select(PROJECT_SYNC_RULE.fields()).from(PROJECT_SYNC_RULE)
|
||||
.where(PROJECT_SYNC_RULE.PROJECT_ID.eq(projectId))
|
||||
.fetchOptionalInto(ProjectSyncRulePojo.class);
|
||||
.fetchOptionalInto(ProjectSyncRule.class);
|
||||
}
|
||||
|
||||
public ProjectSyncRulePojo selectByProjectId(Integer projectId) {
|
||||
public ProjectSyncRule selectByProjectId(Integer projectId) {
|
||||
return getDslContext()
|
||||
.select(PROJECT_SYNC_RULE.fields()).from(PROJECT_SYNC_RULE)
|
||||
.where(PROJECT_SYNC_RULE.PROJECT_ID.eq(projectId))
|
||||
.fetchOptionalInto(ProjectSyncRulePojo.class)
|
||||
.fetchOptionalInto(ProjectSyncRule.class)
|
||||
.orElseThrow(() -> new DataNotExistsException("data not exists in "
|
||||
+ table().getName()
|
||||
+ " with projectId = " + projectId));
|
||||
}
|
||||
|
||||
public int updateByProjectId(ProjectSyncRulePojo rule) {
|
||||
ProjectSyncRule table = PROJECT_SYNC_RULE;
|
||||
public int updateByProjectId(ProjectSyncRule rule) {
|
||||
ProjectSyncRuleTable table = PROJECT_SYNC_RULE;
|
||||
ProjectSyncRuleRecord record = getDslContext().newRecord(table, rule);
|
||||
record.changed(table.ID, false);
|
||||
record.changed(table.PROJECT_ID, false);
|
||||
@@ -59,16 +59,16 @@ public class ProjectSyncRuleDao extends BaseDao<ProjectSyncRulePojo> {
|
||||
.execute();
|
||||
}
|
||||
|
||||
public List<ProjectSyncRulePojo> selectInProjectIds(List<Integer> projectIds) {
|
||||
public List<ProjectSyncRule> selectInProjectIds(List<Integer> projectIds) {
|
||||
if (projectIds == null || projectIds.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return getDslContext()
|
||||
.selectFrom(PROJECT_SYNC_RULE).where(PROJECT_SYNC_RULE.PROJECT_ID.in(projectIds))
|
||||
.fetchInto(ProjectSyncRulePojo.class);
|
||||
.fetchInto(ProjectSyncRule.class);
|
||||
}
|
||||
|
||||
public List<ProjectSyncRulePojo> selectByIsAutoSyncAndProjectIds(boolean isAutoSync, List<Integer> projectIds) {
|
||||
public List<ProjectSyncRule> selectByIsAutoSyncAndProjectIds(boolean isAutoSync, List<Integer> projectIds) {
|
||||
if (projectIds == null || projectIds.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
@@ -77,21 +77,21 @@ public class ProjectSyncRuleDao extends BaseDao<ProjectSyncRulePojo> {
|
||||
PROJECT_SYNC_RULE.IS_AUTO_SYNC.eq(isAutoSync)
|
||||
.and(PROJECT_SYNC_RULE.PROJECT_ID.in(projectIds))
|
||||
)
|
||||
.fetchInto(ProjectSyncRulePojo.class);
|
||||
.fetchInto(ProjectSyncRule.class);
|
||||
}
|
||||
|
||||
public List<ProjectSyncRulePojo> selectByIsAutoSyncAndNotInProjectIds(boolean isAutoSync,
|
||||
public List<ProjectSyncRule> selectByIsAutoSyncAndNotInProjectIds(boolean isAutoSync,
|
||||
List<Integer> projectIds) {
|
||||
if (projectIds == null || projectIds.isEmpty()) {
|
||||
return getDslContext()
|
||||
.selectFrom(PROJECT_SYNC_RULE)
|
||||
.where(PROJECT_SYNC_RULE.IS_AUTO_SYNC.eq(isAutoSync)
|
||||
.and(PROJECT_SYNC_RULE.PROJECT_ID.notIn(projectIds)))
|
||||
.fetchInto(ProjectSyncRulePojo.class);
|
||||
.fetchInto(ProjectSyncRule.class);
|
||||
} else {
|
||||
return getDslContext()
|
||||
.selectFrom(PROJECT_SYNC_RULE).where(PROJECT_SYNC_RULE.IS_AUTO_SYNC.eq(isAutoSync))
|
||||
.fetchInto(ProjectSyncRulePojo.class);
|
||||
.fetchInto(ProjectSyncRule.class);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.enums.ProjectSyncTaskStatus;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncTaskPojo;
|
||||
import com.databasir.dao.tables.pojos.ProjectSyncTask;
|
||||
import com.databasir.dao.tables.records.ProjectSyncTaskRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -16,14 +16,14 @@ import java.util.List;
|
||||
import static com.databasir.dao.Tables.PROJECT_SYNC_TASK;
|
||||
|
||||
@Repository
|
||||
public class ProjectSyncTaskDao extends BaseDao<ProjectSyncTaskPojo> {
|
||||
public class ProjectSyncTaskDao extends BaseDao<ProjectSyncTask> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public ProjectSyncTaskDao() {
|
||||
super(PROJECT_SYNC_TASK, ProjectSyncTaskPojo.class);
|
||||
super(PROJECT_SYNC_TASK, ProjectSyncTask.class);
|
||||
}
|
||||
|
||||
public boolean existsByProjectId(Integer projectId, Collection<ProjectSyncTaskStatus> statusIn) {
|
||||
@@ -34,13 +34,13 @@ public class ProjectSyncTaskDao extends BaseDao<ProjectSyncTaskPojo> {
|
||||
PROJECT_SYNC_TASK.PROJECT_ID.eq(projectId).and(PROJECT_SYNC_TASK.STATUS.in(statusIn)));
|
||||
}
|
||||
|
||||
public List<ProjectSyncTaskPojo> listNewTasks(Integer size) {
|
||||
public List<ProjectSyncTask> listNewTasks(Integer size) {
|
||||
return dslContext
|
||||
.selectFrom(PROJECT_SYNC_TASK)
|
||||
.where(PROJECT_SYNC_TASK.STATUS.eq(ProjectSyncTaskStatus.NEW))
|
||||
.orderBy(PROJECT_SYNC_TASK.ID.asc())
|
||||
.limit(size)
|
||||
.fetchInto(ProjectSyncTaskPojo.class);
|
||||
.fetchInto(ProjectSyncTask.class);
|
||||
}
|
||||
|
||||
public int updateStatusAndResultById(Integer taskId, ProjectSyncTaskStatus status, String result) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.exception.DataNotExistsException;
|
||||
import com.databasir.dao.tables.pojos.SysKeyPojo;
|
||||
import com.databasir.dao.tables.pojos.SysKey;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -12,23 +12,23 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.SYS_KEY;
|
||||
|
||||
@Repository
|
||||
public class SysKeyDao extends BaseDao<SysKeyPojo> {
|
||||
public class SysKeyDao extends BaseDao<SysKey> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public SysKeyDao() {
|
||||
super(SYS_KEY, SysKeyPojo.class);
|
||||
super(SYS_KEY, SysKey.class);
|
||||
}
|
||||
|
||||
public Optional<SysKeyPojo> selectOptionTopOne() {
|
||||
public Optional<SysKey> selectOptionTopOne() {
|
||||
return dslContext.select(SYS_KEY.fields()).from(SYS_KEY)
|
||||
.limit(1)
|
||||
.fetchOptionalInto(SysKeyPojo.class);
|
||||
.fetchOptionalInto(SysKey.class);
|
||||
}
|
||||
|
||||
public SysKeyPojo selectTopOne() {
|
||||
public SysKey selectTopOne() {
|
||||
return selectOptionTopOne()
|
||||
.orElseThrow(() -> new DataNotExistsException("no syskey data find"));
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.databasir.dao.impl;
|
||||
|
||||
import com.databasir.dao.exception.DataNotExistsException;
|
||||
import com.databasir.dao.tables.pojos.SysMailPojo;
|
||||
import com.databasir.dao.tables.pojos.SysMail;
|
||||
import com.databasir.dao.tables.records.SysMailRecord;
|
||||
import lombok.Getter;
|
||||
import org.jooq.DSLContext;
|
||||
@@ -13,29 +13,29 @@ import java.util.Optional;
|
||||
import static com.databasir.dao.Tables.SYS_MAIL;
|
||||
|
||||
@Repository
|
||||
public class SysMailDao extends BaseDao<SysMailPojo> {
|
||||
public class SysMailDao extends BaseDao<SysMail> {
|
||||
|
||||
@Autowired
|
||||
@Getter
|
||||
private DSLContext dslContext;
|
||||
|
||||
public SysMailDao() {
|
||||
super(SYS_MAIL, SysMailPojo.class);
|
||||
super(SYS_MAIL, SysMail.class);
|
||||
}
|
||||
|
||||
public Optional<SysMailPojo> selectOptionTopOne() {
|
||||
public Optional<SysMail> selectOptionTopOne() {
|
||||
return dslContext.select(SYS_MAIL.fields()).from(SYS_MAIL)
|
||||
.limit(1)
|
||||
.fetchOptionalInto(SysMailPojo.class);
|
||||
.fetchOptionalInto(SysMail.class);
|
||||
}
|
||||
|
||||
public SysMailPojo selectTopOne() {
|
||||
public SysMail selectTopOne() {
|
||||
return selectOptionTopOne()
|
||||
.orElseThrow(() -> new DataNotExistsException("no sysmail data find"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateById(SysMailPojo pojo) {
|
||||
public int updateById(SysMail pojo) {
|
||||
SysMailRecord record = getDslContext().newRecord(SYS_MAIL, pojo);
|
||||
record.changed(SYS_MAIL.ID, false);
|
||||
if (pojo.getPassword() == null) {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user