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

import java.util.List;

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

    public static final String COMMENT_PROPERTY = "comment";
    public static final String CREATE_DATE_PROPERTY = "createDate";
    public static final String CREATER_ID_PROPERTY = "createrId";
    public static final String DEADLINE_DATE_PROPERTY = "deadlineDate";
    public static final String DEADLINE_METHOD_PROPERTY = "deadlineMethod";
    public static final String ITEM_NUM_PROPERTY = "itemNum";
    public static final String ITEM_NUM_STATUS_PROPERTY = "itemNumStatus";
    public static final String NAME_PROPERTY = "name";
    public static final String PUBLIC_DATE_PROPERTY = "publicDate";
    public static final String PUBLIC_METHOD_PROPERTY = "publicMethod";
    public static final String PUBLIC_STATUS_PROPERTY = "publicStatus";
    public static final String UPDATE_DATE_PROPERTY = "updateDate";
    public static final String AVZ_TENQUETE_CHOICE_ITEM_PROPERTY = "avzTEnqueteChoiceItem";
    public static final String AVZ_TENQUETE_ITEM_PROPERTY = "avzTEnqueteItem";

    public static final String ENQUETE_ID_PK_COLUMN = "enquete_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 setCreaterId(Integer createrId) {
        writeProperty("createrId", createrId);
    }
    public Integer getCreaterId() {
        return (Integer)readProperty("createrId");
    }
    
    
    public void setDeadlineDate(java.util.Date deadlineDate) {
        writeProperty("deadlineDate", deadlineDate);
    }
    public java.util.Date getDeadlineDate() {
        return (java.util.Date)readProperty("deadlineDate");
    }
    
    
    public void setDeadlineMethod(String deadlineMethod) {
        writeProperty("deadlineMethod", deadlineMethod);
    }
    public String getDeadlineMethod() {
        return (String)readProperty("deadlineMethod");
    }
    
    
    public void setItemNum(Integer itemNum) {
        writeProperty("itemNum", itemNum);
    }
    public Integer getItemNum() {
        return (Integer)readProperty("itemNum");
    }
    
    
    public void setItemNumStatus(String itemNumStatus) {
        writeProperty("itemNumStatus", itemNumStatus);
    }
    public String getItemNumStatus() {
        return (String)readProperty("itemNumStatus");
    }
    
    
    public void setName(String name) {
        writeProperty("name", name);
    }
    public String getName() {
        return (String)readProperty("name");
    }
    
    
    public void setPublicDate(java.util.Date publicDate) {
        writeProperty("publicDate", publicDate);
    }
    public java.util.Date getPublicDate() {
        return (java.util.Date)readProperty("publicDate");
    }
    
    
    public void setPublicMethod(String publicMethod) {
        writeProperty("publicMethod", publicMethod);
    }
    public String getPublicMethod() {
        return (String)readProperty("publicMethod");
    }
    
    
    public void setPublicStatus(String publicStatus) {
        writeProperty("publicStatus", publicStatus);
    }
    public String getPublicStatus() {
        return (String)readProperty("publicStatus");
    }
    
    
    public void setUpdateDate(java.util.Date updateDate) {
        writeProperty("updateDate", updateDate);
    }
    public java.util.Date getUpdateDate() {
        return (java.util.Date)readProperty("updateDate");
    }
    
    
    public void addToAvzTEnqueteChoiceItem(com.aimluck.eip.cayenne.om.portlet.AvzTEnqueteChoiceItem obj) {
        addToManyTarget("avzTEnqueteChoiceItem", obj, true);
    }
    public void removeFromAvzTEnqueteChoiceItem(com.aimluck.eip.cayenne.om.portlet.AvzTEnqueteChoiceItem obj) {
        removeToManyTarget("avzTEnqueteChoiceItem", obj, true);
    }
    public List getAvzTEnqueteChoiceItem() {
        return (List)readProperty("avzTEnqueteChoiceItem");
    }
    
    
    public void addToAvzTEnqueteItem(com.aimluck.eip.cayenne.om.portlet.AvzTEnqueteItem obj) {
        addToManyTarget("avzTEnqueteItem", obj, true);
    }
    public void removeFromAvzTEnqueteItem(com.aimluck.eip.cayenne.om.portlet.AvzTEnqueteItem obj) {
        removeToManyTarget("avzTEnqueteItem", obj, true);
    }
    public List getAvzTEnqueteItem() {
        return (List)readProperty("avzTEnqueteItem");
    }
    
    
}
