package gcom.arrecadacao; import java.io.Serializable; import java.util.Date; import org.apache.commons.lang.builder.ToStringBuilder; public class RecebimentoTipo implements Serializable { private static final long serialVersionUID = 1L; //Constantes ******************************************************************************************* public final static Integer RECEBIMENTOS_CLASSIFICADOS = new Integer(1); public final static Integer RECEBIMENTOS_NAO_CLASSIFICADOS = new Integer(2); public final static Integer TOTAL_RECEBIMENTOS = new Integer(3); public final static Integer DEVOLUCOES_CLASSIFICADAS = new Integer(4); public final static Integer DEVOLUCOES_NAO_CLASSIFICADAS = new Integer(5); public final static Integer TOTAL_DEVOLUCOES = new Integer(6); public final static Integer ARRECADACAO_LIQUIDA = new Integer(7); public final static Integer RECEBIMENTO_MESES_ANTERIORES_CLASSIFICADAS_NO_MES = new Integer(8); public final static Integer DEVOLUCOES_RECEBIMENTO_MESES_ANTERIORES_CLASSIFICADAS_NO_MES = new Integer(9); public final static Integer BAIXA_RECEBIMENTOS_NAO_CLASSIFICADOS = new Integer(10); public final static Integer RECEBIMENTOS_VALORES_CONTABILIZADOS_COMO_PERDAS = new Integer(11); public final static Integer RESUMO_RECEBIMENTOS_NAO_CLASSIFICADOS = new Integer(12); public final static Integer RESUMO_DEVOLUCOES_NAO_CLASSIFICADAS = new Integer(13); public final static Integer TOTAL_DESCONTOS = new Integer(14); public final static Integer RECEBIMENTO_DE_VALORES_DA_CAMPANHA_SOLIDARIEDADE_DA_CRIANCA = new Integer(15); public final static Integer RECEBIMENTO_MESES_ATE_31_12_2012_CLASSIFICADOS_NO_MES = new Integer (16); public final static Integer RECEBIMENTOS_CLASSIFICADOS_RECUPERACAO_CREDITO = new Integer(17); public final static Integer RECEBIMENTOS_CLASSIFICADOS_RECUPERACAO_CREDITO_MESES_ANTERIORES = new Integer(18); private Integer id; private String descricao; private Short indicadorUso; private Date ultimaAlteracao; private Short numeroSequencia; public RecebimentoTipo () { } public RecebimentoTipo (Integer id) { this.id = id; } public Short getNumeroSequencia() { return numeroSequencia; } public void setNumeroSequencia(Short numeroSequencia) { this.numeroSequencia = numeroSequencia; } public RecebimentoTipo (String descricao, Short indicadorUso, Date ultimaAlteracao) { this.descricao = descricao; this.indicadorUso = indicadorUso; this.ultimaAlteracao = ultimaAlteracao; } public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } public String getDescricao() { return this.descricao; } public void setDescricao(String descricao) { this.descricao = descricao; } public Short getIndicadorUso() { return this.indicadorUso; } public void setIndicadorUso(Short indicadorUso) { this.indicadorUso = indicadorUso; } public Date getUltimaAlteracao() { return this.ultimaAlteracao; } public void setUltimaAlteracao(Date ultimaAlteracao) { this.ultimaAlteracao = ultimaAlteracao; } public String toString() { return new ToStringBuilder(this) .append("id", getId()) .toString(); } }