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

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

    public static final String FACILITY_ID_PROPERTY = "FacilityId";
    public static final String GROUP_ID_PROPERTY = "GroupId";
    public static final String EIP_MFACILITY_FACILITY_ID_PROPERTY = "eipMFacilityFacilityId";
    public static final String EIP_MFACILITY_GROUP_ID_PROPERTY = "eipMFacilityGroupId";

    public static final String ID_PK_COLUMN = "ID";

    public void setFacilityId(Integer FacilityId) {
        writeProperty("FacilityId", FacilityId);
    }
    public Integer getFacilityId() {
        return (Integer)readProperty("FacilityId");
    }
    
    
    public void setGroupId(Integer GroupId) {
        writeProperty("GroupId", GroupId);
    }
    public Integer getGroupId() {
        return (Integer)readProperty("GroupId");
    }
    
    
    public void setEipMFacilityFacilityId(com.aimluck.eip.cayenne.om.portlet.EipMFacility eipMFacilityFacilityId) {
        setToOneTarget("eipMFacilityFacilityId", eipMFacilityFacilityId, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.EipMFacility getEipMFacilityFacilityId() {
        return (com.aimluck.eip.cayenne.om.portlet.EipMFacility)readProperty("eipMFacilityFacilityId");
    } 
    
    
    public void setEipMFacilityGroupId(com.aimluck.eip.cayenne.om.portlet.EipMFacilityGroup eipMFacilityGroupId) {
        setToOneTarget("eipMFacilityGroupId", eipMFacilityGroupId, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.EipMFacilityGroup getEipMFacilityGroupId() {
        return (com.aimluck.eip.cayenne.om.portlet.EipMFacilityGroup)readProperty("eipMFacilityGroupId");
    } 
    
    
}
