first commit

This commit is contained in:
cys841515238
2023-03-02 16:13:28 +08:00
commit 2733a60b97
741 changed files with 76931 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package com.peanut.modules.book.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class BookIndexVo {
private Integer bookid;
private String bookName;
private String authorName;
private String image;
private String introduce;
private String publisherName;
private Integer isVip;
private BigDecimal price;
private BigDecimal salePrice;
}

View File

@@ -0,0 +1,16 @@
package com.peanut.modules.book.vo;
import lombok.Data;
@Data
public class BookShelfVo {
private Integer bookShelfId;
private Integer bookid;
private String bookName;
private String authorName;
private String image;
private String precent;
private Integer chapterId;
private String chapterName;
private Integer chapterNum;
}

View File

@@ -0,0 +1,72 @@
package com.peanut.modules.book.vo;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class ProdInfoVo {
/**
*
*/
@TableId
private Integer productId;
/**
* 商品名称
*/
private String productName;
/**
* 商品价格
*/
private BigDecimal price;
/**
* 商品重量
*/
private Float weight;
/**
* 上架状态
*/
private Integer publishStatus;
/**
* 商品介绍
*/
private String productDetails;
/**
* 商品分类id
*/
private Integer productPid;
/**
* 商品 类型 0 - 预售 1 - 在售
*/
private String productType;
/**
* 商品库存
*/
private Integer productStock;
/**
* 商品图首页
*/
private String productImages;
/**
* 商品 多图
*/
private String productImageList;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 删除标记
*/
private Integer delFlag;
/**
* 排序
*/
private Integer sort;
}

View File

@@ -0,0 +1,28 @@
package com.peanut.modules.book.vo;
import lombok.Data;
@Data
public class ProductVo {
/**
* 快递编码
*/
private String kdCode;
/**
* 地址编码
*/
private String area;
/**
* 重量
*/
private Integer weight;
/**
* 数量
*/
private Integer num;
}

View File

@@ -0,0 +1,43 @@
package com.peanut.modules.book.vo;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class SeckillProdVo {
/**
*
*/
@TableId
private Integer id;
/**
*
*/
private Integer promotionId;
/**
* 场次id
*/
private Integer promotionSeckillId;
/**
* 商品id
*/
private Integer prodId;
/**
* 秒杀价格
*/
private BigDecimal seckillPrice;
/**
* 秒杀数量
*/
private String seckillCount;
/**
* 限制购买
*/
private String seckillLimit;
/**
* 权重
*/
private String seckillSort;
}

View File

@@ -0,0 +1,37 @@
package com.peanut.modules.book.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.peanut.modules.book.entity.SeckillProdRelationEntity;
import lombok.Data;
import java.util.Date;
import java.util.List;
@Data
public class SeckillSessionWithProdVo {
/**
* id
*/
@TableId
private Long seckillId;
/**
* 名称
*/
private String nam;
/**
* 秒杀开启时间
*/
private Date startTime;
/**
* 秒杀结束时间
*/
private Date endTime;
/**
* 创建时间
*/
private Date createTime;
@TableField(exist = false)
private List<SeckillProdRelationEntity> relationProd;
}

View File

@@ -0,0 +1,38 @@
package com.peanut.modules.book.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class ShopCartVo {
private Integer cartId;
/**
* 用户id
*/
private Integer userId;
/**
* 商品id
*/
private Integer productId;
/**
* 商品数量
*/
private Integer productAmount;
/**
* 商品单价
*/
private BigDecimal price;
private String image;
private String productName;
private Double weight;
private Integer productStock;
}

View File

@@ -0,0 +1,12 @@
package com.peanut.modules.book.vo;
import lombok.Data;
@Data
public class ShopProductVo {
private Integer productId;
private String value;
}

View File

@@ -0,0 +1,57 @@
package com.peanut.modules.book.vo;
import com.baomidou.mybatisplus.annotation.TableId;
import com.peanut.modules.book.entity.CouponEntity;
import lombok.Data;
import java.util.Date;
@Data
public class UserCouponVo {
@TableId
private Long id;
/**
* 优惠券id
*/
private Long couponId;
/**
* 会员id
*/
private Long memberId;
/**
* 订单id
*/
private Long orderId;
/**
* 优惠券码
*/
private String couponCode;
/**
* 领取人昵称
*/
private String memberNickname;
/**
* 获取类型0->后台赠送1->主动获取
*/
private Integer getType;
/**
* 创建时间
*/
private Date createTime;
/**
* 使用状态0->未使用1->已使用2->已过期
*/
private Integer useStatus;
/**
* 使用时间
*/
private Date useTime;
/**
* 订单号码
*/
private String orderSn;
private CouponEntity coupons;
}

View File

@@ -0,0 +1,36 @@
package com.peanut.modules.book.vo;
import com.baomidou.mybatisplus.annotation.TableId;
import com.peanut.modules.book.entity.BuyOrderEntity;
import lombok.Data;
import java.util.List;
@Data
public class UserOrderVo {
@TableId
public Integer id;
/**
* 姓名
*/
public String userName;
/**
* 电话
*/
private String tel;
/**
* 收货地址
*/
private String address;
/**
* 是否合并
*/
private String isMerge = "";
public List<BuyOrderEntity> orderList;
}