无关风月
2025-04-30 4adb656ffd2c3660e07d224dd483e7479d48b46e
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
55
56
57
58
package com.dsh.course.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 在线客服
 */
@Data
@TableName("t_problem")
public class Problem {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 提问内容
     */
    @TableField("content")
    private String content;
    /**
     * 回答内容
     */
    @TableField("answer")
    private String answer;
    /**
     * 处理人
     */
    @TableField("handleUserId")
    private Integer handleUserId;
    /**
     * 处理时间
     */
    @TableField("handleTime")
    private Date handleTime;
    /**
     * 提问时间
     */
    @TableField("insertTime")
    private Date insertTime;
    /**
     * 状态(1=待处理,2=已处理)
     */
    @TableField("state")
    private Integer state;
}