Rev 470 | Rev 550 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 470 | Rev 544 | ||
|---|---|---|---|
| Line 97... | Line 97... | ||
| 97 | private Boolean indicadorOnline; |
97 | private Boolean indicadorOnline; |
| 98 | private Boolean indicadorOnlineShoplog; |
98 | private Boolean indicadorOnlineShoplog; |
| 99 | private Boolean indicadorOnlineMercadoLivre; |
99 | private Boolean indicadorOnlineMercadoLivre; |
| 100 | private Date dataUltimaVenda; |
100 | private Date dataUltimaVenda; |
| 101 | // private Set<ProdutoArquivo> fotos;
|
101 | // private Set<ProdutoArquivo> fotos;
|
| - | 102 | ||
| - | 103 | public Produto() {} |
|
| - | 104 | ||
| - | 105 | public Produto(Long sequencial) { |
|
| - | 106 | this.sequencial = sequencial; |
|
| - | 107 | }
|
|
| 102 | 108 | ||
| 103 | @Id |
109 | @Id |
| 104 | @SequenceGenerator(name = "sq_produto") |
110 | @SequenceGenerator(name = "sq_produto") |
| 105 | @GeneratedValue(strategy = GenerationType.IDENTITY) |
111 | @GeneratedValue(strategy = GenerationType.IDENTITY) |
| 106 | @Column(name="seq_produto", nullable=false) |
112 | @Column(name="seq_produto", nullable=false) |