rename the file

This commit is contained in:
Cauchy
2023-10-11 16:51:29 +08:00
parent d80d598529
commit a356cceb62
20 changed files with 566 additions and 683 deletions

View File

@@ -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;
}