package siprp.database.cayenne.objects.auto;

import java.util.Date;
import java.util.List;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.HsNormalizacaoEmpresa;
import siprp.database.cayenne.objects.HsNormalizacaoEstabelecimento;

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

    public static final String CODIGO_PROPERTY = "codigo";
    public static final String DELETED_DATE_PROPERTY = "deletedDate";
    public static final String DESCRICAO_PROPERTY = "descricao";
    public static final String ID_PROPERTY = "id";
    public static final String PORTUGUESA_PROPERTY = "portuguesa";
    public static final String HS_NORMALIZACAO_EMPRESA_ARRAY_PROPERTY = "hsNormalizacaoEmpresaArray";
    public static final String HS_NORMALIZACAO_ESTABELECIMENTO_ARRAY_PROPERTY = "hsNormalizacaoEstabelecimentoArray";

    public static final String ID_PK_COLUMN = "id";

    public void setCodigo(String codigo) {
        writeProperty("codigo", codigo);
    }
    public String getCodigo() {
        return (String)readProperty("codigo");
    }

    public void setDeletedDate(Date deletedDate) {
        writeProperty("deletedDate", deletedDate);
    }
    public Date getDeletedDate() {
        return (Date)readProperty("deletedDate");
    }

    public void setDescricao(String descricao) {
        writeProperty("descricao", descricao);
    }
    public String getDescricao() {
        return (String)readProperty("descricao");
    }

    public void setId(Integer id) {
        writeProperty("id", id);
    }
    public Integer getId() {
        return (Integer)readProperty("id");
    }

    public void setPortuguesa(Boolean portuguesa) {
        writeProperty("portuguesa", portuguesa);
    }
    public Boolean getPortuguesa() {
        return (Boolean)readProperty("portuguesa");
    }

    public void addToHsNormalizacaoEmpresaArray(HsNormalizacaoEmpresa obj) {
        addToManyTarget("hsNormalizacaoEmpresaArray", obj, true);
    }
    public void removeFromHsNormalizacaoEmpresaArray(HsNormalizacaoEmpresa obj) {
        removeToManyTarget("hsNormalizacaoEmpresaArray", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<HsNormalizacaoEmpresa> getHsNormalizacaoEmpresaArray() {
        return (List<HsNormalizacaoEmpresa>)readProperty("hsNormalizacaoEmpresaArray");
    }


    public void addToHsNormalizacaoEstabelecimentoArray(HsNormalizacaoEstabelecimento obj) {
        addToManyTarget("hsNormalizacaoEstabelecimentoArray", obj, true);
    }
    public void removeFromHsNormalizacaoEstabelecimentoArray(HsNormalizacaoEstabelecimento obj) {
        removeToManyTarget("hsNormalizacaoEstabelecimentoArray", obj, true);
    }
    @SuppressWarnings("unchecked")
    public List<HsNormalizacaoEstabelecimento> getHsNormalizacaoEstabelecimentoArray() {
        return (List<HsNormalizacaoEstabelecimento>)readProperty("hsNormalizacaoEstabelecimentoArray");
    }


}
