通用模块-商品评价
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user