Rev 140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 140 | Rev 144 | ||
|---|---|---|---|
| Line 30... | Line 30... | ||
| 30 | 30 | ||
| 31 | private Long sequencial; |
31 | private Long sequencial; |
| 32 | private Pessoa pessoa; |
32 | private Pessoa pessoa; |
| 33 | private Boolean emiteNotaFiscal; |
33 | private Boolean emiteNotaFiscal; |
| 34 | private Boolean sujeitoST; |
34 | private Boolean sujeitoST; |
| - | 35 | private Double aliquotaIcms; |
|
| 35 | private Boolean ativo; |
36 | private Boolean ativo; |
| 36 | 37 | ||
| 37 | public Fornecedor() { |
38 | public Fornecedor() { |
| 38 | setEmiteNotaFiscal(false); |
39 | setEmiteNotaFiscal(false); |
| 39 | setAtivo(true); |
40 | setAtivo(true); |
| Line 78... | Line 79... | ||
| 78 | }
|
79 | }
|
| 79 | return sujeitoST; |
80 | return sujeitoST; |
| 80 | }
|
81 | }
|
| 81 | public void setSujeitoST(Boolean sujeitoST) { |
82 | public void setSujeitoST(Boolean sujeitoST) { |
| 82 | this.sujeitoST = sujeitoST; |
83 | this.sujeitoST = sujeitoST; |
| - | 84 | }
|
|
| - | 85 | ||
| - | 86 | @Column(name="val_aliquota_icms") |
|
| - | 87 | public Double getAliquotaIcms() { |
|
| - | 88 | return aliquotaIcms; |
|
| - | 89 | }
|
|
| - | 90 | public void setAliquotaIcms(Double aliquotaIcms) { |
|
| - | 91 | this.aliquotaIcms = aliquotaIcms; |
|
| 83 | }
|
92 | }
|
| 84 | 93 | ||
| 85 | @Column(name="ind_ativo", nullable=false) |
94 | @Column(name="ind_ativo", nullable=false) |
| 86 | @NotNull(message="Obrigatório informar a indicação de ativo", groups={Cadastrar.class, Alterar.class}) |
95 | @NotNull(message="Obrigatório informar a indicação de ativo", groups={Cadastrar.class, Alterar.class}) |
| 87 | public Boolean getAtivo() { |
96 | public Boolean getAtivo() { |