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

import java.util.List;

/** Class _ImwMItemSubcategory 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 _ImwMItemSubcategory 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_SUBCATEGORY_NAME_PROPERTY = "itemSubcategoryName";
    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_CATEGORY_PROPERTY = "imwMItemCategory";

    public static final String ITEM_SUBCATEGORY_ID_PK_COLUMN = "ITEM_SUBCATEGORY_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 setItemSubcategoryName(String itemSubcategoryName) {
        writeProperty("itemSubcategoryName", itemSubcategoryName);
    }
    public String getItemSubcategoryName() {
        return (String)readProperty("itemSubcategoryName");
    }
    
    
    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 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");
    } 
    
    
}
