refactor project

This commit is contained in:
Cauchy
2023-10-19 15:04:31 +08:00
parent 19a2ef58a9
commit 1994ba60ae
35 changed files with 274 additions and 226 deletions

View File

@@ -151,7 +151,7 @@ public class BookEntity implements Serializable {
private AuthorEntity author;
@TableField(exist = false)
private PublisherEntity publisher;
private Publisher publisher;
@TableField(exist = false)
private String authorName;

View File

@@ -24,7 +24,7 @@ public class BuyOrder implements Serializable {
@TableId
private Integer orderId;
/**
* 订单编号 yyyymmddnnnnnnnn
* 订单编号
*/
private String orderSn;
/**

View File

@@ -19,10 +19,6 @@ public class ExpressOrder {
* ID
*/
private int id;
/**
* 用户 ID
*/
private int userId;
/**
* 省份
*/

View File

@@ -15,7 +15,7 @@ import lombok.Data;
*/
@Data
@TableName("publisher")
public class PublisherEntity implements Serializable {
public class Publisher implements Serializable {
private static final long serialVersionUID = 1L;
/**

View File

@@ -18,7 +18,7 @@ import java.util.List;
*/
@Data
@TableName("shop_product")
public class ShopProductEntity implements Serializable {
public class ShopProduct implements Serializable {
private static final long serialVersionUID = 1L;
/**

View File

@@ -28,7 +28,7 @@ public class ShopProductToLabelEntity {
* 不存入数据库,返回商品详情
*/
@TableField(exist = false)
private List<ShopProductEntity> shopProducts;
private List<ShopProduct> shopProducts;
@TableField(exist = false)
private List<Object> shopp;