mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-14 22:23:42 +08:00
新增表情包功能
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
package com.abin.mallchat.common.chat.domain.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户表情包
|
||||
*
|
||||
* @author: WuShiJie
|
||||
* @createTime: 2023/7/2 22:00
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "mc_emojis")
|
||||
public class McEmojis implements Serializable {
|
||||
private static final long serialVersionUID = -7690290707154737263L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户表ID
|
||||
*/
|
||||
@TableField(value = "user_id")
|
||||
private Long userId;
|
||||
|
||||
|
||||
/**
|
||||
* 表情地址
|
||||
*/
|
||||
@NotNull
|
||||
@TableField(value = "expression_url")
|
||||
private String expressionUrl;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private Date updateTime;
|
||||
|
||||
@TableField(value = "del_flg")
|
||||
@TableLogic(value = "0",delval = "1")
|
||||
private Integer delFlg;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.abin.mallchat.common.user.mapper;
|
||||
|
||||
import com.abin.mallchat.common.chat.domain.entity.McEmojis;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 用户表情包 Mapper
|
||||
*
|
||||
* @author: WuShiJie
|
||||
* @createTime: 2023/7/3 14:24
|
||||
*/
|
||||
public interface EmojisMapper extends BaseMapper<McEmojis> {
|
||||
}
|
||||
Reference in New Issue
Block a user