通用模块-商品评价

This commit is contained in:
wuchunlei
2024-03-27 17:04:16 +08:00
parent 4fc3835fac
commit 1b1cee0e90
6 changed files with 208 additions and 8 deletions

View File

@@ -0,0 +1,66 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 商品评价
*/
@Data
@TableName("shop_product_record")
public class ShopProductRecord implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 商品id
*/
private Integer productId;
/**
* 用户id
*/
private Integer userId;
/**
* 评价内容
*/
private String content;
/**
* 图片
*/
private String images;
/**
* 追评内容
*/
private String reContent;
/**
* 追评图片
*/
private String reImages;
/**
* 创建时间
*/
private Date createTime;
/**
* 评价时间
*/
private Date recordTime;
/**
* 追评时间
*/
private Date reRecordTime;
/**
* 0未评价1已评
*/
private Integer state;
@TableLogic
private Integer delFlag;
}