package siprp.database.cayenne.objects.auto;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.HsMedida;
import siprp.database.cayenne.objects.HsRisco;

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

    public static final String TO_HS_MEDIDA_PROPERTY = "toHsMedida";
    public static final String TO_HS_RISCO_PROPERTY = "toHsRisco";

    public static final String MEDIDA_ID_PK_COLUMN = "medida_id";
    public static final String RISCO_ID_PK_COLUMN = "risco_id";

    public void setToHsMedida(HsMedida toHsMedida) {
        setToOneTarget("toHsMedida", toHsMedida, true);
    }

    public HsMedida getToHsMedida() {
        return (HsMedida)readProperty("toHsMedida");
    }


    public void setToHsRisco(HsRisco toHsRisco) {
        setToOneTarget("toHsRisco", toHsRisco, true);
    }

    public HsRisco getToHsRisco() {
        return (HsRisco)readProperty("toHsRisco");
    }


}
