package siprp.database.cayenne.objects.auto;

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

/**
 * Class _HsRelatorioLegislacao 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 _HsRelatorioLegislacao extends BaseObject {

    public static final String CATEGORIA_PROPERTY = "categoria";
    public static final String DESCRICAO_PROPERTY = "descricao";
    public static final String HS_LEGISLACAO_ID_PROPERTY = "hsLegislacaoId";
    public static final String TO_HS_RELATORIO_PROPERTY = "toHsRelatorio";

    public static final String ID_PK_COLUMN = "id";

    public void setCategoria(String categoria) {
        writeProperty("categoria", categoria);
    }
    public String getCategoria() {
        return (String)readProperty("categoria");
    }

    public void setDescricao(String descricao) {
        writeProperty("descricao", descricao);
    }
    public String getDescricao() {
        return (String)readProperty("descricao");
    }

    public void setHsLegislacaoId(Integer hsLegislacaoId) {
        writeProperty("hsLegislacaoId", hsLegislacaoId);
    }
    public Integer getHsLegislacaoId() {
        return (Integer)readProperty("hsLegislacaoId");
    }

    public void setToHsRelatorio(HsRelatorio toHsRelatorio) {
        setToOneTarget("toHsRelatorio", toHsRelatorio, true);
    }

    public HsRelatorio getToHsRelatorio() {
        return (HsRelatorio)readProperty("toHsRelatorio");
    }


}
