商品详情开工,商品首页调整

This commit is contained in:
liuyingfang
2024-04-10 14:15:41 +08:00
parent dd81edb51e
commit 1b9d069bc6
13 changed files with 318 additions and 7 deletions

View File

@@ -40,6 +40,8 @@ public class TbProduct implements Serializable {
private String shareImg;
private String images;
private String videoCoverImg;
private Integer sort;
@@ -128,6 +130,14 @@ public class TbProduct implements Serializable {
private String cartNumber="0";
public String getImages() {
return images;
}
public void setImages(String images) {
this.images = images;
}
public String getCartNumber() {
return cartNumber;
}

View File

@@ -0,0 +1,107 @@
package com.chaozhanggui.system.cashierservice.entity;
import java.util.Date;
import java.io.Serializable;
/**
* (TbSystemCoupons)实体类
*
* @author lyf
* @since 2024-04-09 18:27:08
*/
public class TbSystemCoupons implements Serializable {
private static final long serialVersionUID = -42549701370854624L;
private Integer id;
private String name;
private Double couponsPrice;
private Double couponsAmount;
private String status;
private Date createTime;
private Date updateTime;
private Date endTime;
private Integer dayNum;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Double getCouponsPrice() {
return couponsPrice;
}
public void setCouponsPrice(Double couponsPrice) {
this.couponsPrice = couponsPrice;
}
public Double getCouponsAmount() {
return couponsAmount;
}
public void setCouponsAmount(Double couponsAmount) {
this.couponsAmount = couponsAmount;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Date getEndTime() {
return endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public Integer getDayNum() {
return dayNum;
}
public void setDayNum(Integer dayNum) {
this.dayNum = dayNum;
}
}

View File

@@ -0,0 +1,31 @@
package com.chaozhanggui.system.cashierservice.entity.vo;
import com.chaozhanggui.system.cashierservice.entity.TbPlatformDict;
import java.util.List;
/**
* @author 12847
*/
public class BannerVO {
private String coupons;
private List<TbPlatformDict> logo;
public String getCoupons() {
return coupons;
}
public void setCoupons(String coupons) {
this.coupons = coupons;
}
public List<TbPlatformDict> getLogo() {
return logo;
}
public void setLogo(List<TbPlatformDict> logo) {
this.logo = logo;
}
}

View File

@@ -31,6 +31,18 @@ public class HomeUpVO {
* 销量飙升
*/
HotRankingVO salesList;
/**
* 小横幅
*/
BannerVO bannerVO;
public BannerVO getBannerVO() {
return bannerVO;
}
public void setBannerVO(BannerVO bannerVO) {
this.bannerVO = bannerVO;
}
public TodayRankingVO getTodayList() {
return todayList;

View File

@@ -62,14 +62,13 @@ public class HomeVO {
/**
* 结束时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private String endTime;
private Long endTime;
public String getEndTime() {
public Long getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
public void setEndTime(Long endTime) {
this.endTime = endTime;
}

View File

@@ -0,0 +1,41 @@
package com.chaozhanggui.system.cashierservice.entity.vo;
import java.math.BigDecimal;
import java.util.List;
/**
* @author lyf
*/
public class productInfoVo {
/**
* 商品图片
*/
private List<String>images;
/**
* 原价
*/
private BigDecimal originPrice;
/**
* 现价
*/
private BigDecimal salePrice;
/**
* 折扣
*/
private Float discount;
/**
* 共省金额
*/
private BigDecimal save;
/**
* 销量
*/
private BigDecimal realSalesNumber;
/**
* 结束时间
*/
private Long endTime;
}