Rev 288 | Rev 293 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 288 | Rev 291 | ||
|---|---|---|---|
| Line 24... | Line 24... | ||
| 24 | public class ContaBancaria implements Serializable { |
24 | public class ContaBancaria implements Serializable { |
| 25 | 25 | ||
| 26 | private static final long serialVersionUID = 1L; |
26 | private static final long serialVersionUID = 1L; |
| 27 | private static final long CONTA_CAIXA = 1L; |
27 | private static final long CONTA_CAIXA = 1L; |
| 28 | private static final long CONTA_PIX = 5L; |
28 | private static final long CONTA_PIX = 5L; |
| - | 29 | private static final long CONTA_CASA_DAS_CAPAS = 4L; |
|
| 29 | 30 | ||
| 30 | private Long sequencial; |
31 | private Long sequencial; |
| 31 | private String descricao; |
32 | private String descricao; |
| 32 | // private String tipoContaBancaria; CAIXA (RECEBIMENTO EM: DINHEIRO E CUPONS) E PIX
|
33 | // private String tipoContaBancaria; CAIXA (RECEBIMENTO EM: DINHEIRO E CUPONS) E PIX
|
| 33 | private Boolean ativo; |
34 | private Boolean ativo; |
| Line 75... | Line 76... | ||
| 75 | }
|
76 | }
|
| 76 | 77 | ||
| 77 | @Transient |
78 | @Transient |
| 78 | public static long getContaPix() { |
79 | public static long getContaPix() { |
| 79 | return CONTA_PIX; |
80 | return CONTA_PIX; |
| - | 81 | }
|
|
| - | 82 | ||
| - | 83 | @Transient |
|
| - | 84 | public static long getContaCasaDasCapas() { |
|
| - | 85 | return CONTA_CASA_DAS_CAPAS; |
|
| 80 | }
|
86 | }
|
| 81 | 87 | ||
| 82 | @Override |
88 | @Override |
| 83 | public int hashCode() { |
89 | public int hashCode() { |
| 84 | final int prime = 31; |
90 | final int prime = 31; |