Commit be49f401 authored by liao_ds's avatar liao_ds

营销-平台活动-商品图片

parent d4bf5df3
...@@ -123,6 +123,11 @@ public class PlatformActivityGoodsDO implements Serializable { ...@@ -123,6 +123,11 @@ public class PlatformActivityGoodsDO implements Serializable {
@Column(columnDefinition = "int4") @Column(columnDefinition = "int4")
private Integer restrictTotalNum; private Integer restrictTotalNum;
/** /**
* 商品主图
*/
@Column(columnDefinition = "varchar(250)")
private String productImgUrl;
/**
* 附属商品信息(仅赠送促销、换购、套票) * 附属商品信息(仅赠送促销、换购、套票)
*/ */
@Transient @Transient
...@@ -285,6 +290,14 @@ public class PlatformActivityGoodsDO implements Serializable { ...@@ -285,6 +290,14 @@ public class PlatformActivityGoodsDO implements Serializable {
this.restrictTotalNum = restrictTotalNum; this.restrictTotalNum = restrictTotalNum;
} }
public String getProductImgUrl() {
return productImgUrl;
}
public void setProductImgUrl(String productImgUrl) {
this.productImgUrl = productImgUrl;
}
public List<PlatformActivityGoodsSubsidiaryDO> getGoodsSubsidiaryDOList() { public List<PlatformActivityGoodsSubsidiaryDO> getGoodsSubsidiaryDOList() {
return goodsSubsidiaryDOList; return goodsSubsidiaryDOList;
} }
......
...@@ -83,6 +83,11 @@ public class PfActivitySignUpGoodsReq implements Serializable { ...@@ -83,6 +83,11 @@ public class PfActivitySignUpGoodsReq implements Serializable {
@Range(min = 1,message = "活动限购总数量必须大于0") @Range(min = 1,message = "活动限购总数量必须大于0")
private Integer restrictTotalNum; private Integer restrictTotalNum;
/** /**
* 活动商品图片
*/
@NotNull(message = "活动商品图片地址不能为空")
private String productImgUrl;
/**
* 商品赠品、换购商品、套餐商品 * 商品赠品、换购商品、套餐商品
*/ */
private List<PfActivitySignUpGoodsSubsidiaryReq> goodsSubsidiaryList; private List<PfActivitySignUpGoodsSubsidiaryReq> goodsSubsidiaryList;
......
...@@ -112,4 +112,8 @@ public class PfActivitySignUpGoodsPageResp implements Serializable { ...@@ -112,4 +112,8 @@ public class PfActivitySignUpGoodsPageResp implements Serializable {
* */ * */
private Integer restrictTotalNum; private Integer restrictTotalNum;
/**
* 活动商品图片
*/
private String productImgUrl;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment