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

Class ChatEntity

boot/src/main/java/com/entity/ChatEntity.java:27–266  ·  view source on GitHub ↗

反馈信息 @author @email

Source from the content-addressed store, hash-verified

25 * @email
26 */
27@TableName("chat")
28public class ChatEntity<T> implements Serializable {
29 private static final long serialVersionUID = 1L;
30
31
32 public ChatEntity() {
33
34 }
35
36 public ChatEntity(T t) {
37 try {
38 BeanUtils.copyProperties(this, t);
39 } catch (IllegalAccessException | InvocationTargetException e) {
40 // TODO Auto-generated catch block
41 e.printStackTrace();
42 }
43 }
44
45
46 /**
47 * 主键
48 */
49 @TableId(type = IdType.AUTO)
50 @ColumnInfo(comment="主键",type="int(11)")
51 @TableField(value = "id")
52
53 private Integer id;
54
55
56 /**
57 * 提问用户
58 */
59 @ColumnInfo(comment="提问用户",type="int(11)")
60 @TableField(value = "yonghu_id")
61
62 private Integer yonghuId;
63
64
65 /**
66 * 问题
67 */
68 @ColumnInfo(comment="问题",type="varchar(200)")
69 @TableField(value = "chat_issue")
70
71 private String chatIssue;
72
73
74 /**
75 * 问题时间
76 */
77 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
78 @DateTimeFormat
79 @ColumnInfo(comment="问题时间",type="timestamp")
80 @TableField(value = "issue_time")
81
82 private Date issueTime;
83
84

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected