-- 新版提交

This commit is contained in:
yc13649764453
2023-09-09 13:51:35 +08:00
parent 763e24b4e0
commit 0b193caa03
92 changed files with 3451 additions and 1120 deletions

View File

@@ -53,7 +53,6 @@ public class BookBrowseRecordsEntity implements Serializable {
/**
* 图片
*/
@TableField(exist = false)
private String images;
/**
* 创建时间

View File

@@ -8,7 +8,7 @@ import lombok.Data;
/**
*
*
* 章节表
* @author yl
* @email yl328572838@163.com
* @date 2022-08-12 09:53:25
@@ -39,6 +39,8 @@ public class BookChapterEntity implements Serializable {
* 内容
*/
private String content;
/**
* 音频文件地址
*/
@@ -54,7 +56,7 @@ public class BookChapterEntity implements Serializable {
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
private Date updateTime;
/**
*
* 0免费1限制
*/
private Integer sort;
/**
@@ -63,4 +65,10 @@ public class BookChapterEntity implements Serializable {
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private String picAndWord;
}

View File

@@ -112,6 +112,10 @@ public class BookEntity implements Serializable {
* 音频处理状态 0-未处理 1-处理中 2-成功 3-失败
*/
private String voicesStatus;
/**
* 1为标题拆分2为小节拆分
*/
private String splits;
/**
* 创建日期
*/
@@ -153,4 +157,13 @@ public class BookEntity implements Serializable {
@TableField(exist = false)
private Integer isBuy;
@TableField("can_listen")
private Boolean canListen;
private Integer clockIn;
}

View File

@@ -10,6 +10,8 @@ import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import javax.xml.soap.Text;
/**
* 商品订单详情表
*
@@ -102,5 +104,7 @@ public class BuyOrderDetailEntity implements Serializable {
* 商品图片地址
*/
private String productUrl;
@TableField("record_id")
private Integer recordId;
}

View File

@@ -66,7 +66,7 @@ public class BuyOrderEntity implements Serializable {
*/
private String address;
/**
* 支付方式 1支付宝2微信3ios内购
* 支付方式 1支付宝2微信3ios内购 4虚拟币
*/
private String paymentMethod;
/**
@@ -173,6 +173,9 @@ public class BuyOrderEntity implements Serializable {
* 支付时间
*/
private Date paymentDate;
@TableField("product_id")
private String productId;
@TableField("record_id")
private Integer recordId;
}

View File

@@ -3,6 +3,7 @@ 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;
@@ -66,7 +67,7 @@ public class MyUserEntity implements Serializable {
/**
* 花生币
*/
private Integer peanutCoin;
private BigDecimal peanutCoin;
/**
* 阅读时间
*/
@@ -106,4 +107,7 @@ public class MyUserEntity implements Serializable {
@TableField(exist = false)
private Integer conponsCount;
private String remark;
}

View File

@@ -62,4 +62,8 @@ public class PayPaymentOrderEntity implements Serializable {
@TableField(fill = FieldFill.INSERT_UPDATE)
private Date successTime;
private String userName;
private String tel;
}

View File

@@ -3,7 +3,10 @@ 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;
@@ -72,4 +75,7 @@ public class PayWechatOrderEntity implements Serializable {
private Integer buyOrderId;
// private Date endtime;
}

View File

@@ -25,51 +25,57 @@ public class PayZfbOrderEntity implements Serializable {
@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;
/**
@@ -125,7 +131,8 @@ public class PayZfbOrderEntity implements Serializable {
*/
private String subject;
/**
*
* 支付宝支付中的Body字段主要用于传输具体的交易信息例如商品详情、价格、数量等。在调用支付宝支付接口时
* 开发者需要将交易相关的信息以JSON字符串的形式作为Body字段传递给支付宝接口以便支付宝服务器能够正确处理该笔交易。
*/
private String body;
/**

View File

@@ -49,6 +49,7 @@ public class PublisherEntity implements Serializable {
* 删除标记
*/
@TableLogic
private Integer delFlag;
}

View File

@@ -1,5 +1,6 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@@ -8,6 +9,8 @@ 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;
@@ -36,6 +39,10 @@ public class ShopProductEntity implements Serializable {
* 商品价格
*/
private BigDecimal price;
/**
* 商品价格
*/
private BigDecimal activityPrice;
/**
* 商品重量
*/
@@ -102,7 +109,8 @@ public class ShopProductEntity implements Serializable {
/**
* 出版时间
*/
private Date pubDate;
@TableField(value = "pub_date" , updateStrategy = FieldStrategy.IGNORED)
private String pubDate;
/**
* 开本
*/
@@ -110,6 +118,7 @@ public class ShopProductEntity implements Serializable {
/**
* 页数
*/
@TableField(value = "page_num" , updateStrategy = FieldStrategy.IGNORED)
private Integer pageNum;
/**
* 内文用纸材质
@@ -120,8 +129,38 @@ public class ShopProductEntity implements Serializable {
*/
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
*/
@TableField(exist = false)
private ArrayList<Map<String,String>> bookidsimages;
// private Object bookidsimages;
//
//e
}

View File

@@ -55,4 +55,10 @@ public class TransactionDetailsEntity implements Serializable {
@TableField(fill = FieldFill.INSERT)//创建注解
private Date createTime;
private String userName;
private String tel;
private String note;
}

View File

@@ -58,4 +58,6 @@ public class UserEbookBuyEntity implements Serializable {
private String author;
private String ordersn;
}