All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.commerce.model.CPDefinitionInventoryTable Maven / Gradle / Ivy

There is a newer version: 87.0.0
Show newest version
/**
 * 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.commerce.model;

import com.liferay.petra.sql.dsl.Column;
import com.liferay.petra.sql.dsl.base.BaseTable;

import java.math.BigDecimal;

import java.sql.Types;

import java.util.Date;

/**
 * The table class for the "CPDefinitionInventory" database table.
 *
 * @author Alessio Antonio Rendina
 * @see CPDefinitionInventory
 * @generated
 */
public class CPDefinitionInventoryTable
	extends BaseTable {

	public static final CPDefinitionInventoryTable INSTANCE =
		new CPDefinitionInventoryTable();

	public final Column mvccVersion =
		createColumn(
			"mvccVersion", Long.class, Types.BIGINT, Column.FLAG_NULLITY);
	public final Column ctCollectionId =
		createColumn(
			"ctCollectionId", Long.class, Types.BIGINT, Column.FLAG_PRIMARY);
	public final Column uuid = createColumn(
		"uuid_", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
	public final Column
		CPDefinitionInventoryId = createColumn(
			"CPDefinitionInventoryId", Long.class, Types.BIGINT,
			Column.FLAG_PRIMARY);
	public final Column groupId =
		createColumn("groupId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
	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 CPDefinitionId =
		createColumn(
			"CPDefinitionId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
	public final Column
		CPDefinitionInventoryEngine = createColumn(
			"CPDefinitionInventoryEngine", String.class, Types.VARCHAR,
			Column.FLAG_DEFAULT);
	public final Column lowStockActivity =
		createColumn(
			"lowStockActivity", String.class, Types.VARCHAR,
			Column.FLAG_DEFAULT);
	public final Column
		displayAvailability = createColumn(
			"displayAvailability", Boolean.class, Types.BOOLEAN,
			Column.FLAG_DEFAULT);
	public final Column
		displayStockQuantity = createColumn(
			"displayStockQuantity", Boolean.class, Types.BOOLEAN,
			Column.FLAG_DEFAULT);
	public final Column
		minStockQuantity = createColumn(
			"minStockQuantity", BigDecimal.class, Types.DECIMAL,
			Column.FLAG_DEFAULT);
	public final Column backOrders =
		createColumn(
			"backOrders", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
	public final Column
		minOrderQuantity = createColumn(
			"minOrderQuantity", BigDecimal.class, Types.DECIMAL,
			Column.FLAG_DEFAULT);
	public final Column
		maxOrderQuantity = createColumn(
			"maxOrderQuantity", BigDecimal.class, Types.DECIMAL,
			Column.FLAG_DEFAULT);
	public final Column
		allowedOrderQuantities = createColumn(
			"allowedOrderQuantities", String.class, Types.VARCHAR,
			Column.FLAG_DEFAULT);
	public final Column
		multipleOrderQuantity = createColumn(
			"multipleOrderQuantity", BigDecimal.class, Types.DECIMAL,
			Column.FLAG_DEFAULT);

	private CPDefinitionInventoryTable() {
		super("CPDefinitionInventory", CPDefinitionInventoryTable::new);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy