package siprp.database.cayenne.objects.auto;

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

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

    public static final String TO_HS_LEGISLACAO_PROPERTY = "toHsLegislacao";

    public static final String EMPRESA_ID_PK_COLUMN = "empresa_id";
    public static final String LEGISLACAO_ID_PK_COLUMN = "legislacao_id";

    public void setToHsLegislacao(HsLegislacao toHsLegislacao) {
        setToOneTarget("toHsLegislacao", toHsLegislacao, true);
    }

    public HsLegislacao getToHsLegislacao() {
        return (HsLegislacao)readProperty("toHsLegislacao");
    }


}
