1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.upgrade.v4_3_0.util;
16  
17  import java.sql.Types;
18  
19  /**
20   * <a href="ShoppingOrderTable.java.html"><b><i>View Source</i></b></a>
21   *
22   * @author    Brian Wing Shun Chan
23   * @generated
24   */
25  public class ShoppingOrderTable {
26  
27      public static String TABLE_NAME = "ShoppingOrder";
28  
29      public static Object[][] TABLE_COLUMNS = {
30          {"orderId", new Integer(Types.BIGINT)},
31          {"groupId", new Integer(Types.BIGINT)},
32          {"companyId", new Integer(Types.BIGINT)},
33          {"userId", new Integer(Types.BIGINT)},
34          {"userName", new Integer(Types.VARCHAR)},
35          {"createDate", new Integer(Types.TIMESTAMP)},
36          {"modifiedDate", new Integer(Types.TIMESTAMP)},
37          {"number_", new Integer(Types.VARCHAR)},
38          {"tax", new Integer(Types.DOUBLE)},
39          {"shipping", new Integer(Types.DOUBLE)},
40          {"altShipping", new Integer(Types.VARCHAR)},
41          {"requiresShipping", new Integer(Types.BOOLEAN)},
42          {"insure", new Integer(Types.BOOLEAN)},
43          {"insurance", new Integer(Types.DOUBLE)},
44          {"couponCodes", new Integer(Types.VARCHAR)},
45          {"couponDiscount", new Integer(Types.DOUBLE)},
46          {"billingFirstName", new Integer(Types.VARCHAR)},
47          {"billingLastName", new Integer(Types.VARCHAR)},
48          {"billingEmailAddress", new Integer(Types.VARCHAR)},
49          {"billingCompany", new Integer(Types.VARCHAR)},
50          {"billingStreet", new Integer(Types.VARCHAR)},
51          {"billingCity", new Integer(Types.VARCHAR)},
52          {"billingState", new Integer(Types.VARCHAR)},
53          {"billingZip", new Integer(Types.VARCHAR)},
54          {"billingCountry", new Integer(Types.VARCHAR)},
55          {"billingPhone", new Integer(Types.VARCHAR)},
56          {"shipToBilling", new Integer(Types.BOOLEAN)},
57          {"shippingFirstName", new Integer(Types.VARCHAR)},
58          {"shippingLastName", new Integer(Types.VARCHAR)},
59          {"shippingEmailAddress", new Integer(Types.VARCHAR)},
60          {"shippingCompany", new Integer(Types.VARCHAR)},
61          {"shippingStreet", new Integer(Types.VARCHAR)},
62          {"shippingCity", new Integer(Types.VARCHAR)},
63          {"shippingState", new Integer(Types.VARCHAR)},
64          {"shippingZip", new Integer(Types.VARCHAR)},
65          {"shippingCountry", new Integer(Types.VARCHAR)},
66          {"shippingPhone", new Integer(Types.VARCHAR)},
67          {"ccName", new Integer(Types.VARCHAR)},
68          {"ccType", new Integer(Types.VARCHAR)},
69          {"ccNumber", new Integer(Types.VARCHAR)},
70          {"ccExpMonth", new Integer(Types.INTEGER)},
71          {"ccExpYear", new Integer(Types.INTEGER)},
72          {"ccVerNumber", new Integer(Types.VARCHAR)},
73          {"comments", new Integer(Types.VARCHAR)},
74          {"ppTxnId", new Integer(Types.VARCHAR)},
75          {"ppPaymentStatus", new Integer(Types.VARCHAR)},
76          {"ppPaymentGross", new Integer(Types.DOUBLE)},
77          {"ppReceiverEmail", new Integer(Types.VARCHAR)},
78          {"ppPayerEmail", new Integer(Types.VARCHAR)},
79          {"sendOrderEmail", new Integer(Types.BOOLEAN)},
80          {"sendShippingEmail", new Integer(Types.BOOLEAN)}
81      };
82  
83      public static String TABLE_SQL_CREATE = "create table ShoppingOrder (orderId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,number_ VARCHAR(75) null,tax DOUBLE,shipping DOUBLE,altShipping VARCHAR(75) null,requiresShipping BOOLEAN,insure BOOLEAN,insurance DOUBLE,couponCodes VARCHAR(75) null,couponDiscount DOUBLE,billingFirstName VARCHAR(75) null,billingLastName VARCHAR(75) null,billingEmailAddress VARCHAR(75) null,billingCompany VARCHAR(75) null,billingStreet VARCHAR(75) null,billingCity VARCHAR(75) null,billingState VARCHAR(75) null,billingZip VARCHAR(75) null,billingCountry VARCHAR(75) null,billingPhone VARCHAR(75) null,shipToBilling BOOLEAN,shippingFirstName VARCHAR(75) null,shippingLastName VARCHAR(75) null,shippingEmailAddress VARCHAR(75) null,shippingCompany VARCHAR(75) null,shippingStreet VARCHAR(75) null,shippingCity VARCHAR(75) null,shippingState VARCHAR(75) null,shippingZip VARCHAR(75) null,shippingCountry VARCHAR(75) null,shippingPhone VARCHAR(75) null,ccName VARCHAR(75) null,ccType VARCHAR(75) null,ccNumber VARCHAR(75) null,ccExpMonth INTEGER,ccExpYear INTEGER,ccVerNumber VARCHAR(75) null,comments STRING null,ppTxnId VARCHAR(75) null,ppPaymentStatus VARCHAR(75) null,ppPaymentGross DOUBLE,ppReceiverEmail VARCHAR(75) null,ppPayerEmail VARCHAR(75) null,sendOrderEmail BOOLEAN,sendShippingEmail BOOLEAN)";
84  
85      public static String TABLE_SQL_DROP = "drop table ShoppingOrder";
86  
87  }