rename the file
This commit is contained in:
@@ -1,21 +1,27 @@
|
||||
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;
|
||||
@Data
|
||||
@TableName("shop_product_book")
|
||||
public class ShopProductBookEntity {
|
||||
|
||||
/**
|
||||
* 商品id
|
||||
* 主键 id
|
||||
*/
|
||||
@TableField("proudict_id")
|
||||
private Integer proudictId;
|
||||
@TableId
|
||||
private Integer id;
|
||||
/**
|
||||
*图书id
|
||||
* 商品id
|
||||
*/
|
||||
@TableField("product_id")
|
||||
private Integer productId;
|
||||
/**
|
||||
* 图书id
|
||||
*/
|
||||
@TableField("book_id")
|
||||
private Integer bookId;
|
||||
@@ -23,18 +29,21 @@ public class ShopProudictBookEntity {
|
||||
* 多个图书id (备用)
|
||||
*/
|
||||
@TableField("book_ids")
|
||||
private Integer bookdIds;
|
||||
|
||||
|
||||
private Integer bookIds;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableField("del_flag")
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
private Date createTime;
|
||||
//
|
||||
@TableField(exist = false)
|
||||
private ArrayList<Integer> bookidlist;
|
||||
/**
|
||||
* 书籍列表
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private ArrayList<Integer> bookIdList;
|
||||
}
|
||||
Reference in New Issue
Block a user