package cc.mrbird.febs.mall.entity;
|
|
import cc.mrbird.febs.common.entity.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
@Data
|
@TableName("happy_follow")
|
public class HappyFollow extends BaseEntity {
|
/**
|
*
|
`ID` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
`member_id` bigint(20) DEFAULT NULL,
|
`source_type` int(11) DEFAULT NULL COMMENT '来源类型 1-活动 2-社区圈子发布',
|
`source_id` bigint(20) DEFAULT NULL COMMENT '来源ID',
|
`source_option_id` bigint(20) DEFAULT NULL COMMENT '来源选项ID',
|
`type` int(11) DEFAULT NULL COMMENT '操作类型 1-关注 2-点赞 3-分享 4-投票',
|
`DELETE_FLAG` int(11) DEFAULT '0' COMMENT '删除标识 0-未删除 1-已删除',
|
*/
|
private Long memberId;
|
//用户昵称
|
@TableField(exist = false)
|
private String memberName;
|
|
private Integer sourceType;
|
private Long sourceId;
|
//活动名称
|
@TableField(exist = false)
|
private String activityName;
|
|
private Long sourceOptionId;
|
//选项名称
|
@TableField(exist = false)
|
private String optionName;
|
|
private Integer type;
|
private Integer deleteFlag;
|
|
}
|