package com.ycl.jxkg.domain.entity; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @Data @TableName("t_user_event_log") public class UserEventLog{ public UserEventLog() { } public UserEventLog(Integer userId, String userName, String realName, Date createTime) { this.userId = userId; this.userName = userName; this.realName = realName; this.createTime = createTime; } @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 用户id */ @TableField("user_id") private Integer userId; /** * 用户名 */ @TableField("user_name") private String userName; /** * 真实姓名 */ @TableField("real_name") private String realName; /** * 内容 */ @TableField("content") private String content; /** * 时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; }