com.liferay.object.model.ObjectStateTable 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 "ObjectState" database table.
*
* @author Marco Leo
* @see ObjectState
* @generated
*/
public class ObjectStateTable extends BaseTable {
public static final ObjectStateTable INSTANCE = new ObjectStateTable();
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 objectStateId = createColumn(
"objectStateId", 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 listTypeEntryId = createColumn(
"listTypeEntryId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column objectStateFlowId =
createColumn(
"objectStateFlowId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
private ObjectStateTable() {
super("ObjectState", ObjectStateTable::new);
}
}