|
@@ -34,10 +34,13 @@ public class Goods extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "简介", name = "introduction")
|
|
@ApiModelProperty(value = "简介", name = "introduction")
|
|
|
private String introduction;
|
|
private String introduction;
|
|
|
|
|
|
|
|
- @Column(columnDefinition = "text")
|
|
|
|
|
- @Convert(converter = StringArrayConverter.class)
|
|
|
|
|
|
|
+// @Column(columnDefinition = "text")
|
|
|
|
|
+// @Convert(converter = StringArrayConverter.class)
|
|
|
|
|
+// @ApiModelProperty(value = "图片", name = "img")
|
|
|
|
|
+// private List<String> img;
|
|
|
|
|
+
|
|
|
@ApiModelProperty(value = "图片", name = "img")
|
|
@ApiModelProperty(value = "图片", name = "img")
|
|
|
- private List<String> img;
|
|
|
|
|
|
|
+ private String img;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "库存", name = "inventory")
|
|
@ApiModelProperty(value = "库存", name = "inventory")
|
|
|
private Integer inventory;
|
|
private Integer inventory;
|