package com.aimluck.eip.cayenne.om.portlet.auto;

/** Class _AvzTLunchUserOrder was generated by Cayenne.
  * It is probably a good idea to avoid changing this class manually, 
  * since it may be overwritten next time code is regenerated. 
  * If you need to make any customizations, please use subclass. 
  */
public class _AvzTLunchUserOrder extends org.apache.cayenne.CayenneDataObject {

    public static final String ITEM_ID_PROPERTY = "itemId";
    public static final String ORDER_AMOUNT_PROPERTY = "orderAmount";
    public static final String ORDER_DATE_PROPERTY = "orderDate";
    public static final String USER_ID_PROPERTY = "userId";
    public static final String TO_AVZ_TLUNCH_ORDER_ITEM_PROPERTY = "toAvzTLunchOrderItem";

    public static final String ID_PK_COLUMN = "id";

    public void setItemId(Integer itemId) {
        writeProperty("itemId", itemId);
    }
    public Integer getItemId() {
        return (Integer)readProperty("itemId");
    }
    
    
    public void setOrderAmount(Integer orderAmount) {
        writeProperty("orderAmount", orderAmount);
    }
    public Integer getOrderAmount() {
        return (Integer)readProperty("orderAmount");
    }
    
    
    public void setOrderDate(java.util.Date orderDate) {
        writeProperty("orderDate", orderDate);
    }
    public java.util.Date getOrderDate() {
        return (java.util.Date)readProperty("orderDate");
    }
    
    
    public void setUserId(Integer userId) {
        writeProperty("userId", userId);
    }
    public Integer getUserId() {
        return (Integer)readProperty("userId");
    }
    
    
    public void setToAvzTLunchOrderItem(com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrderItem toAvzTLunchOrderItem) {
        setToOneTarget("toAvzTLunchOrderItem", toAvzTLunchOrderItem, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrderItem getToAvzTLunchOrderItem() {
        return (com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrderItem)readProperty("toAvzTLunchOrderItem");
    } 
    
    
}
