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

import java.util.List;

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

    public static final String COMMENT_PROPERTY = "comment";
    public static final String CREATE_DATE_PROPERTY = "createDate";
    public static final String DEADLINE_DATE_PROPERTY = "deadlineDate";
    public static final String MIN_NUM_PROPERTY = "minNum";
    public static final String MIN_PLICE_PROPERTY = "minPlice";
    public static final String MIN_STATUS_PROPERTY = "minStatus";
    public static final String STORE_NAME_PROPERTY = "storeName";
    public static final String UPDATE_DATE_PROPERTY = "updateDate";
    public static final String USER_ID_PROPERTY = "userId";
    public static final String AVZ_TLUNCH_ORDER_ITEM_ARRAY_PROPERTY = "avzTLunchOrderItemArray";

    public static final String ORDER_MAP_ID_PK_COLUMN = "order_map_id";

    public void setComment(String comment) {
        writeProperty("comment", comment);
    }
    public String getComment() {
        return (String)readProperty("comment");
    }
    
    
    public void setCreateDate(java.util.Date createDate) {
        writeProperty("createDate", createDate);
    }
    public java.util.Date getCreateDate() {
        return (java.util.Date)readProperty("createDate");
    }
    
    
    public void setDeadlineDate(Integer deadlineDate) {
        writeProperty("deadlineDate", deadlineDate);
    }
    public Integer getDeadlineDate() {
        return (Integer)readProperty("deadlineDate");
    }
    
    
    public void setMinNum(Integer minNum) {
        writeProperty("minNum", minNum);
    }
    public Integer getMinNum() {
        return (Integer)readProperty("minNum");
    }
    
    
    public void setMinPlice(Integer minPlice) {
        writeProperty("minPlice", minPlice);
    }
    public Integer getMinPlice() {
        return (Integer)readProperty("minPlice");
    }
    
    
    public void setMinStatus(String minStatus) {
        writeProperty("minStatus", minStatus);
    }
    public String getMinStatus() {
        return (String)readProperty("minStatus");
    }
    
    
    public void setStoreName(String storeName) {
        writeProperty("storeName", storeName);
    }
    public String getStoreName() {
        return (String)readProperty("storeName");
    }
    
    
    public void setUpdateDate(java.util.Date updateDate) {
        writeProperty("updateDate", updateDate);
    }
    public java.util.Date getUpdateDate() {
        return (java.util.Date)readProperty("updateDate");
    }
    
    
    public void setUserId(Integer userId) {
        writeProperty("userId", userId);
    }
    public Integer getUserId() {
        return (Integer)readProperty("userId");
    }
    
    
    public void addToAvzTLunchOrderItemArray(com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrderItem obj) {
        addToManyTarget("avzTLunchOrderItemArray", obj, true);
    }
    public void removeFromAvzTLunchOrderItemArray(com.aimluck.eip.cayenne.om.portlet.AvzTLunchOrderItem obj) {
        removeToManyTarget("avzTLunchOrderItemArray", obj, true);
    }
    public List getAvzTLunchOrderItemArray() {
        return (List)readProperty("avzTLunchOrderItemArray");
    }
    
    
}
