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

import java.util.List;

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

    public static final String ACCOUNT_CLASS_PROPERTY = "accountClass";
    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_CATEGORY_NAME_PROPERTY = "itemCategoryName";
    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_PROPERTY = "imwMItem";
    public static final String IMW_MITEM_SUBCATEGORY_PROPERTY = "imwMItemSubcategory";

    public static final String ITEM_CATEGORY_ID_PK_COLUMN = "ITEM_CATEGORY_ID";

    public void setAccountClass(Integer accountClass) {
        writeProperty("accountClass", accountClass);
    }
    public Integer getAccountClass() {
        return (Integer)readProperty("accountClass");
    }
    
    
    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 setItemCategoryName(String itemCategoryName) {
        writeProperty("itemCategoryName", itemCategoryName);
    }
    public String getItemCategoryName() {
        return (String)readProperty("itemCategoryName");
    }
    
    
    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 addToImwMItem(com.aimluck.eip.cayenne.om.portlet.ImwMItem obj) {
        addToManyTarget("imwMItem", obj, true);
    }
    public void removeFromImwMItem(com.aimluck.eip.cayenne.om.portlet.ImwMItem obj) {
        removeToManyTarget("imwMItem", obj, true);
    }
    public List getImwMItem() {
        return (List)readProperty("imwMItem");
    }
    
    
    public void addToImwMItemSubcategory(com.aimluck.eip.cayenne.om.portlet.ImwMItemSubcategory obj) {
        addToManyTarget("imwMItemSubcategory", obj, true);
    }
    public void removeFromImwMItemSubcategory(com.aimluck.eip.cayenne.om.portlet.ImwMItemSubcategory obj) {
        removeToManyTarget("imwMItemSubcategory", obj, true);
    }
    public List getImwMItemSubcategory() {
        return (List)readProperty("imwMItemSubcategory");
    }
    
    
}
