com.liferay.object.model.ObjectLayoutTable Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.object.model;
import com.liferay.petra.sql.dsl.Column;
import com.liferay.petra.sql.dsl.base.BaseTable;
import java.sql.Types;
import java.util.Date;
/**
* The table class for the "ObjectLayout" database table.
*
* @author Marco Leo
* @see ObjectLayout
* @generated
*/
public class ObjectLayoutTable extends BaseTable {
public static final ObjectLayoutTable INSTANCE = new ObjectLayoutTable();
public final Column mvccVersion = createColumn(
"mvccVersion", Long.class, Types.BIGINT, Column.FLAG_NULLITY);
public final Column uuid = createColumn(
"uuid_", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column objectLayoutId = createColumn(
"objectLayoutId", Long.class, Types.BIGINT, Column.FLAG_PRIMARY);
public final Column companyId = createColumn(
"companyId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column userId = createColumn(
"userId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column userName = createColumn(
"userName", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column createDate = createColumn(
"createDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);
public final Column modifiedDate = createColumn(
"modifiedDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);
public final Column objectDefinitionId =
createColumn(
"objectDefinitionId", Long.class, Types.BIGINT,
Column.FLAG_DEFAULT);
public final Column defaultObjectLayout =
createColumn(
"defaultObjectLayout", Boolean.class, Types.BOOLEAN,
Column.FLAG_DEFAULT);
public final Column name = createColumn(
"name", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
private ObjectLayoutTable() {
super("ObjectLayout", ObjectLayoutTable::new);
}
}