1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.upgrade.v4_3_0.util;
16  
17  import java.sql.Types;
18  
19  /**
20   * <a href="ShoppingItemTable.java.html"><b><i>View Source</i></b></a>
21   *
22   * @author    Brian Wing Shun Chan
23   * @generated
24   */
25  public class ShoppingItemTable {
26  
27      public static String TABLE_NAME = "ShoppingItem";
28  
29      public static Object[][] TABLE_COLUMNS = {
30          {"itemId", new Integer(Types.BIGINT)},
31          {"companyId", new Integer(Types.BIGINT)},
32          {"userId", new Integer(Types.BIGINT)},
33          {"userName", new Integer(Types.VARCHAR)},
34          {"createDate", new Integer(Types.TIMESTAMP)},
35          {"modifiedDate", new Integer(Types.TIMESTAMP)},
36          {"categoryId", new Integer(Types.BIGINT)},
37          {"sku", new Integer(Types.VARCHAR)},
38          {"name", new Integer(Types.VARCHAR)},
39          {"description", new Integer(Types.VARCHAR)},
40          {"properties", new Integer(Types.VARCHAR)},
41          {"fields_", new Integer(Types.BOOLEAN)},
42          {"fieldsQuantities", new Integer(Types.VARCHAR)},
43          {"minQuantity", new Integer(Types.INTEGER)},
44          {"maxQuantity", new Integer(Types.INTEGER)},
45          {"price", new Integer(Types.DOUBLE)},
46          {"discount", new Integer(Types.DOUBLE)},
47          {"taxable", new Integer(Types.BOOLEAN)},
48          {"shipping", new Integer(Types.DOUBLE)},
49          {"useShippingFormula", new Integer(Types.BOOLEAN)},
50          {"requiresShipping", new Integer(Types.BOOLEAN)},
51          {"stockQuantity", new Integer(Types.INTEGER)},
52          {"featured_", new Integer(Types.BOOLEAN)},
53          {"sale_", new Integer(Types.BOOLEAN)},
54          {"smallImage", new Integer(Types.BOOLEAN)},
55          {"smallImageId", new Integer(Types.BIGINT)},
56          {"smallImageURL", new Integer(Types.VARCHAR)},
57          {"mediumImage", new Integer(Types.BOOLEAN)},
58          {"mediumImageId", new Integer(Types.BIGINT)},
59          {"mediumImageURL", new Integer(Types.VARCHAR)},
60          {"largeImage", new Integer(Types.BOOLEAN)},
61          {"largeImageId", new Integer(Types.BIGINT)},
62          {"largeImageURL", new Integer(Types.VARCHAR)}
63      };
64  
65      public static String TABLE_SQL_CREATE = "create table ShoppingItem (itemId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,categoryId LONG,sku VARCHAR(75) null,name VARCHAR(200) null,description STRING null,properties STRING null,fields_ BOOLEAN,fieldsQuantities STRING null,minQuantity INTEGER,maxQuantity INTEGER,price DOUBLE,discount DOUBLE,taxable BOOLEAN,shipping DOUBLE,useShippingFormula BOOLEAN,requiresShipping BOOLEAN,stockQuantity INTEGER,featured_ BOOLEAN,sale_ BOOLEAN,smallImage BOOLEAN,smallImageId LONG,smallImageURL VARCHAR(75) null,mediumImage BOOLEAN,mediumImageId LONG,mediumImageURL VARCHAR(75) null,largeImage BOOLEAN,largeImageId LONG,largeImageURL VARCHAR(75) null)";
66  
67      public static String TABLE_SQL_DROP = "drop table ShoppingItem";
68  
69  }