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

import java.util.List;

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

  public static final String CREATE_DATE_PROPERTY = "createDate";

  public static final String GROUPSEND_NAME_PROPERTY = "groupsendName";

  public static final String UPDATE_DATE_PROPERTY = "updateDate";

  public static final String AVZ_MGROUPSEND_POSITION_ARRAY_PROPERTY =
    "avzMGroupsendPositionArray";

  public static final String AVZ_MUSERGROUPSEND_ARRAY_PROPERTY =
    "avzMUserGroupsendArray";

  public static final String GROUPSEND_CODE_PROPERTY = "groupsendCode";

  public static final String CATEGORY_PROPERTY = "category";

  public static final String GROUPSEND_ID_PK_COLUMN = "groupsend_id";

  public static final String GROUPSEND_NAME_COLUMN = "groupsend_name";

  public static final String GROUPSEND_CATEGORY_POST = "P";

  public void setCategory(String category) {
    writeProperty("category", category);
  }

  public String getCategory() {
    return (String) readProperty("category");
  }

  public void setCreateDate(java.util.Date createDate) {
    writeProperty("createDate", createDate);
  }

  public java.util.Date getCreateDate() {
    return (java.util.Date) readProperty("createDate");
  }

  public void setGroupsendName(String groupsendName) {
    writeProperty("groupsendName", groupsendName);
  }

  public String getGroupsendName() {
    return (String) readProperty("groupsendName");
  }

  public void setUpdateDate(java.util.Date updateDate) {
    writeProperty("updateDate", updateDate);
  }

  public java.util.Date getUpdateDate() {
    return (java.util.Date) readProperty("updateDate");
  }

  /*
   * public void addToAvzMGroupsendPositionArray(
   * com.aimluck.eip.cayenne.om.account.AvzMGroupsendPosition obj) {
   * addToManyTarget("avzMGroupsendPositionArray", obj, true); }
   * 
   * public void removeFromAvzMGroupsendPositionArray(
   * com.aimluck.eip.cayenne.om.account.AvzMGroupsendPosition obj) {
   * removeToManyTarget("avzMGroupsendPositionArray", obj, true); }
   * 
   * public List getAvzMGroupsendPositionArray() { return (List)
   * readProperty("avzMGroupsendPositionArray"); }
   */

  public void setAvzMPositionPositionArray(
      com.aimluck.eip.cayenne.om.account.AvzMGroupsendPosition avzMGroupsendPosition) {
    setToOneTarget("avzMGroupsendPositionArray", avzMGroupsendPosition, true);
  }

  public com.aimluck.eip.cayenne.om.account.AvzMGroupsendPosition getAvzMGroupsendPositionArray() {
    return (com.aimluck.eip.cayenne.om.account.AvzMGroupsendPosition) readProperty("avzMGroupsendPositionArray");
  }

  public void setGroupsendCode(String groupsendCode) {
    writeProperty("groupsendCode", groupsendCode);
  }

  public String getGroupsendCode() {
    return (String) readProperty("groupsendCode");
  }

  public void addToAvzMUserRoleArray(
      com.aimluck.eip.cayenne.om.account.AvzMUserRole obj) {
    addToManyTarget("avzMUserRoleArray", obj, true);
  }

  public void removeFromAvzMUserGroupsendArray(
      com.aimluck.eip.cayenne.om.account.AvzMUserGroupsend obj) {
    removeToManyTarget("avzMUserGroupsendArray", obj, true);
  }

  public List getAvzMUserGroupsendArray() {
    return (List) readProperty("avzMUserGroupsendArray");
  }
}
