package siprp.database.cayenne.objects.auto;

import java.util.Date;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatas;

/**
 * Class _TrabalhadoresConsultasDatasEmails 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 abstract class _TrabalhadoresConsultasDatasEmails extends BaseObject {

    public static final String BODY_PROPERTY = "body";
    public static final String DATA_PROPERTY = "data";
    public static final String DESTINATION_PROPERTY = "destination";
    public static final String ID_PROPERTY = "id";
    public static final String SUBJECT_PROPERTY = "subject";
    public static final String TO_TRABALHADORES_CONSULTAS_DATAS_PROPERTY = "toTrabalhadoresConsultasDatas";

    public static final String ID_PK_COLUMN = "id";

    public void setBody(String body) {
        writeProperty("body", body);
    }
    public String getBody() {
        return (String)readProperty("body");
    }

    public void setData(Date data) {
        writeProperty("data", data);
    }
    public Date getData() {
        return (Date)readProperty("data");
    }

    public void setDestination(String destination) {
        writeProperty("destination", destination);
    }
    public String getDestination() {
        return (String)readProperty("destination");
    }

    public void setId(Integer id) {
        writeProperty("id", id);
    }
    public Integer getId() {
        return (Integer)readProperty("id");
    }

    public void setSubject(String subject) {
        writeProperty("subject", subject);
    }
    public String getSubject() {
        return (String)readProperty("subject");
    }

    public void setToTrabalhadoresConsultasDatas(TrabalhadoresConsultasDatas toTrabalhadoresConsultasDatas) {
        setToOneTarget("toTrabalhadoresConsultasDatas", toTrabalhadoresConsultasDatas, true);
    }

    public TrabalhadoresConsultasDatas getToTrabalhadoresConsultasDatas() {
        return (TrabalhadoresConsultasDatas)readProperty("toTrabalhadoresConsultasDatas");
    }


}
