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

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

  public static final String USER_ID_PROPERTY = "userId";

  public static final String TO_AVZ_MROLE_PROPERTY = "toAvzMRole";

  public static final String ID_PK_COLUMN = "id";

  public void setUserId(Integer userId) {
    writeProperty("userId", userId);
  }

  public Integer getUserId() {
    return (Integer) readProperty("userId");
  }

  public void setToAvzMRole(
      com.aimluck.eip.cayenne.om.account.AvzMRole toAvzMRole) {
    setToOneTarget("toAvzMRole", toAvzMRole, true);
  }

  public com.aimluck.eip.cayenne.om.account.AvzMRole getToAvzMRole() {
    return (com.aimluck.eip.cayenne.om.account.AvzMRole) readProperty("toAvzMRole");
  }

}
