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

import java.util.List;

/** Class _ImwTOffice 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 _ImwTOffice 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 OFFICE_NAME_PROPERTY = "officeName";
    public static final String UPDATE_DATE_PROPERTY = "updateDate";
    public static final String UPDATE_USER_ID_PROPERTY = "updateUserId";
    public static final String IMW_TOFFICE_CALENDAR_PROPERTY = "imwTOfficeCalendar";
    public static final String IMW_TOFFICE_CALENDAR_MAP_PROPERTY = "imwTOfficeCalendarMap";

    public static final String OFFICE_ID_PK_COLUMN = "OFFICE_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 setOfficeName(String officeName) {
        writeProperty("officeName", officeName);
    }
    public String getOfficeName() {
        return (String)readProperty("officeName");
    }
    
    
    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 addToImwTOfficeCalendar(com.aimluck.eip.cayenne.om.portlet.ImwTOfficeCalendar obj) {
        addToManyTarget("imwTOfficeCalendar", obj, true);
    }
    public void removeFromImwTOfficeCalendar(com.aimluck.eip.cayenne.om.portlet.ImwTOfficeCalendar obj) {
        removeToManyTarget("imwTOfficeCalendar", obj, true);
    }
    public List getImwTOfficeCalendar() {
        return (List)readProperty("imwTOfficeCalendar");
    }
    
    
    public void addToImwTOfficeCalendarMap(com.aimluck.eip.cayenne.om.portlet.ImwTOfficeCalendarMap obj) {
        addToManyTarget("imwTOfficeCalendarMap", obj, true);
    }
    public void removeFromImwTOfficeCalendarMap(com.aimluck.eip.cayenne.om.portlet.ImwTOfficeCalendarMap obj) {
        removeToManyTarget("imwTOfficeCalendarMap", obj, true);
    }
    public List getImwTOfficeCalendarMap() {
        return (List)readProperty("imwTOfficeCalendarMap");
    }
    
    
}
