puzhibing
2023-08-30 4bd66e027e9f95b8f868adf1fbe5459eaa82dd1b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.supersavedriving.user.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author zhibing.pu
 * @date 2023/3/11 16:51
 */
@Data
@TableName("t_evaluate")
public class Evaluate {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 订单id
     */
    @TableField("orderId")
    private Integer orderId;
    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 评分
     */
    @TableField("score")
    private Integer score;
    /**
     * 评价内容
     */
    @TableField("evaluate")
    private String evaluate;
    /**
     * 状态(1=正常,2=冻结,3=删除)
     */
    @TableField("status")
    private Integer status;
    /**
     * 添加时间
     */
    @TableField("createTime")
    private Date createTime;
}