package siprp.database.cayenne.objects.auto;

import java.util.List;

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

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

    public static final String NOME_PROPERTY = "nome";
    public static final String HS_RELATORIO_EQUIPAMENTO_MEDICO_ARRAY_PROPERTY = "hsRelatorioEquipamentoMedicoArray";

    public static final String ID_PK_COLUMN = "id";

    public void setNome(String nome) {
        writeProperty("nome", nome);
    }
    public String getNome() {
        return (String)readProperty("nome");
    }

    public void addToHsRelatorioEquipamentoMedicoArray(HsRelatorioEquipamentoMedico obj) {
        addToManyTarget("hsRelatorioEquipamentoMedicoArray", obj, true);
    }
    public void removeFromHsRelatorioEquipamentoMedicoArray(HsRelatorioEquipamentoMedico obj) {
        removeToManyTarget("hsRelatorioEquipamentoMedicoArray", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<HsRelatorioEquipamentoMedico> getHsRelatorioEquipamentoMedicoArray() {
        return (List<HsRelatorioEquipamentoMedico>)readProperty("hsRelatorioEquipamentoMedicoArray");
    }


}
