> For the complete documentation index, see [llms.txt](https://olavo-moreira.gitbook.io/studies/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olavo-moreira.gitbook.io/studies/workshop-cassandra/mapeamento-de-classes/product-entities.md).

# Product (entities)

```java
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Table(value = "products")
public class Product {

    @PrimaryKey
    private UUID id;
    private String department;
    private Double price;
    private Instant moment;
    private String name;
    private String description;


    public List<@Frozen Prop> props = new ArrayList<>();
    
    public Product(UUID id, String department, Double price, Instant moment, String name, String description) {
        this.id = id;
        this.department = department;
        this.price = price;
        this.moment = moment;
        this.name = name;
        this.description = description;
    }
}
```
