mitao
2024-06-06 3d2b51ea4520533de5e78f88dddf5b5c7dce4247
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package com.sinata.modular.system.model;
 
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
/**
 * <p>
 * 意见反馈
 * </p>
 *
 * @author goku
 * @since 2023-03-23
 */
@Data
@TableName("t_feedback")
@ApiModel(value = "意见反馈")
public class TFeedback extends Model<TFeedback> {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Integer id;
    /**
     * 用户ID
     */
    @TableField("user_id")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    /**
     * 反馈内容
     */
    @ApiModelProperty(value = "反馈内容")
    private String content;
    /**
     * 反馈消息
     */
    @TableField("back_msg")
    @ApiModelProperty(value = "反馈消息")
    private String backMsg;
    /**
     * 反馈状态,0未处理,1已处理
     */
    @ApiModelProperty(value = "反馈状态,0未处理,1已处理")
    private Integer state;
    /**
     * 是否删除
     */
    @TableField("is_delete")
    @ApiModelProperty(value = "是否删除")
    private Integer isDelete;
    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
 
    @TableField("template")
    private String template;
 
    @TableField("feed_image")
    private String feedImage;
 
    public TFeedback() {
    }
 
    public TFeedback(Integer id, int state) {
        this.id = id;
        this.state = state;
    }
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
 
}