package siprp.database.cayenne.objects.auto;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.HsRelatorioMedida;
import siprp.database.cayenne.objects.HsRelatorioPosto;

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

    public static final String IS_PLANO_ACTUACAO_PROPERTY = "isPlanoActuacao";
    public static final String TO_HS_RELATORIO_MEDIDA_PROPERTY = "toHsRelatorioMedida";
    public static final String TO_HS_RELATORIO_POSTO_PROPERTY = "toHsRelatorioPosto";

    public static final String MEDIDA_ID_PK_COLUMN = "medida_id";
    public static final String POSTO_ID_PK_COLUMN = "posto_id";

    public void setIsPlanoActuacao(Boolean isPlanoActuacao) {
        writeProperty("isPlanoActuacao", isPlanoActuacao);
    }
    public Boolean getIsPlanoActuacao() {
        return (Boolean)readProperty("isPlanoActuacao");
    }

    public void setToHsRelatorioMedida(HsRelatorioMedida toHsRelatorioMedida) {
        setToOneTarget("toHsRelatorioMedida", toHsRelatorioMedida, true);
    }

    public HsRelatorioMedida getToHsRelatorioMedida() {
        return (HsRelatorioMedida)readProperty("toHsRelatorioMedida");
    }


    public void setToHsRelatorioPosto(HsRelatorioPosto toHsRelatorioPosto) {
        setToOneTarget("toHsRelatorioPosto", toHsRelatorioPosto, true);
    }

    public HsRelatorioPosto getToHsRelatorioPosto() {
        return (HsRelatorioPosto)readProperty("toHsRelatorioPosto");
    }


}
