refactoring model
This commit is contained in:
parent
c50338720f
commit
2ab1eeb036
|
@ -11,23 +11,15 @@ public class Product {
|
|||
@Indexed(name = "id", type = "string")
|
||||
private String id;
|
||||
|
||||
|
||||
@Indexed(name = "name", type = "string")
|
||||
private String name;
|
||||
|
||||
|
||||
@Indexed(name = "category", type = "string")
|
||||
private String category;
|
||||
|
||||
|
||||
@Indexed(name = "description", type = "string")
|
||||
private String description;
|
||||
|
||||
public Product(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue