菜单 子集

存酒
购买须知
团购商品
用户列表
This commit is contained in:
2024-05-29 15:24:50 +08:00
parent 44509e1d32
commit b31148da52
33 changed files with 457 additions and 172 deletions

View File

@@ -49,17 +49,21 @@ public class ShopUserInfoVo implements Serializable {
}
}
public ShopUserInfoVo(Integer id, String headImg, String nickName, Object sex, BigDecimal amount, Integer totalScore, String telephone, String birthDay, Integer isVip, long createAt, long lastLoginAt) {
this.id = id;
this.headImg = headImg;
this.nickName = nickName;
setSex(sex);
this.amount = amount;
this.totalScore = totalScore;
this.telephone = telephone;
this.birthDay = birthDay;
this.isVip = isVip;
this.createAt = createAt;
this.lastLoginAt = lastLoginAt;
// 无参构造函数
public ShopUserInfoVo() {
}
// private ShopUserInfoVo(Integer id, String headImg, String nickName, Object sex, BigDecimal amount, Integer totalScore, String telephone, String birthDay, Integer isVip, long createAt, long lastLoginAt) {
// this.id = id;
// this.headImg = headImg;
// this.nickName = nickName;
// setSex(sex);
// this.amount = amount;
// this.totalScore = totalScore;
// this.telephone = telephone;
// this.birthDay = birthDay;
// this.isVip = isVip;
// this.createAt = createAt;
// this.lastLoginAt = lastLoginAt;
// }
}

View File

@@ -1,6 +1,8 @@
package cn.ysk.cashier.vo;
import cn.ysk.cashier.dto.TbPlatformDictDto;
import cn.ysk.cashier.dto.shop.TbCouponCategoryDto;
import cn.ysk.cashier.pojo.shop.TbPurchaseNotice;
import com.alibaba.fastjson.JSONArray;
import lombok.Data;
import cn.ysk.cashier.pojo.product.TbProductSku;
@@ -45,8 +47,7 @@ public class TbProductVo {
private String coverImg;
@NotNull(message ="缺少商品类信息")
private String categoryId;
private Integer categoryId;
private String categoryName;
@@ -208,7 +209,7 @@ public class TbProductVo {
private List<TbProductSku> skuList;
private HashMap<String,String> specsInfo;
private HashMap<String, String> specsInfo;
private String specInfo;
@@ -218,5 +219,7 @@ public class TbProductVo {
private String skuSnap;
private TbPurchaseNotice notices=new TbPurchaseNotice();
private List<TbCouponCategoryDto> groupCategoryId = new ArrayList<>();
private List<TbPlatformDictDto> tags = new ArrayList<>();
}