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,40 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* 活动实体
*/
@Data
@TableName("sys_activity")
public class ActivityCouponEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 关联活动ID
*/
private Integer activityId;
/**
* 关联优惠券Id
*/
private Integer couponId;
/**
* 关联商品Id
*/
private Integer productId;
}

View File

@@ -0,0 +1,99 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* 活动实体
*/
@Data
@TableName("sys_activity")
public class ActivityEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 活动名称
*/
private String activityName;
/**
* 活动类型 0长期活动1短期活动
*/
private String activityType;
/**
* 活动方式
* 0注册
* 1购物
* 2充值
* 3会员卡
* 4一路健康推广
*/
private String activityManner;
/**
* 活动内容
* 0购买商品
* 1满N送券
* 2满N减N
*/
private String activityContent;
/**
* 积分
*/
private Integer point;
/**
* 时效
*/
private String validity;
/**
* 活动开始时间
*/
private Date beginTime;
/**
* 活动结束时间
*/
private Date endTime;
/**
* 活动封面地址
*/
private String activityUrl;
/**
* 当前状态 0全部1生效2已过期
*/
private String currentState;
/**
* 备注
*/
private String remark;
/**
* 删除标志
*/
@TableLogic
private Integer delFlag;
/**
* 活动,商品,优惠券,集合
*/
private List<ActivityCouponEntity> activityCouponList;
}

View File

@@ -0,0 +1,70 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 作者表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-04 15:36:59
*/
@Data
@TableName("author")
public class AuthorEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
* 作者姓名
*/
private String authorName;
/**
* 性别
*/
private Integer sex;
/**
* 年龄
*/
private Integer age;
/**
* 简介
*/
private String introduction;
/**
* 电话
*/
private String tel;
/**
* 住址
*/
private String address;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
/**
* 排序
*/
private Integer sort;
/**
* 删除标记
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,78 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 阅读记录
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("book_browse_records")
public class BookBrowseRecordsEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
* 用户id
*/
private Integer userId;
/**
* 图书id
*/
private Integer bookId;
/**
* 图书名称
*/
private String bookName;
/**
* 章节id
*/
@TableField(exist = false)
private Integer chapterId;
/**
* 章节名称
*/
@TableField(exist = false)
private String chapterName;
/**
* num
*/
@TableField(exist = false)
private Integer chapterNum;
/**
* 图片
*/
@TableField(exist = false)
private String images;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateTime;
/**
* 排序
*/
private Integer sort;
/**
* 删除标记
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,52 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-17 14:54:08
*/
@Data
@TableName("book_buy_config")
public class BookBuyConfigEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer priceTypeId;
/**
* 类型
*/
private String type;
/**
* 渠道
*/
private String qudao;
/**
* 真实价格
*/
private String realMoney;
/**
* 金额
*/
private String money;
/**
* vip开通月份
*/
private String month;
/**
* 充值名称
*/
private String description;
}

View File

@@ -0,0 +1,76 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-16 14:32:06
*/
@Data
@TableName("book_chapter_content")
public class BookChapterContentEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
*
*/
private Integer bookId;
/**
*
*/
private Integer bookChatperId;
/**
*
*/
private Integer number;
/**
*
*/
private String content;
/**
*
*/
private String voices;
private String otherContent;
/**
*
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
*
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
@TableField(exist = false)
private String picAndWord;
/**
*
*/
private Integer sort;
/**
*
*/
private Integer level;
/**
*
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,66 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-12 09:53:25
*/
@Data
@TableName("book_chapter")
public class BookChapterEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
* 图书id
*/
private Integer bookId;
/**
* 章节号
*/
private Integer number;
/**
* 章节
*/
private String chapter;
/**
* 内容
*/
private String content;
/**
* 音频文件地址
*/
private String voices;
/**
*
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
*
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
/**
*
*/
private Integer sort;
/**
*
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,156 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 图书表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-04 15:36:59
*/
@Data
@TableName("book")
public class BookEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(type = IdType.AUTO)
private Integer id;
/**
* 书名
*/
private String name;
/**
* 作者id
*/
private String authorId;
/**
* 简介
*/
private String description;
/**
* 序言
*/
private String title;
/**
* 秒杀
*/
private Integer isSale;
/**
* 付费类型
*/
@TableField("isVip")
private Integer isVip;
/**
* 免费章节数
*/
private Integer freeChapterCount;
/**
* 内容
*/
private String content;
/**
* 类型
*/
private String type;
/**
* 价格
*/
private BigDecimal price;
/**
* 价格
*/
private BigDecimal salePrice;
/**
* 是否加入书架
*/
@TableField(exist = false)
private boolean flag;
/**
* 置顶
*/
private Integer istop;
/**
* 出版商id
*/
private String publisherId;
/**
* 插图
*/
private String images;
/**
* 插图 多图
*/
private String imagesList;
/**
* 父id
*/
private Integer pid;
/**
* 层级
*/
private String level;
/**
* 章节处理状态 0-未处理 1-处理中 2-成功 3-失败
*/
private String chapterStatus;
/**
* 内容处理状态 0-未处理 1-处理中 2-成功 3-失败
*/
private String contentStatus;
/**
* 音频处理状态 0-未处理 1-处理中 2-成功 3-失败
*/
private String voicesStatus;
/**
* 创建日期
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 更新日期
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
/**
* 排序
*/
private Integer sort;
private Integer state;
private String novel;
/**
* 删除标记
*/
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private String publisherName;
@TableField(exist = false)
private String authorName;
@TableField(exist = false)
private Integer chapterId;
@TableField(exist = false)
private String chapterName;
@TableField(exist = false)
private Integer chapterNum;
@TableField(exist = false)
private Integer isBuy;
}

View File

@@ -0,0 +1,119 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 阅读进度表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("book_read_rate")
public class BookReadRateEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
* 用户id
*/
private Integer userId;
/**
* 图书id
*/
private Integer bookId;
/**
* 章节id
*/
private Integer chapterId;
/**
* 章节名称
*/
private String chapterName;
/**
* 章节百分比
*/
private Integer precent;
/**
* 章节内容id
*/
private Integer contentId;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateTime;
/**
*
*/
private Integer sort;
/**
*
*/
private Integer delFlag;
/**
* dom的Dep 用来存前端传来上下定位的
*/
private String domDep;
/**
* dom的Value 用来存前端传来上下定位的
*/
private String domValue;
/**
* dom的domVmCount 用来存前端传来上下定位的
*/
private Integer domVmCount;
/**
* 阅读ID
*/
private String domId;
/**
* 与底部的距离
*/
private Integer bottomGap;
/**
* 高度
*/
private Integer heightGap;
/**
* 与左边的距离
*/
private Integer leftGap;
/**
*与右边的距离
*/
private Integer rightGap;
/**
*与头部的距离
*/
private Integer topGap;
/**
* 宽度
*/
private Integer widthGap;
}

View File

@@ -0,0 +1,58 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 书架表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("book_shelf")
public class BookShelfEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
*
*/
private Integer bookId;
/**
* 书名
*/
private String bookName;
/**
*
*/
private Integer userId;
/**
*
*/
@TableField(fill = FieldFill.INSERT)
private Date createTime;
/**
*
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date updateTime;
/**
*
*/
private Integer sort;
/**
*
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,106 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品订单详情表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("buy_order_detail")
public class BuyOrderDetailEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 订单详情id
*/
@TableId
private Long allOrderId;
/**
* 订单表id
*/
private Integer orderId;
/**
* 用户id
*/
private Integer userId;
/**
* 商品id
*/
private Integer productId;
/**
* 商品名称
*/
private String productName;
/**
* 商品数量
*/
private Integer quantity;
/**
* 商品单价
*/
private BigDecimal productPrice;
/**
* 商品重量
*/
private Float weight;
/**
* 商品类型
*/
private String productType;
private String shippingSn;
private String orderStatus;
private String remark;
/**
* 下单时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date creatTime;
@TableField(exist = false)
private String image;
/**
* 地址id
*/
private Integer addressId;
/**
* 面单html
*/
private String fmsHtml;
/**
* 快递公司编码
*/
private String shipperCode;
/**
* 快递公司名称
*/
private String shipperName;
/**
* 是否已打印 0: 未打印1已打印
*/
private String isPrint;
/**
* 商品图片地址
*/
private String productUrl;
}

View File

@@ -0,0 +1,178 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("buy_order")
public class BuyOrderEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer orderId;
/**
* 订单编号 yyyymmddnnnnnnnn
*/
private String orderSn;
/**
* 下单人ID
*/
private Integer userId;
/**
* 下单人姓名
*/
@TableField(exist = false)
private String userName;
/**
* 收货人姓名
*/
private String shippingUser;
/**
* 收货人手机号
*/
private String userPhone;
/**
* 省
*/
private String province;
/**
* 市
*/
private String city;
/**
* 区
*/
private String district;
/**
* 地址
*/
private String address;
/**
* 支付方式 1支付宝2微信3ios内购
*/
private String paymentMethod;
/**
* 订单金额
*/
private BigDecimal orderMoney;
/**
* 优惠金额
*/
private BigDecimal districtMoney;
/**
* 实收金额
*/
private BigDecimal realMoney;
/**
* 运费
*/
private BigDecimal shippingMoney;
/**
* 物流公司名称
*/
private String shippingCompName;
/**
* 物流单号
*/
private String shippingSn;
/**
* 下单时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 发货时间
*/
private Date shippingTime;
/**
* 订单状态
*
*
* 0: 待付款
* 1: 待发货
* 2: 已发货
* 3已完成
* 4: 交易失败
*
*/
private String orderStatus;
/**
* 交易成功时间
*/
private Date successTime;
/**
* 优惠券Id
*/
private Integer couponId;
/**
* 优惠券名称
*/
private String couponName;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<BuyOrderDetailEntity> products;
@TableField(exist = false)
private String buyType;
/**
* vip order point
*/
private String orderType;
/**
* 快递单号
*/
private String expNo;
/**
* 是否存在发货的商品 0不存在1已存在
*/
private String isSend;
/**
* 地址id
*/
private Integer addressId;
/**
* 订单备注
*/
private String remark;
/**
* 快递鸟订单编号
*/
private String orderCode;
/**
* 支付时间
*/
private Date paymentDate;
}

View File

@@ -0,0 +1,50 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 市
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-27 16:07:59
*/
@Data
@TableName("base_city")
public class CityEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(type = IdType.AUTO)
private Long cityId;
/**
* 所属省
*/
private Long provId;
/**
* 城市名称
*/
private String cityName;
/**
*
*/
private Date createDate;
/**
* 区域编码
*/
private String regionCode;
@TableField(exist = false)
private List<CountyEntity> countyList;
}

View File

@@ -0,0 +1,50 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 县/区
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-27 16:07:59
*/
@Data
@TableName("base_county")
public class CountyEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(type = IdType.AUTO)
private Long countyId;
/**
*
*/
private Long cityId;
/**
* 县/区名称
*/
private String countyName;
/**
*
*/
private Date createDate;
/**
* 区域编码
*/
private String regionCode;
}

View File

@@ -0,0 +1,108 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Data
@TableName("sms_coupon")
public class CouponEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Long id;
/**
* 优惠券类型 0现金1折扣
*/
private Integer couponType;
/**
* 优惠券名称
*/
private String couponName;
/**
* 优惠券面额
*/
private BigDecimal couponAmount;
/**
* 优惠券封面图
*/
private String couponUrl;
/**
* 每人限领
*/
private Integer limitedCollar;
/**
* 时效
*/
private String validity;
/**
* 生效方式 0领取日生效 1 设置生效日期
*/
private Integer takeEffectType;
/**
* 生效日期
*/
private Date takeEffectDate;
/**
* 截止日期
*/
private Date expirationDate;
/**
* 总发行数量
*/
public Integer totalCirculation;
/**
* 当前状态 0全部1生效2已过期
*/
private String currentState;
/**
* 备注
*/
private String remark;
/**
* 删除标志
*/
@TableLogic
private Integer delFlag;
/**
* 商品类型 0: 商品 1电子书
*/
private Integer couponProType;
/**
* 使用门槛
*/
private Integer useLevel;
}

View File

@@ -0,0 +1,80 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Data
@TableName("sms_coupon_history")
public class CouponHistoryEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@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;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 使用状态0->未使用1->已使用2->已过期
*/
private Integer useStatus;
/**
* 使用时间
*/
private Date useTime;
/**
* 订单号码
*/
private String orderSn;
@TableField(exist = false)
private String couponName;
/**
* 商品类型 0: 商品 1电子书
*/
private Integer couponProType;
}

View File

@@ -0,0 +1,44 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Data
@TableName("sms_coupon_product_category_relation")
public class CouponProductCategoryRelationEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Long id;
/**
* 优惠券id
*/
private Long couponId;
/**
* 商品分类id
*/
private Long productCategoryId;
/**
* 商品分类名称
*/
private String productCategoryName;
/**
* 父分类名称
*/
private String parentCategoryName;
}

View File

@@ -0,0 +1,44 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Data
@TableName("sms_coupon_product_relation")
public class CouponProductRelationEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Long id;
/**
* 优惠券id
*/
private Long couponId;
/**
* 商品id
*/
private Long productId;
/**
* 商品名称
*/
private String productName;
/**
* 商品条码
*/
private String productSn;
}

View File

@@ -0,0 +1,54 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 发送快递商品详情
*/
@Data
@TableName("fms_commodity")
public class FMSCommodity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 商品名称
*/
private String goodsName;
/**
* 商品数量
*/
private Integer goodsQuantity;
/**
* 商品价格
*/
private BigDecimal goodsPrice;
/**
* 商品重量kg
*/
private Float goodsWeight;
/**
* 商品描述
*/
private String goodsDesc;
/**
* 发送快递表主键
*/
private Integer fmsOrderId;
}

View File

@@ -0,0 +1,38 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 发送快递信息实体
*/
@Data
@TableName("fms_order_detail")
public class FMSOrderDetailEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 订单id
*/
private Integer orderId;
/**
* 订单商品id
*/
private Long detailId;
/**
* 快递编号
*/
private String orderCode;
}

View File

@@ -0,0 +1,78 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 发送快递信息实体
*/
@Data
@TableName("fms_order")
public class FMSOrderEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 订单号
*/
private String orderCode;
/**
* 快递公司编码
*/
private String shipperCode;
/**
* 收件人姓名
*/
private String receiverName;
/**
* 收件人电话
*/
private String receiverMobile;
/**
* 收件省
*/
private String receiverProvinceName;
/**
* 收件市
*/
private String receiverCityName;
/**
* 收件区/县
*/
private String receiverExpAreaName;
/**
* 收件人详细地址
*/
private String receiverAddress;
/**
* 商品信息列表
*/
private List<FMSCommodity> commodityList;
/**
* 备注
*/
private String remark;
/**
* 订单详情ID
*/
private Integer orderId;
}

View File

@@ -0,0 +1,109 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-10 14:20:12
*/
@Data
@TableName("user")
public class MyUserEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
* 姓名
*/
private String name;
/**
* 年龄
*/
private Integer age;
/**
* 性别
*/
private Integer sex;
/**
* 头像
*/
private String avatar;
/**
* 昵称
*/
private String nickname;
/**
* 电话
*/
private String tel;
/**
* 密码
*/
private String password;
/**
* 0-普通 1-vip
*/
private String vip;
/**
* vip 有效期
*/
private Date vipStartTime;
/**
* vip 有效期
*/
private Date vipValidtime;
/**
* 花生币
*/
private Integer peanutCoin;
/**
* 阅读时间
*/
private Date readTime;
/**
* 最后登录时间
*/
private Date lastLoginTime;
/**
* 一路健康oid
*/
private String yljkOid;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
/**
* 删除标记
*/
@TableLogic
private Integer delFlag;
/**
* 短信验证码
*/
@TableField(exist = false)
private String code;
@TableField(exist = false)
private Integer conponsCount;
}

View File

@@ -0,0 +1,60 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 购物车
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("order_cart")
public class OrderCartEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer cartId;
/**
* 用户id
*/
private Integer userId;
/**
* 商品id
*/
private Integer productId;
/**
* 商品数量
*/
private Integer productAmount;
/**
* 商品单价
*/
private BigDecimal price;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
/**
* 删除标记
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,65 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 充值订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("pay_payment_order")
public class PayPaymentOrderEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* id
*/
@TableId
private Long id;
/**
* 用户id
*/
private Integer userId;
/**
* 充值金额
*/
private BigDecimal rechargeAmount;
/**
* 充值渠道
*/
private String rechargeChannel;
/**
* 订单号
*/
private String orderId;
/**
* 实际充值金额
*/
private BigDecimal realAmount;
/**
* 充值状态
*/
private String rechargeStatus;
/**
* 下单时间
*/
@TableField(fill = FieldFill.INSERT)
private Date createTime;
/**
* 支付成功时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date successTime;
}

View File

@@ -0,0 +1,160 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 支付宝订单表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:27:44
*/
@Data
@TableName("pay_zfb_order")
public class PayZfbOrderEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Long id;
/**
*
*/
private String customerid;
/**
*
*/
private String outTradeNo;
/**
*
*/
private String tradeNo;
/**
*
*/
private Date notifyTime;
/**
*
*/
private String notifyType;
/**
*
*/
private String notifyId;
/**
*
*/
private String appId;
/**
*
*/
private String authAppId;
/**
*
*/
private String charset;
/**
*
*/
private String version;
/**
*
*/
private String signType;
/**
*
*/
private String sign;
/**
*
*/
private String outBizNo;
/**
*
*/
private String buyerId;
/**
*
*/
private String buyerLogonId;
/**
*
*/
private String sellerId;
/**
*
*/
private String sellerEmail;
/**
*
*/
private String tradeStatus;
/**
*
*/
private String totalAmount;
/**
*
*/
private String receiptAmount;
/**
*
*/
private String invoiceAmount;
/**
*
*/
private String buyerPayAmount;
/**
*
*/
private String pointAmount;
/**
*
*/
private String refundFee;
/**
*
*/
private String subject;
/**
*
*/
private String body;
/**
*
*/
private Date gmtCreate;
/**
*
*/
private Date gmtPayment;
/**
*
*/
private Date gmtRefund;
/**
*
*/
private Date gmtClose;
/**
*
*/
private String fundBillList;
/**
*
*/
private String voucherDetailList;
/**
*
*/
private String relevanceoid;
}

View File

@@ -0,0 +1,46 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 省
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-27 16:07:59
*/
@Data
@TableName("base_province")
public class ProvinceEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId(type = IdType.AUTO)
private Long provId;
/**
* 省名称
*/
private String provName;
/**
*
*/
private Date createDate;
/**
* 区域编码
*/
private String regionCode;
@TableField(exist = false)
private List<CityEntity> cityList;
}

View File

@@ -0,0 +1,54 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 出版商表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-04 15:36:59
*/
@Data
@TableName("publisher")
public class PublisherEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
* 出版商名称
*/
private String publisherName;
/**
* 出版商简介
*/
private String introduction;
/**
* 联系方式
*/
private Integer tel;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date updateTime;
/**
* 删除标记
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,57 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 秒杀商品表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 11:24:05
*/
@Data
@TableName("seckill_prod_relation")
public class SeckillProdRelationEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer id;
/**
*
*/
private String 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,71 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
/**
* 商品三级分类
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-30 15:06:20
*/
@Data
@TableName("shop_category")
public class ShopCategoryEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 分类id
*/
@TableId
private Long catId;
/**
* 分类名称
*/
private String name;
/**
* 父分类id
*/
private Long parentCid;
/**
* 层级
*/
private Integer catLevel;
/**
* 是否显示[0-不显示1显示]
*/
@TableLogic(value="1",delval="0")
private Integer showStatus;
/**
* 排序
*/
private Integer sort;
/**
* 图标地址
*/
private String icon;
/**
* 计量单位
*/
private String productUnit;
/**
* 商品数量
*/
private Integer productCount;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@TableField(exist = false)
private List<ShopCategoryEntity> children;
}

View File

@@ -0,0 +1,127 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 商品表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-11-30 10:30:56
*/
@Data
@TableName("shop_product")
public class ShopProductEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@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 String productSalesVolume;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 删除标记
*/
private Integer delFlag;
/**
* 排序
*/
private Integer sort;
@TableField(exist = false)
private List<Integer> poids;
/**
* 作者
*/
private String author;
/**
* 出版方
*/
private String publisher;
/**
* 出版时间
*/
private Date pubDate;
/**
* 开本
*/
private String format;
/**
* 页数
*/
private Integer pageNum;
/**
* 内文用纸材质
*/
private String quality;
/**
* 总销量
*/
private Integer sumSales;
/**
* 商品类型
*/
private String goodsType;
private String goodsTypeCode;
}

View File

@@ -0,0 +1,52 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 秒杀库存表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 11:24:05
*/
@Data
@TableName("shop_seckill")
public class ShopSeckillEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* id
*/
@TableId
private Long seckillId;
/**
* 名称
*/
private String nam;
/**
* 秒杀开启时间
*/
private Date startTime;
/**
* 秒杀结束时间
*/
private Date endTime;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
@TableField(exist = false)
private List<SeckillProdRelationEntity> relationProd;
}

View File

@@ -0,0 +1,58 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 交易明细
*
* @author yl
* @email yl328572838@163.com
* @date 2022-08-29 15:47:50
*/
@Data
@TableName("transaction_details")
public class TransactionDetailsEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer transactionId;
/**
* 用户id
*/
private Integer userId;
/**
* 充值 支付 赠送优惠券.....
*/
private String orderType;
/**
* 变动金额
*/
private BigDecimal changeAmount;
/**
* 关联id
*/
private Integer relationId;
/**
* 备注
*/
private String remark;
/**
* 余额
*/
private BigDecimal userBalance;
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
}

View File

@@ -0,0 +1,74 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-31 11:20:32
*/
@Data
@TableName("user_address")
public class UserAddressEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 自增ID
*/
@TableId
private Integer addressid;
/**
* 会员ID
*/
private Integer userid;
/**
* 收货人名称
*/
private String username;
/**
* 收货人手机号码
*/
private String userphone;
/**
* 区域ID路径
*/
private String areaidpath;
/**
* 区域ID文字
*/
private String areaidpathtext;
/**
* 最后一级区域ID
*/
private Integer areaid;
/**
* 详细地址
*/
private String useraddress;
/**
* 默认
*/
private Integer isdefault;
/**
* 有效状态
*/
@TableLogic
private Integer delFlag;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
}

View File

@@ -0,0 +1,61 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 用户购买书籍表
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-18 16:28:20
*/
@Data
@TableName("user_ebook_buy")
public class UserEbookBuyEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@TableId
private Integer buyId;
/**
* 用户id
*/
private Integer userId;
/**
* 书id
*/
private Integer bookId;
/**
* 书名
*/
private String bookName;
/**
* 1- 支付宝 2-微信 3 ios
*/
private String payType;
/**
* 支付时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date payTime;
/**
* 支付状态 1-成功 2-失败
*/
private String payStatus;
private String image;
private String author;
}