package siprp.database.cayenne.objects.auto;

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

    public static final String DATA_PROPERTY = "data";
    public static final String ID_PROPERTY = "id";
    public static final String TEXTO_PROPERTY = "texto";
    public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";

    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 setTexto(String texto) {
        writeProperty("texto", texto);
    }
    public String getTexto() {
        return (String)readProperty("texto");
    }
    
    
    public void setToEstabelecimentos(siprp.database.cayenne.objects.Estabelecimentos toEstabelecimentos) {
        setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
    }

    public siprp.database.cayenne.objects.Estabelecimentos getToEstabelecimentos() {
        return (siprp.database.cayenne.objects.Estabelecimentos)readProperty("toEstabelecimentos");
    } 
    
    
}
