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

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

  public static final String ADDRESS_ID_PROPERTY = "addressId";

  public static final String EIP_MADDRESSBOOK_PROPERTY = "eipMAddressbook";

  public static final String EIP_TADDRESS_GROUP_PROPERTY = "eipTAddressGroup";

  public static final String ID_PK_COLUMN = "ID";

  // add start
  public static final String ADDRESS_ID_COLUMN = "ADDRESS_ID";

  // add end

  public void setAddressId(Integer addressId) {
    writeProperty("addressId", addressId);
  }

  public Integer getAddressId() {
    return (Integer) readProperty("addressId");
  }

  public void setEipMAddressbook(
      com.aimluck.eip.cayenne.om.portlet.EipMAddressbook eipMAddressbook) {
    setToOneTarget("eipMAddressbook", eipMAddressbook, true);
  }

  public com.aimluck.eip.cayenne.om.portlet.EipMAddressbook getEipMAddressbook() {
    return (com.aimluck.eip.cayenne.om.portlet.EipMAddressbook) readProperty("eipMAddressbook");
  }

  public void setEipTAddressGroup(
      com.aimluck.eip.cayenne.om.portlet.EipMAddressGroup eipTAddressGroup) {
    setToOneTarget("eipTAddressGroup", eipTAddressGroup, true);
  }

  public com.aimluck.eip.cayenne.om.portlet.EipMAddressGroup getEipTAddressGroup() {
    return (com.aimluck.eip.cayenne.om.portlet.EipMAddressGroup) readProperty("eipTAddressGroup");
  }

}
