|
|
@@ -38,17 +38,6 @@ public class MerchantClassification extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "商户ID", name = "merchantId")
|
|
|
private Long merchantId;
|
|
|
|
|
|
-/* @ManyToMany(fetch = FetchType.EAGER, cascade = {CascadeType.DETACH})
|
|
|
- @JoinTable(
|
|
|
- name = "goods_class",
|
|
|
- joinColumns = {@JoinColumn(name = "mer_id", referencedColumnName = "merchantId", foreignKey = @ForeignKey(ConstraintMode.NO_CONSTRAINT))},
|
|
|
- inverseJoinColumns = {@JoinColumn(name = "class_name", referencedColumnName = "name", foreignKey = @ForeignKey(name = "none", value = ConstraintMode.NO_CONSTRAINT))})
|
|
|
- @BatchSize(size = 20)
|
|
|
- @ApiModelProperty(value = "商品列表", name = "goodsList")
|
|
|
- private Set<Goods> goodsList;*/
|
|
|
-
|
|
|
-// @Convert(converter = LongArrayConverter.class)
|
|
|
-// private List<Long> goodsIds ;
|
|
|
|
|
|
private String goodsIds;
|
|
|
|
|
|
@@ -58,4 +47,9 @@ public class MerchantClassification extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "是否显示", name = "isShow")
|
|
|
private Boolean isShow;
|
|
|
|
|
|
+ /**
|
|
|
+ * 分类类型: 1 好评热销 2 折扣 3 点单必读 4 商家自定义
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "分类类型")
|
|
|
+ private Integer type;
|
|
|
}
|