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

import java.util.List;

/** Class _AvzTLunchOrderItem 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 _AvzTLunchOrderItem extends org.apache.cayenne.CayenneDataObject {

    public static final String COMMENT_PROPERTY = "comment";
    public static final String ITEM_NUMBER_PROPERTY = "itemNumber";
    public static final String ITEM_TITLE_PROPERTY = "itemTitle";
    public static final String MIN_ORDER_FLAG_PROPERTY = "minOrderFlag";
    public static final String ORDER_MAP_ID_PROPERTY = "orderMapId";
    public static final String PRICE_PROPERTY = "price";
    public static final String AVZ_TLUNCH_USER_ORDER_ARRAY_PROPERTY = "avzTLunchUserOrderArray";
    public static final String TO_AVZ_TLUNCH_ORDER_PROPERTY = "toAvzTLunchOrder";

    public static final String ITEM_ID_PK_COLUMN = "item_id";

    public void setComment(String comment) {
        writeProperty("comment", comment);
    }
    public String getComment() {
        return (String)readProperty("comment");
    }
    
    
    public void setItemNumber(Integer itemNumber) {
        writeProperty("itemNumber", itemNumber);
    }
    public Integer getItemNumber() {
        return (Integer)readProperty("itemNumber");
    }
    
    
    public void setItemTitle(String itemTitle) {
        writeProperty("itemTitle", itemTitle);
    }
    public String getItemTitle() {
        return (String)readProperty("itemTitle");
    }
    
    
    public void setMinOrderFlag(Integer minOrderFlag) {
        writeProperty("minOrderFlag", minOrderFlag);
    }
    public Integer getMinOrderFlag() {
        return (Integer)readProperty("minOrderFlag");
    }
    
    
    public void setOrderMapId(Integer orderMapId) {
        writeProperty("orderMapId", orderMapId);
    }
    public Integer getOrderMapId() {
        return (Integer)readProperty("orderMapId");
    }
    
    
    public void setPrice(Integer price) {
        writeProperty("price", price);
    }
    public Integer getPrice() {
        return (Integer)readProperty("price");
    }
    
    
    public void addToAvzTLunchUserOrderArray(com.aimluck.eip.cayenne.om.portlet.AvzTLunchUserOrder obj) {
        addToManyTarget("avzTLunchUserOrderArray", obj, true);
    }
    public void removeFromAvzTLunchUserOrderArray(com.aimluck.eip.cayenne.om.portlet.AvzTLunchUserOrder obj) {
        removeToManyTarget("avzTLunchUserOrderArray", obj, true);
    }
    public List getAvzTLunchUserOrderArray() {
        return (List)readProperty("avzTLunchUserOrderArray");
    }
    
    
    public void setToAvzTLunchOrder(com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrder toAvzTLunchOrder) {
        setToOneTarget("toAvzTLunchOrder", toAvzTLunchOrder, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrder getToAvzTLunchOrder() {
        return (com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrder)readProperty("toAvzTLunchOrder");
    } 
    
    
}
