Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* 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.Clob;
import java.sql.Types;
import java.util.Date;
/**
* The table class for the "CommerceOrder" database table.
*
* @author Alessio Antonio Rendina
* @see CommerceOrder
* @generated
*/
public class CommerceOrderTable extends BaseTable {
public static final CommerceOrderTable INSTANCE = new CommerceOrderTable();
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 externalReferenceCode =
createColumn(
"externalReferenceCode", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column commerceOrderId =
createColumn(
"commerceOrderId", 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 billingAddressId =
createColumn(
"billingAddressId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column commerceAccountId =
createColumn(
"commerceAccountId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column commerceCurrencyId =
createColumn(
"commerceCurrencyId", Long.class, Types.BIGINT,
Column.FLAG_DEFAULT);
public final Column commerceOrderTypeId =
createColumn(
"commerceOrderTypeId", Long.class, Types.BIGINT,
Column.FLAG_DEFAULT);
public final Column commerceShippingMethodId =
createColumn(
"commerceShippingMethodId", Long.class, Types.BIGINT,
Column.FLAG_DEFAULT);
public final Column deliveryCommerceTermEntryId =
createColumn(
"deliveryCommerceTermEntryId", Long.class, Types.BIGINT,
Column.FLAG_DEFAULT);
public final Column paymentCommerceTermEntryId =
createColumn(
"paymentCommerceTermEntryId", Long.class, Types.BIGINT,
Column.FLAG_DEFAULT);
public final Column shippingAddressId =
createColumn(
"shippingAddressId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column advanceStatus =
createColumn(
"advanceStatus", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column commercePaymentMethodKey =
createColumn(
"commercePaymentMethodKey", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column couponCode = createColumn(
"couponCode", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column
deliveryCommerceTermEntryDescription = createColumn(
"deliveryCTermEntryDescription", Clob.class, Types.CLOB,
Column.FLAG_DEFAULT);
public final Column
deliveryCommerceTermEntryName = createColumn(
"deliveryCommerceTermEntryName", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column lastPriceUpdateDate =
createColumn(
"lastPriceUpdateDate", Date.class, Types.TIMESTAMP,
Column.FLAG_DEFAULT);
public final Column manuallyAdjusted =
createColumn(
"manuallyAdjusted", Boolean.class, Types.BOOLEAN,
Column.FLAG_DEFAULT);
public final Column name = createColumn(
"name", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column orderDate = createColumn(
"orderDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);
public final Column orderStatus = createColumn(
"orderStatus", Integer.class, Types.INTEGER, Column.FLAG_DEFAULT);
public final Column
paymentCommerceTermEntryDescription = createColumn(
"paymentCTermEntryDescription", Clob.class, Types.CLOB,
Column.FLAG_DEFAULT);
public final Column
paymentCommerceTermEntryName = createColumn(
"paymentCommerceTermEntryName", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column paymentStatus =
createColumn(
"paymentStatus", Integer.class, Types.INTEGER, Column.FLAG_DEFAULT);
public final Column printedNote = createColumn(
"printedNote", String.class, Types.VARCHAR, Column.FLAG_DEFAULT);
public final Column purchaseOrderNumber =
createColumn(
"purchaseOrderNumber", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column requestedDeliveryDate =
createColumn(
"requestedDeliveryDate", Date.class, Types.TIMESTAMP,
Column.FLAG_DEFAULT);
public final Column shippable = createColumn(
"shippable", Boolean.class, Types.BOOLEAN, Column.FLAG_DEFAULT);
public final Column shippingAmount =
createColumn(
"shippingAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column shippingDiscountAmount =
createColumn(
"shippingDiscountAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel1 = createColumn(
"shippingDiscountPercentLevel1", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel2 = createColumn(
"shippingDiscountPercentLevel2", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel3 = createColumn(
"shippingDiscountPercentLevel3", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel4 = createColumn(
"shippingDiscountPercentLevel4", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel1WithTaxAmount = createColumn(
"shippingDiscountPctLev1WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel2WithTaxAmount = createColumn(
"shippingDiscountPctLev2WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel3WithTaxAmount = createColumn(
"shippingDiscountPctLev3WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountPercentageLevel4WithTaxAmount = createColumn(
"shippingDiscountPctLev4WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
shippingDiscountWithTaxAmount = createColumn(
"shippingDiscountWithTaxAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column shippingOptionName =
createColumn(
"shippingOptionName", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column shippingWithTaxAmount =
createColumn(
"shippingWithTaxAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column subtotal = createColumn(
"subtotal", BigDecimal.class, Types.DECIMAL, Column.FLAG_DEFAULT);
public final Column subtotalDiscountAmount =
createColumn(
"subtotalDiscountAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel1 = createColumn(
"subtotalDiscountPercentLevel1", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel2 = createColumn(
"subtotalDiscountPercentLevel2", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel3 = createColumn(
"subtotalDiscountPercentLevel3", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel4 = createColumn(
"subtotalDiscountPercentLevel4", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel1WithTaxAmount = createColumn(
"subtotalDiscountPctLev1WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel2WithTaxAmount = createColumn(
"subtotalDiscountPctLev2WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel3WithTaxAmount = createColumn(
"subtotalDiscountPctLev3WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountPercentageLevel4WithTaxAmount = createColumn(
"subtotalDiscountPctLev4WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
subtotalDiscountWithTaxAmount = createColumn(
"subtotalDiscountWithTaxAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column subtotalWithTaxAmount =
createColumn(
"subtotalWithTaxAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column taxAmount =
createColumn(
"taxAmount", BigDecimal.class, Types.DECIMAL, Column.FLAG_DEFAULT);
public final Column total = createColumn(
"total", BigDecimal.class, Types.DECIMAL, Column.FLAG_DEFAULT);
public final Column totalDiscountAmount =
createColumn(
"totalDiscountAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel1 = createColumn(
"totalDiscountPercentageLevel1", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel2 = createColumn(
"totalDiscountPercentageLevel2", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel3 = createColumn(
"totalDiscountPercentageLevel3", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel4 = createColumn(
"totalDiscountPercentageLevel4", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel1WithTaxAmount = createColumn(
"totalDiscountPctLev1WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel2WithTaxAmount = createColumn(
"totalDiscountPctLev2WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel3WithTaxAmount = createColumn(
"totalDiscountPctLev3WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountPercentageLevel4WithTaxAmount = createColumn(
"totalDiscountPctLev4WithTax", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column
totalDiscountWithTaxAmount = createColumn(
"totalDiscountWithTaxAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column totalWithTaxAmount =
createColumn(
"totalWithTaxAmount", BigDecimal.class, Types.DECIMAL,
Column.FLAG_DEFAULT);
public final Column transactionId = createColumn(
"transactionId", Clob.class, Types.CLOB, Column.FLAG_DEFAULT);
public final Column status = createColumn(
"status", Integer.class, Types.INTEGER, Column.FLAG_DEFAULT);
public final Column statusByUserId = createColumn(
"statusByUserId", Long.class, Types.BIGINT, Column.FLAG_DEFAULT);
public final Column statusByUserName =
createColumn(
"statusByUserName", String.class, Types.VARCHAR,
Column.FLAG_DEFAULT);
public final Column statusDate = createColumn(
"statusDate", Date.class, Types.TIMESTAMP, Column.FLAG_DEFAULT);
private CommerceOrderTable() {
super("CommerceOrder", CommerceOrderTable::new);
}
}