package siprp.database.cayenne.objects.auto;

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

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

    public static final String TO_HS_EQUIPAMENTO_MEDICO_PROPERTY = "toHsEquipamentoMedico";
    public static final String TO_HS_RELATORIO_PROPERTY = "toHsRelatorio";

    public static final String HS_EQUIPAMENTO_MEDICO_ID_PK_COLUMN = "hs_equipamento_medico_id";
    public static final String HS_RELATORIO_ID_PK_COLUMN = "hs_relatorio_id";

    public void setToHsEquipamentoMedico(HsEquipamentoMedico toHsEquipamentoMedico) {
        setToOneTarget("toHsEquipamentoMedico", toHsEquipamentoMedico, true);
    }

    public HsEquipamentoMedico getToHsEquipamentoMedico() {
        return (HsEquipamentoMedico)readProperty("toHsEquipamentoMedico");
    }


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

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


}
