package siprp.database.cayenne.objects.auto;

import java.util.Date;

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

/**
 * Class _TrabalhadoresEcdsDatasEmails 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 _TrabalhadoresEcdsDatasEmails 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_ECDS_DATAS_PROPERTY = "toTrabalhadoresEcdsDatas";

    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 setToTrabalhadoresEcdsDatas(TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
        setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
    }

    public TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
        return (TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
    }


}
