refactor project
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -24,7 +24,7 @@ public class BuyOrder implements Serializable {
|
||||
@TableId
|
||||
private Integer orderId;
|
||||
/**
|
||||
* 订单编号 yyyymmddnnnnnnnn’
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderSn;
|
||||
/**
|
||||
|
||||
@@ -19,10 +19,6 @@ public class ExpressOrder {
|
||||
* ID
|
||||
*/
|
||||
private int id;
|
||||
/**
|
||||
* 用户 ID
|
||||
*/
|
||||
private int userId;
|
||||
/**
|
||||
* 省份
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user