package siprp.database.cayenne.objects.auto;

/** Class _MarcacoesEmpresa 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 _MarcacoesEmpresa extends siprp.database.cayenne.objects.BaseObject {

    public static final String DATA_PROPERTY = "data";
    public static final String ID_PROPERTY = "id";
    public static final String REALIZADA_PROPERTY = "realizada";
    public static final String TEXTO_PROPERTY = "texto";
    public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";

    public static final String ID_PK_COLUMN = "id";

    public void setData(java.util.Date data) {
        writeProperty("data", data);
    }
    public java.util.Date getData() {
        return (java.util.Date)readProperty("data");
    }
    
    
    public void setId(Integer id) {
        writeProperty("id", id);
    }
    public Integer getId() {
        return (Integer)readProperty("id");
    }
    
    
    public void setRealizada(String realizada) {
        writeProperty("realizada", realizada);
    }
    public String getRealizada() {
        return (String)readProperty("realizada");
    }
    
    
    public void setTexto(String texto) {
        writeProperty("texto", texto);
    }
    public String getTexto() {
        return (String)readProperty("texto");
    }
    
    
    public void setToEmpresas(siprp.database.cayenne.objects.Empresas toEmpresas) {
        setToOneTarget("toEmpresas", toEmpresas, true);
    }

    public siprp.database.cayenne.objects.Empresas getToEmpresas() {
        return (siprp.database.cayenne.objects.Empresas)readProperty("toEmpresas");
    } 
    
    
}
