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

import java.util.List;

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

    public static final String CREATE_DATE_PROPERTY = "createDate";
    public static final String CREATE_USER_ID_PROPERTY = "createUserId";
    public static final String DISABLED_PROPERTY = "disabled";
    public static final String ITEM_NAME_PROPERTY = "itemName";
    public static final String POSITION_PROPERTY = "position";
    public static final String UPDATE_DATE_PROPERTY = "updateDate";
    public static final String UPDATE_USER_ID_PROPERTY = "updateUserId";
    public static final String IMW_MITEM_CATEGORY_PROPERTY = "imwMItemCategory";
    public static final String IMW_MITEM_SUBCATEGORY_PROPERTY = "imwMItemSubcategory";
    public static final String IMW_TACCOUNT_PROPERTY = "imwTAccount";
    public static final String IMW_TACCOUNT_PLAN_PROPERTY = "imwTAccountPlan";

    public static final String ITEM_ID_PK_COLUMN = "ITEM_ID";

    public void setCreateDate(java.util.Date createDate) {
        writeProperty("createDate", createDate);
    }
    public java.util.Date getCreateDate() {
        return (java.util.Date)readProperty("createDate");
    }
    
    
    public void setCreateUserId(Integer createUserId) {
        writeProperty("createUserId", createUserId);
    }
    public Integer getCreateUserId() {
        return (Integer)readProperty("createUserId");
    }
    
    
    public void setDisabled(String disabled) {
        writeProperty("disabled", disabled);
    }
    public String getDisabled() {
        return (String)readProperty("disabled");
    }
    
    
    public void setItemCategoryId(Integer itemCategoryId) {
        writeProperty("itemCategoryId", itemCategoryId);
    }
    public Integer getItemCategoryId() {
        return (Integer)readProperty("itemCategoryId");
    }
    
    
    public void setItemName(String itemName) {
        writeProperty("itemName", itemName);
    }
    public String getItemName() {
        return (String)readProperty("itemName");
    }
    
    public void setPosition(Integer position) {
        writeProperty("position", position);
    }
    public Integer getPosition() {
        return (Integer)readProperty("position");
    }
    
    
    public void setUpdateDate(java.util.Date updateDate) {
        writeProperty("updateDate", updateDate);
    }
    public java.util.Date getUpdateDate() {
        return (java.util.Date)readProperty("updateDate");
    }
    
    
    public void setUpdateUserId(Integer updateUserId) {
        writeProperty("updateUserId", updateUserId);
    }
    public Integer getUpdateUserId() {
        return (Integer)readProperty("updateUserId");
    }
    
    public void setImwMItemCategory(com.aimluck.eip.cayenne.om.portlet.ImwMItemCategory imwMItemCategory) {
      setToOneTarget("imwMItemCategory", imwMItemCategory, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.ImwMItemCategory getImwMItemCategory() {
      return (com.aimluck.eip.cayenne.om.portlet.ImwMItemCategory)readProperty("imwMItemCategory");
    } 

    public void setImwMItemSubcategory(com.aimluck.eip.cayenne.om.portlet.ImwMItemSubcategory imwMItemSubcategory) {
      setToOneTarget("imwMItemSubcategory", imwMItemSubcategory, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.ImwMItemSubcategory getImwMItemSubcategory() {
      return (com.aimluck.eip.cayenne.om.portlet.ImwMItemSubcategory)readProperty("imwMItemSubcategory");
    } 

    public void addToImwTAccount(com.aimluck.eip.cayenne.om.portlet.ImwTAccount obj) {
        addToManyTarget("imwTAccount", obj, true);
    }
    public void removeFromImwTAccount(com.aimluck.eip.cayenne.om.portlet.ImwTAccount obj) {
        removeToManyTarget("imwTAccount", obj, true);
    }
    public List getImwTAccount() {
        return (List)readProperty("imwTAccount");
    }
    
    
    public void addToImwTAccountPlan(com.aimluck.eip.cayenne.om.portlet.ImwTAccountPlan obj) {
        addToManyTarget("imwTAccountPlan", obj, true);
    }
    public void removeFromImwTAccountPlan(com.aimluck.eip.cayenne.om.portlet.ImwTAccountPlan obj) {
        removeToManyTarget("imwTAccountPlan", obj, true);
    }
    public List getImwTAccountPlan() {
        return (List)readProperty("imwTAccountPlan");
    }
    
    
}
