Fixing .gitignore
This commit is contained in:
@@ -1,40 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,99 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,70 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,77 +1,77 @@
|
||||
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;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
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;
|
||||
|
||||
}
|
||||
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;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,52 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,70 +1,70 @@
|
||||
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 com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 图书二级分类
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_category")
|
||||
public class BookCategoryEntity {
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
@TableField("name")
|
||||
private String name;
|
||||
/**
|
||||
* 父分类id
|
||||
*/
|
||||
@TableField("book_cid")
|
||||
private Integer bookCid;
|
||||
/**
|
||||
* 层级
|
||||
*/
|
||||
@TableField("book_level")
|
||||
private Integer bookLevel;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@TableField("sort")
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
@TableField("book_count")
|
||||
private Integer bookCount;
|
||||
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
@TableField(exist = false)
|
||||
private List<BookCategoryEntity> children;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
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 com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 图书二级分类
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_category")
|
||||
public class BookCategoryEntity {
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
@TableField("name")
|
||||
private String name;
|
||||
/**
|
||||
* 父分类id
|
||||
*/
|
||||
@TableField("book_cid")
|
||||
private Integer bookCid;
|
||||
/**
|
||||
* 层级
|
||||
*/
|
||||
@TableField("book_level")
|
||||
private Integer bookLevel;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@TableField("sort")
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
@TableField("book_count")
|
||||
private Integer bookCount;
|
||||
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
@TableField(exist = false)
|
||||
private List<BookCategoryEntity> children;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,76 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,74 +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-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;
|
||||
/**
|
||||
* 0免费,1限制
|
||||
*/
|
||||
private Integer sort;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private String picAndWord;
|
||||
}
|
||||
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;
|
||||
/**
|
||||
* 0免费,1限制
|
||||
*/
|
||||
private Integer sort;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private String picAndWord;
|
||||
}
|
||||
|
||||
@@ -1,80 +1,80 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
* 打卡评论追评表
|
||||
*
|
||||
*/
|
||||
|
||||
@Data
|
||||
@TableName("book_clockin_comment")
|
||||
public class BookClockinCommentEntity implements Serializable {
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 签到表关联id
|
||||
*/
|
||||
@TableField("task_id")
|
||||
private Integer taskId;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@TableField("images")
|
||||
private String images;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
* 点赞总数
|
||||
*/
|
||||
@TableField("like_sum")
|
||||
private String likeSum;
|
||||
/**
|
||||
*创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 关联评论
|
||||
*/
|
||||
@TableField("pid")
|
||||
private Integer pid;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
* 打卡评论追评表
|
||||
*
|
||||
*/
|
||||
|
||||
@Data
|
||||
@TableName("book_clockin_comment")
|
||||
public class BookClockinCommentEntity implements Serializable {
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 签到表关联id
|
||||
*/
|
||||
@TableField("task_id")
|
||||
private Integer taskId;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@TableField("images")
|
||||
private String images;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
* 点赞总数
|
||||
*/
|
||||
@TableField("like_sum")
|
||||
private String likeSum;
|
||||
/**
|
||||
*创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 关联评论
|
||||
*/
|
||||
@TableField("pid")
|
||||
private Integer pid;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,116 +1,116 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* 打卡评论表
|
||||
* @author
|
||||
* @email
|
||||
* @date
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_clockin")
|
||||
public class BookClockinEntity implements Serializable {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("clockin_sum")
|
||||
private String clockinSum;
|
||||
|
||||
|
||||
/**
|
||||
* 集合
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Object imageeStrings;
|
||||
/**
|
||||
*创建注解
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("images")
|
||||
private Object images;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("voices")
|
||||
private String voices;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("like_s")
|
||||
private String likes;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(" like_sum")
|
||||
private String likeSum;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(" comment_sum")
|
||||
private String commentSum;
|
||||
|
||||
//taskId 与 dayId 反转存储
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* 打卡对应天id
|
||||
*/
|
||||
@TableField("day_id")
|
||||
private Integer dayId;
|
||||
/**
|
||||
* 列表id
|
||||
*
|
||||
*/
|
||||
@TableField("task_id")
|
||||
private Integer taskId;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* 打卡评论表
|
||||
* @author
|
||||
* @email
|
||||
* @date
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_clockin")
|
||||
public class BookClockinEntity implements Serializable {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("clockin_sum")
|
||||
private String clockinSum;
|
||||
|
||||
|
||||
/**
|
||||
* 集合
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Object imageeStrings;
|
||||
/**
|
||||
*创建注解
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("images")
|
||||
private Object images;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("voices")
|
||||
private String voices;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("like_s")
|
||||
private String likes;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(" like_sum")
|
||||
private String likeSum;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(" comment_sum")
|
||||
private String commentSum;
|
||||
|
||||
//taskId 与 dayId 反转存储
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* 打卡对应天id
|
||||
*/
|
||||
@TableField("day_id")
|
||||
private Integer dayId;
|
||||
/**
|
||||
* 列表id
|
||||
*
|
||||
*/
|
||||
@TableField("task_id")
|
||||
private Integer taskId;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,55 +1,55 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 签到表
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_clockin_punch")
|
||||
public class BookClockinPunchEntity implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("days")
|
||||
private Integer days;
|
||||
/**
|
||||
*创建注解
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("t_id")
|
||||
private Integer tId;
|
||||
|
||||
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 签到表
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_clockin_punch")
|
||||
public class BookClockinPunchEntity implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("days")
|
||||
private Integer days;
|
||||
/**
|
||||
*创建注解
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("t_id")
|
||||
private Integer tId;
|
||||
|
||||
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,174 +1,174 @@
|
||||
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;
|
||||
/**
|
||||
* 1为标题拆分,2为小节拆分
|
||||
*/
|
||||
private String splits;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@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 Boolean isBuy;
|
||||
|
||||
|
||||
|
||||
// @TableField(exist = false)
|
||||
// private Boolean bookAuthen;
|
||||
|
||||
|
||||
@TableField("can_listen")
|
||||
private Boolean canListen;
|
||||
|
||||
|
||||
private Integer clockIn;
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
/**
|
||||
* 1为标题拆分,2为小节拆分
|
||||
*/
|
||||
private String splits;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@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 Boolean isBuy;
|
||||
|
||||
|
||||
|
||||
// @TableField(exist = false)
|
||||
// private Boolean bookAuthen;
|
||||
|
||||
|
||||
@TableField("can_listen")
|
||||
private Boolean canListen;
|
||||
|
||||
|
||||
private Integer clockIn;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,81 +1,81 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 文章表主表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_forum_articles")
|
||||
public class BookForumArticlesEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*标题
|
||||
*/
|
||||
@TableField("title")
|
||||
private String title;
|
||||
/**
|
||||
*用户id
|
||||
*/
|
||||
@TableField("userid")
|
||||
private Integer userid;
|
||||
/**
|
||||
*内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*图片
|
||||
*/
|
||||
@TableField("image")
|
||||
private String image;
|
||||
/**
|
||||
*多图
|
||||
*/
|
||||
@TableField("imagelist")
|
||||
private String imagelist;
|
||||
/**
|
||||
*图书id
|
||||
*/
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
/**
|
||||
*开始时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解;
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@TableField("contlike")
|
||||
private Date contlike;
|
||||
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
|
||||
|
||||
|
||||
@TableField("author")
|
||||
private String author;
|
||||
|
||||
@TableField("publishername")
|
||||
private String publishername;
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 文章表主表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_forum_articles")
|
||||
public class BookForumArticlesEntity {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*标题
|
||||
*/
|
||||
@TableField("title")
|
||||
private String title;
|
||||
/**
|
||||
*用户id
|
||||
*/
|
||||
@TableField("userid")
|
||||
private Integer userid;
|
||||
/**
|
||||
*内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*图片
|
||||
*/
|
||||
@TableField("image")
|
||||
private String image;
|
||||
/**
|
||||
*多图
|
||||
*/
|
||||
@TableField("imagelist")
|
||||
private String imagelist;
|
||||
/**
|
||||
*图书id
|
||||
*/
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
/**
|
||||
*开始时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解;
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
@TableField("contlike")
|
||||
private Date contlike;
|
||||
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
|
||||
|
||||
|
||||
@TableField("author")
|
||||
private String author;
|
||||
|
||||
@TableField("publishername")
|
||||
private String publishername;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,61 +1,61 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 评价文章表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_forum_comment")
|
||||
public class BookForumCommentEntity {
|
||||
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*文章父id
|
||||
*/
|
||||
@TableField("bfa_id")
|
||||
private String bfaid;
|
||||
/**
|
||||
*用户评论id
|
||||
*/
|
||||
@TableField("userid")
|
||||
private String userid;
|
||||
/**
|
||||
*内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*图片
|
||||
*/
|
||||
@TableField("image")
|
||||
private String image;
|
||||
/**
|
||||
*开始时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
@TableField("book_id")
|
||||
private Integer bookid;
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 评价文章表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_forum_comment")
|
||||
public class BookForumCommentEntity {
|
||||
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*文章父id
|
||||
*/
|
||||
@TableField("bfa_id")
|
||||
private String bfaid;
|
||||
/**
|
||||
*用户评论id
|
||||
*/
|
||||
@TableField("userid")
|
||||
private String userid;
|
||||
/**
|
||||
*内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*图片
|
||||
*/
|
||||
@TableField("image")
|
||||
private String image;
|
||||
/**
|
||||
*开始时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
@TableField("book_id")
|
||||
private Integer bookid;
|
||||
}
|
||||
|
||||
@@ -1,74 +1,74 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 听书进度表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_listening")
|
||||
public class BookListeningEntity implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
* 章节id
|
||||
*/
|
||||
@TableField("chapter_id")
|
||||
private Integer chapterId;
|
||||
/**
|
||||
* 章节名称
|
||||
*/
|
||||
@TableField("chapter_name")
|
||||
private String chapterName;
|
||||
/**
|
||||
* 章节百分比
|
||||
*/
|
||||
@TableField("precent")
|
||||
private Integer precent;
|
||||
/**
|
||||
* 章节内容id
|
||||
*/
|
||||
@TableField("content_id")
|
||||
private Integer contentId;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Integer sort;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 听书进度表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_listening")
|
||||
public class BookListeningEntity implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
* 章节id
|
||||
*/
|
||||
@TableField("chapter_id")
|
||||
private Integer chapterId;
|
||||
/**
|
||||
* 章节名称
|
||||
*/
|
||||
@TableField("chapter_name")
|
||||
private String chapterName;
|
||||
/**
|
||||
* 章节百分比
|
||||
*/
|
||||
@TableField("precent")
|
||||
private Integer precent;
|
||||
/**
|
||||
* 章节内容id
|
||||
*/
|
||||
@TableField("content_id")
|
||||
private Integer contentId;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Integer sort;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,51 +1,51 @@
|
||||
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 lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("book_listening_shelf")
|
||||
public class BookListeningShelfEntity {
|
||||
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 图书
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookid;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userid;
|
||||
/**
|
||||
* 图书名称
|
||||
*/
|
||||
@TableField("book_name")
|
||||
private Integer bookname;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
private Integer delflag;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
|
||||
}
|
||||
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 lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("book_listening_shelf")
|
||||
public class BookListeningShelfEntity {
|
||||
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 图书
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookid;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("user_id")
|
||||
private Integer userid;
|
||||
/**
|
||||
* 图书名称
|
||||
*/
|
||||
@TableField("book_name")
|
||||
private Integer bookname;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
private Integer delflag;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,119 +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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,58 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,84 +1,84 @@
|
||||
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 lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发布打卡内容表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_task")
|
||||
public class BookTaskEntity implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookid;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("images")
|
||||
private String images;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("voices")
|
||||
private String voices;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("like_sun")
|
||||
private String likesun;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("days")
|
||||
private String days;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField("video")
|
||||
private String video;
|
||||
|
||||
@TableField("heading")
|
||||
private String heading;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
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 lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发布打卡内容表
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TableName("book_task")
|
||||
public class BookTaskEntity implements Serializable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookid;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("images")
|
||||
private String images;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("voices")
|
||||
private String voices;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("like_sun")
|
||||
private String likesun;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField("days")
|
||||
private String days;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
private Date updateTime;
|
||||
|
||||
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField("video")
|
||||
private String video;
|
||||
|
||||
@TableField("heading")
|
||||
private String heading;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,110 +1,110 @@
|
||||
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;
|
||||
|
||||
import javax.xml.soap.Text;
|
||||
|
||||
/**
|
||||
* 商品订单详情表
|
||||
*
|
||||
* @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;
|
||||
@TableField("record_id")
|
||||
private Integer recordId;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
import javax.xml.soap.Text;
|
||||
|
||||
/**
|
||||
* 商品订单详情表
|
||||
*
|
||||
* @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;
|
||||
@TableField("record_id")
|
||||
private Integer recordId;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,181 +1,181 @@
|
||||
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内购 ,4虚拟币
|
||||
*/
|
||||
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;
|
||||
@TableField("product_id")
|
||||
private String productId;
|
||||
|
||||
@TableField("record_id")
|
||||
private Integer recordId;
|
||||
}
|
||||
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内购 ,4虚拟币
|
||||
*/
|
||||
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;
|
||||
@TableField("product_id")
|
||||
private String productId;
|
||||
|
||||
@TableField("record_id")
|
||||
private Integer recordId;
|
||||
}
|
||||
|
||||
@@ -1,50 +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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -1,50 +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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,108 +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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -1,80 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,44 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,44 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,54 +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;
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,38 +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;
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,78 +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;
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,113 +1,113 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
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 BigDecimal 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;
|
||||
|
||||
|
||||
private String remark;
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
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 BigDecimal 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;
|
||||
|
||||
|
||||
private String remark;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,64 +1,64 @@
|
||||
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 proudictBook;
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
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;
|
||||
|
||||
}
|
||||
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 proudictBook;
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,69 +1,69 @@
|
||||
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;
|
||||
|
||||
private String userName;
|
||||
|
||||
private String tel;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
private String userName;
|
||||
|
||||
private String tel;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,81 +1,81 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.xml.soap.Text;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 微信订单表
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-08-29 15:27:44
|
||||
*/
|
||||
@Data
|
||||
@TableName("pay_wechat_order")
|
||||
public class PayWechatOrderEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 预支付交易会话标识
|
||||
*/
|
||||
private String prepayId;
|
||||
|
||||
/**
|
||||
* 用户Id
|
||||
*/
|
||||
private Integer customerId;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderSn;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/**
|
||||
* 创建订单时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 系统日志
|
||||
*/
|
||||
private String systemLog;
|
||||
|
||||
/**
|
||||
* 交易类型
|
||||
*/
|
||||
private String payType;
|
||||
|
||||
/**
|
||||
* 订单Id
|
||||
*/
|
||||
private String orderId;
|
||||
|
||||
/**
|
||||
* 购买配置id
|
||||
*/
|
||||
private Integer buyOrderId;
|
||||
|
||||
|
||||
// private Date endtime;
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.xml.soap.Text;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 微信订单表
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-08-29 15:27:44
|
||||
*/
|
||||
@Data
|
||||
@TableName("pay_wechat_order")
|
||||
public class PayWechatOrderEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 预支付交易会话标识
|
||||
*/
|
||||
private String prepayId;
|
||||
|
||||
/**
|
||||
* 用户Id
|
||||
*/
|
||||
private Integer customerId;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderSn;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/**
|
||||
* 创建订单时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 系统日志
|
||||
*/
|
||||
private String systemLog;
|
||||
|
||||
/**
|
||||
* 交易类型
|
||||
*/
|
||||
private String payType;
|
||||
|
||||
/**
|
||||
* 订单Id
|
||||
*/
|
||||
private String orderId;
|
||||
|
||||
/**
|
||||
* 购买配置id
|
||||
*/
|
||||
private Integer buyOrderId;
|
||||
|
||||
|
||||
// private Date endtime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,167 +1,167 @@
|
||||
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;
|
||||
/**
|
||||
* 唯一标识符。 这个标识符可以用来识别特定的用户并进行相关的操作。 通过微信的开放接口来获取用户的customerOid字段。
|
||||
*/
|
||||
private String customerid;
|
||||
/**
|
||||
* 支付宝生成的商户订单号,用于唯一标识一笔交易。商户需要保证商户订单号在自身系统中唯一,且不重复。
|
||||
*/
|
||||
private String outTradeNo;
|
||||
/**
|
||||
* 订单号 支付宝交易号
|
||||
*/
|
||||
private String tradeNo;
|
||||
/**
|
||||
* 异步通知时间,指示支付宝服务器向商户发送异步通知的时间。该字段的格式为yyyy-MM-dd HH:mm:ss。
|
||||
*/
|
||||
private Date notifyTime;
|
||||
/**
|
||||
* 支付宝用于标识当前异步通知的类型的字段。具体来说,
|
||||
* 该字段的值表示当前异步通知的类型,例如交易支付成功、退款成功等。通过这个字段,开发者可以根据不同的类型进行不同的业务处理。
|
||||
*/
|
||||
private String notifyType;
|
||||
/**
|
||||
* 服务器用来标识该交易的唯一性的一个参数,也就是交易通知中的ID。当商户接收到支付宝服务器的交易通知消息之后,
|
||||
* 可以通过该参数来判断本次通知是否是重复通知,如果notifyId已经被处理过,那么就可以忽略该交易通知,以避免重复处理。
|
||||
*/
|
||||
private String notifyId;
|
||||
/**
|
||||
* appid
|
||||
*/
|
||||
private String appId;
|
||||
/**
|
||||
* 标识授权商户的AppId,即在支付宝开放平台创建的应用的AppId。
|
||||
* 在接入支付宝支付时,商户需要使用自己的AppId进行授权,将authAppId字段设置为正确的值,
|
||||
* 以确保支付宝能够正确地识别授权商户的身份。
|
||||
*/
|
||||
private String authAppId;
|
||||
/**charset字段在支付宝支付中是用来指定商户网站使用的编码格式,它主要是用来解决中文乱码的问题。
|
||||
* 当商户在支付宝平台上进行支付接口的对接时,
|
||||
* 需要将charset字段设置为UTF-8编码格式,以确保交易信息能够正常传输和处理
|
||||
*
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
* 支付宝支付中的Body字段主要用于传输具体的交易信息,例如商品详情、价格、数量等。在调用支付宝支付接口时,
|
||||
* 开发者需要将交易相关的信息以JSON字符串的形式作为Body字段传递给支付宝接口,以便支付宝服务器能够正确处理该笔交易。
|
||||
*/
|
||||
private String body;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtCreate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtPayment;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtRefund;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtClose;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String fundBillList;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String voucherDetailList;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String relevanceoid;
|
||||
|
||||
}
|
||||
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;
|
||||
/**
|
||||
* 唯一标识符。 这个标识符可以用来识别特定的用户并进行相关的操作。 通过微信的开放接口来获取用户的customerOid字段。
|
||||
*/
|
||||
private String customerid;
|
||||
/**
|
||||
* 支付宝生成的商户订单号,用于唯一标识一笔交易。商户需要保证商户订单号在自身系统中唯一,且不重复。
|
||||
*/
|
||||
private String outTradeNo;
|
||||
/**
|
||||
* 订单号 支付宝交易号
|
||||
*/
|
||||
private String tradeNo;
|
||||
/**
|
||||
* 异步通知时间,指示支付宝服务器向商户发送异步通知的时间。该字段的格式为yyyy-MM-dd HH:mm:ss。
|
||||
*/
|
||||
private Date notifyTime;
|
||||
/**
|
||||
* 支付宝用于标识当前异步通知的类型的字段。具体来说,
|
||||
* 该字段的值表示当前异步通知的类型,例如交易支付成功、退款成功等。通过这个字段,开发者可以根据不同的类型进行不同的业务处理。
|
||||
*/
|
||||
private String notifyType;
|
||||
/**
|
||||
* 服务器用来标识该交易的唯一性的一个参数,也就是交易通知中的ID。当商户接收到支付宝服务器的交易通知消息之后,
|
||||
* 可以通过该参数来判断本次通知是否是重复通知,如果notifyId已经被处理过,那么就可以忽略该交易通知,以避免重复处理。
|
||||
*/
|
||||
private String notifyId;
|
||||
/**
|
||||
* appid
|
||||
*/
|
||||
private String appId;
|
||||
/**
|
||||
* 标识授权商户的AppId,即在支付宝开放平台创建的应用的AppId。
|
||||
* 在接入支付宝支付时,商户需要使用自己的AppId进行授权,将authAppId字段设置为正确的值,
|
||||
* 以确保支付宝能够正确地识别授权商户的身份。
|
||||
*/
|
||||
private String authAppId;
|
||||
/**charset字段在支付宝支付中是用来指定商户网站使用的编码格式,它主要是用来解决中文乱码的问题。
|
||||
* 当商户在支付宝平台上进行支付接口的对接时,
|
||||
* 需要将charset字段设置为UTF-8编码格式,以确保交易信息能够正常传输和处理
|
||||
*
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
* 支付宝支付中的Body字段主要用于传输具体的交易信息,例如商品详情、价格、数量等。在调用支付宝支付接口时,
|
||||
* 开发者需要将交易相关的信息以JSON字符串的形式作为Body字段传递给支付宝接口,以便支付宝服务器能够正确处理该笔交易。
|
||||
*/
|
||||
private String body;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtCreate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtPayment;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtRefund;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date gmtClose;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String fundBillList;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String voucherDetailList;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String relevanceoid;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,46 +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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -1,55 +1,55 @@
|
||||
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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,57 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,71 +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;
|
||||
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,171 +1,171 @@
|
||||
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 java.util.ArrayList;
|
||||
import java.util.Map;
|
||||
|
||||
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 BigDecimal activityPrice;
|
||||
/**
|
||||
* 商品重量
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Integer> poids;
|
||||
/**
|
||||
* 作者
|
||||
*/
|
||||
private String author;
|
||||
/**
|
||||
* 出版方
|
||||
*/
|
||||
private String publisher;
|
||||
/**
|
||||
* 出版时间
|
||||
*/
|
||||
@TableField(value = "pub_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
private String pubDate;
|
||||
/**
|
||||
* 开本
|
||||
*/
|
||||
private String format;
|
||||
/**
|
||||
* 页数
|
||||
*/
|
||||
@TableField(value = "page_num" , updateStrategy = FieldStrategy.IGNORED)
|
||||
private Integer pageNum;
|
||||
/**
|
||||
* 内文用纸材质
|
||||
*/
|
||||
private String quality;
|
||||
/**
|
||||
* 总销量
|
||||
*/
|
||||
private Integer sumSales;
|
||||
/**
|
||||
* 商品类型 1: 画册 2:书 3:仪器,4:预售书
|
||||
*/
|
||||
private String goodsType;
|
||||
private String goodsTypeCode;
|
||||
|
||||
|
||||
/**
|
||||
* 是否包邮 0:包邮 ,1:不包邮
|
||||
*/
|
||||
private Object isFreeMail;
|
||||
|
||||
/**
|
||||
* 绑定电子书id,
|
||||
*/
|
||||
@TableField("book_ids")
|
||||
private String bookId;
|
||||
|
||||
/**
|
||||
* 多个电子书Id
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private ArrayList<String> bookids;
|
||||
|
||||
/**
|
||||
* 多个电子书Id ArrayList<Map<String,String>>
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<Object> bookidsimages;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Object> shoproudBook;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Object> shoproudIds;
|
||||
|
||||
|
||||
// private Object bookidsimages;
|
||||
//
|
||||
//e
|
||||
|
||||
}
|
||||
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 java.util.ArrayList;
|
||||
import java.util.Map;
|
||||
|
||||
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 BigDecimal activityPrice;
|
||||
/**
|
||||
* 商品重量
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Integer> poids;
|
||||
/**
|
||||
* 作者
|
||||
*/
|
||||
private String author;
|
||||
/**
|
||||
* 出版方
|
||||
*/
|
||||
private String publisher;
|
||||
/**
|
||||
* 出版时间
|
||||
*/
|
||||
@TableField(value = "pub_date" , updateStrategy = FieldStrategy.IGNORED)
|
||||
private String pubDate;
|
||||
/**
|
||||
* 开本
|
||||
*/
|
||||
private String format;
|
||||
/**
|
||||
* 页数
|
||||
*/
|
||||
@TableField(value = "page_num" , updateStrategy = FieldStrategy.IGNORED)
|
||||
private Integer pageNum;
|
||||
/**
|
||||
* 内文用纸材质
|
||||
*/
|
||||
private String quality;
|
||||
/**
|
||||
* 总销量
|
||||
*/
|
||||
private Integer sumSales;
|
||||
/**
|
||||
* 商品类型 1: 画册 2:书 3:仪器,4:预售书
|
||||
*/
|
||||
private String goodsType;
|
||||
private String goodsTypeCode;
|
||||
|
||||
|
||||
/**
|
||||
* 是否包邮 0:包邮 ,1:不包邮
|
||||
*/
|
||||
private Object isFreeMail;
|
||||
|
||||
/**
|
||||
* 绑定电子书id,
|
||||
*/
|
||||
@TableField("book_ids")
|
||||
private String bookId;
|
||||
|
||||
/**
|
||||
* 多个电子书Id
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private ArrayList<String> bookids;
|
||||
|
||||
/**
|
||||
* 多个电子书Id ArrayList<Map<String,String>>
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<Object> bookidsimages;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Object> shoproudBook;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Object> shoproudIds;
|
||||
|
||||
|
||||
// private Object bookidsimages;
|
||||
//
|
||||
//e
|
||||
|
||||
}
|
||||
|
||||
@@ -1,40 +1,40 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
@Data
|
||||
@TableName("shop_proudict_book")
|
||||
public class ShopProudictBookEntity {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 商品id
|
||||
*/
|
||||
@TableField("proudict_id")
|
||||
private Integer proudictId;
|
||||
/**
|
||||
*图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
* 多个图书id (备用)
|
||||
*/
|
||||
@TableField("book_ids")
|
||||
private Integer bookdIds;
|
||||
|
||||
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
//
|
||||
@TableField(exist = false)
|
||||
private ArrayList<Integer> bookidlist;
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
@Data
|
||||
@TableName("shop_proudict_book")
|
||||
public class ShopProudictBookEntity {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 商品id
|
||||
*/
|
||||
@TableField("proudict_id")
|
||||
private Integer proudictId;
|
||||
/**
|
||||
*图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
/**
|
||||
* 多个图书id (备用)
|
||||
*/
|
||||
@TableField("book_ids")
|
||||
private Integer bookdIds;
|
||||
|
||||
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
//
|
||||
@TableField(exist = false)
|
||||
private ArrayList<Integer> bookidlist;
|
||||
}
|
||||
|
||||
@@ -1,52 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,64 +1,64 @@
|
||||
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;
|
||||
|
||||
private String userName;
|
||||
|
||||
private String tel;
|
||||
|
||||
|
||||
private String note;
|
||||
}
|
||||
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;
|
||||
|
||||
private String userName;
|
||||
|
||||
private String tel;
|
||||
|
||||
|
||||
private String note;
|
||||
}
|
||||
|
||||
@@ -1,74 +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;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
public class UserAppAuthorEntity {
|
||||
//新旧app 用来备份 自定义数据
|
||||
@NotNull(message = "类型不能为空")
|
||||
@NotEmpty(message = "类型不能为空")
|
||||
private String type;
|
||||
|
||||
//重点需要 app调起微信获取到的code
|
||||
@NotEmpty(message = "code不能为空")
|
||||
@NotNull(message = "code不能为空")
|
||||
private String code;
|
||||
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
public class UserAppAuthorEntity {
|
||||
//新旧app 用来备份 自定义数据
|
||||
@NotNull(message = "类型不能为空")
|
||||
@NotEmpty(message = "类型不能为空")
|
||||
private String type;
|
||||
|
||||
//重点需要 app调起微信获取到的code
|
||||
@NotEmpty(message = "code不能为空")
|
||||
@NotNull(message = "code不能为空")
|
||||
private String code;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,63 +1,63 @@
|
||||
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;
|
||||
|
||||
private String ordersn;
|
||||
|
||||
}
|
||||
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;
|
||||
|
||||
private String ordersn;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,66 +1,66 @@
|
||||
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 lombok.Data;
|
||||
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 追评追评(不限制)
|
||||
*/
|
||||
@Data
|
||||
@TableName("user_feedback")
|
||||
public class UserFeedbackEntity {
|
||||
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("userId")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 关联追加id
|
||||
*/
|
||||
@TableField("fu_id")
|
||||
private Integer fuid;
|
||||
/**
|
||||
* 关联评价id
|
||||
*/
|
||||
@TableField("r_id")
|
||||
private String rid;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableField("delFlag")
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@TableField("ordersn")
|
||||
private Integer ordersn;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date create_date;
|
||||
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
}
|
||||
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 lombok.Data;
|
||||
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 追评追评(不限制)
|
||||
*/
|
||||
@Data
|
||||
@TableName("user_feedback")
|
||||
public class UserFeedbackEntity {
|
||||
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("userId")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 关联追加id
|
||||
*/
|
||||
@TableField("fu_id")
|
||||
private Integer fuid;
|
||||
/**
|
||||
* 关联评价id
|
||||
*/
|
||||
@TableField("r_id")
|
||||
private String rid;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableField("delFlag")
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@TableField("ordersn")
|
||||
private Integer ordersn;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date create_date;
|
||||
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
}
|
||||
|
||||
@@ -1,79 +1,79 @@
|
||||
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 lombok.Data;
|
||||
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 追评表
|
||||
*/
|
||||
@Data
|
||||
@TableName("user_follow_up")
|
||||
public class UserFollowUpEntity {
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableField("userId")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 关联父评价id
|
||||
*/
|
||||
@TableField("oid")
|
||||
private Integer oid;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@TableField("conTent")
|
||||
private String conTent;
|
||||
/**
|
||||
* 点赞
|
||||
*/
|
||||
@TableField("praIse")
|
||||
private String praIse;
|
||||
/**
|
||||
* 图片url
|
||||
*/
|
||||
@TableField("images")
|
||||
private Object images;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 星级
|
||||
*/
|
||||
@TableField("starLevel")
|
||||
private Integer starLevel;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 星级
|
||||
*/
|
||||
@TableField("emojis")
|
||||
private String emojis;
|
||||
|
||||
}
|
||||
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 lombok.Data;
|
||||
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 追评表
|
||||
*/
|
||||
@Data
|
||||
@TableName("user_follow_up")
|
||||
public class UserFollowUpEntity {
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableField("userId")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 关联父评价id
|
||||
*/
|
||||
@TableField("oid")
|
||||
private Integer oid;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@TableField("conTent")
|
||||
private String conTent;
|
||||
/**
|
||||
* 点赞
|
||||
*/
|
||||
@TableField("praIse")
|
||||
private String praIse;
|
||||
/**
|
||||
* 图片url
|
||||
*/
|
||||
@TableField("images")
|
||||
private Object images;
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date createDate;
|
||||
|
||||
/**
|
||||
* 星级
|
||||
*/
|
||||
@TableField("starLevel")
|
||||
private Integer starLevel;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 星级
|
||||
*/
|
||||
@TableField("emojis")
|
||||
private String emojis;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,84 +1,84 @@
|
||||
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 com.peanut.modules.book.to.UserRecordDto;
|
||||
import lombok.Data;
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("user_record")
|
||||
public class UserRecordEntity {
|
||||
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
// 创建日期
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date createDate = new Date();
|
||||
|
||||
// 类型(商品评价01,听书评价02,观看电子书评价03)
|
||||
@TableField("type")
|
||||
private String type ;
|
||||
|
||||
// 内容
|
||||
@TableField("content")
|
||||
private Object content ;
|
||||
//快递单号
|
||||
@TableField("orderCode")
|
||||
private String orderCode;
|
||||
|
||||
@TableField("proudict_id")
|
||||
private Integer proudictId;
|
||||
//订单号
|
||||
@TableField("orderSn")
|
||||
private String orderSn;
|
||||
// 关联客户
|
||||
@TableField("userid")
|
||||
private Integer userid ;
|
||||
//逻辑删除:未删除0 -1删除
|
||||
@TableField("delFlag")
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
//关联图书id
|
||||
@TableField("bookid")
|
||||
private Integer bookid ;
|
||||
//图片url
|
||||
// @TableField("images")
|
||||
// private String[] images;
|
||||
@TableField("images")
|
||||
private Object images;
|
||||
|
||||
//星级 1=一星,5=五星
|
||||
@TableField("starLevel")
|
||||
private String starLevel;
|
||||
|
||||
/**
|
||||
* 表情存储
|
||||
*/
|
||||
@TableField("emoji")
|
||||
private Object emoji;
|
||||
|
||||
@TableField("name")
|
||||
private Object name;
|
||||
@TableField("tag")
|
||||
private Object tag;
|
||||
|
||||
@TableField("orderdid")
|
||||
private Integer orderdid;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private Object avatar;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Object nickname;
|
||||
|
||||
}
|
||||
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 com.peanut.modules.book.to.UserRecordDto;
|
||||
import lombok.Data;
|
||||
import javax.persistence.Temporal;
|
||||
import javax.persistence.TemporalType;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("user_record")
|
||||
public class UserRecordEntity {
|
||||
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
// 创建日期
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date createDate = new Date();
|
||||
|
||||
// 类型(商品评价01,听书评价02,观看电子书评价03)
|
||||
@TableField("type")
|
||||
private String type ;
|
||||
|
||||
// 内容
|
||||
@TableField("content")
|
||||
private Object content ;
|
||||
//快递单号
|
||||
@TableField("orderCode")
|
||||
private String orderCode;
|
||||
|
||||
@TableField("proudict_id")
|
||||
private Integer proudictId;
|
||||
//订单号
|
||||
@TableField("orderSn")
|
||||
private String orderSn;
|
||||
// 关联客户
|
||||
@TableField("userid")
|
||||
private Integer userid ;
|
||||
//逻辑删除:未删除0 -1删除
|
||||
@TableField("delFlag")
|
||||
@TableLogic
|
||||
private Integer delflag;
|
||||
//关联图书id
|
||||
@TableField("bookid")
|
||||
private Integer bookid ;
|
||||
//图片url
|
||||
// @TableField("images")
|
||||
// private String[] images;
|
||||
@TableField("images")
|
||||
private Object images;
|
||||
|
||||
//星级 1=一星,5=五星
|
||||
@TableField("starLevel")
|
||||
private String starLevel;
|
||||
|
||||
/**
|
||||
* 表情存储
|
||||
*/
|
||||
@TableField("emoji")
|
||||
private Object emoji;
|
||||
|
||||
@TableField("name")
|
||||
private Object name;
|
||||
@TableField("tag")
|
||||
private Object tag;
|
||||
|
||||
@TableField("orderdid")
|
||||
private Integer orderdid;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private Object avatar;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Object nickname;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user