MCPcopy Create free account
hub / github.com/LisenCoding/cangku / ChatModel

Class ChatModel

boot/src/main/java/com/entity/model/ChatModel.java:18–211  ·  view source on GitHub ↗

反馈信息 接收传参的实体类 (实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了) 取自ModelAndView 的model名称

Source from the content-addressed store, hash-verified

16 * 取自ModelAndView 的model名称
17 */
18public class ChatModel implements Serializable {
19 private static final long serialVersionUID = 1L;
20
21
22
23
24 /**
25 * 主键
26 */
27 private Integer id;
28
29
30 /**
31 * 提问用户
32 */
33 private Integer yonghuId;
34
35
36 /**
37 * 问题
38 */
39 private String chatIssue;
40
41
42 /**
43 * 问题时间
44 */
45 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
46 @DateTimeFormat
47 private Date issueTime;
48
49
50 /**
51 * 回复
52 */
53 private String chatReply;
54
55
56 /**
57 * 回复时间
58 */
59 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
60 @DateTimeFormat
61 private Date replyTime;
62
63
64 /**
65 * 状态
66 */
67 private Integer zhuangtaiTypes;
68
69
70 /**
71 * 数据类型
72 */
73 private Integer chatTypes;
74
75

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected