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

import java.util.List;

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

    public static final String BODY_PROPERTY = "body";
    public static final String CREATE_DATE_PROPERTY = "createDate";
    public static final String DISABLED_PROPERTY = "disabled";
    public static final String MAIL_VOLUME_PROPERTY = "mailVolume";
    public static final String OWNER_ID_PROPERTY = "ownerId";
    public static final String SEND_FLG_PROPERTY = "sendFlg";
    public static final String SUBJECT_PROPERTY = "subject";
    public static final String UPDATE_DATE_PROPERTY = "updateDate";
    public static final String AVZ_TINTRAMAIL_FILE_ARRAY_PROPERTY = "avzTIntramailFileArray";
    public static final String AVZ_TINTRAMAIL_MAP_ARRAY_PROPERTY = "avzTIntramailMapArray";

    public static final String INTRAMAIL_ID_PK_COLUMN = "intramail_id";

    public void setBody(String body) {
        writeProperty("body", body);
    }
    public String getBody() {
        return (String)readProperty("body");
    }
    
    
    public void setCreateDate(java.util.Date createDate) {
        writeProperty("createDate", createDate);
    }
    public java.util.Date getCreateDate() {
        return (java.util.Date)readProperty("createDate");
    }
    
    
    public void setDisabled(String disabled) {
        writeProperty("disabled", disabled);
    }
    public String getDisabled() {
        return (String)readProperty("disabled");
    }
    
    
    public void setMailVolume(Integer mailVolume) {
        writeProperty("mailVolume", mailVolume);
    }
    public Integer getMailVolume() {
        return (Integer)readProperty("mailVolume");
    }
    
    
    public void setOwnerId(Integer ownerId) {
        writeProperty("ownerId", ownerId);
    }
    public Integer getOwnerId() {
        return (Integer)readProperty("ownerId");
    }
    
    
    public void setSendFlg(String sendFlg) {
        writeProperty("sendFlg", sendFlg);
    }
    public String getSendFlg() {
        return (String)readProperty("sendFlg");
    }
    
    
    public void setSubject(String subject) {
        writeProperty("subject", subject);
    }
    public String getSubject() {
        return (String)readProperty("subject");
    }
    
    
    public void setUpdateDate(java.util.Date updateDate) {
        writeProperty("updateDate", updateDate);
    }
    public java.util.Date getUpdateDate() {
        return (java.util.Date)readProperty("updateDate");
    }
    
    
    public void addToAvzTIntramailFileArray(com.aimluck.eip.cayenne.om.portlet.AvzTIntramailFile obj) {
        addToManyTarget("avzTIntramailFileArray", obj, true);
    }
    public void removeFromAvzTIntramailFileArray(com.aimluck.eip.cayenne.om.portlet.AvzTIntramailFile obj) {
        removeToManyTarget("avzTIntramailFileArray", obj, true);
    }
    public List getAvzTIntramailFileArray() {
        return (List)readProperty("avzTIntramailFileArray");
    }
    
    
    public void addToAvzTIntramailMapArray(com.aimluck.eip.cayenne.om.portlet.AvzTIntramailMap obj) {
        addToManyTarget("avzTIntramailMapArray", obj, true);
    }
    public void removeFromAvzTIntramailMapArray(com.aimluck.eip.cayenne.om.portlet.AvzTIntramailMap obj) {
        removeToManyTarget("avzTIntramailMapArray", obj, true);
    }
    public List getAvzTIntramailMapArray() {
        return (List)readProperty("avzTIntramailMapArray");
    }
    
    
}
