package com.panzhihua.service_community.model.dos; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; /** * @auther lyq * @create 2021-04-28 09:21:55 * @describe 邻里圈点赞表实体类 */ @Data @TableName("com_act_neighbor_circle_fabulous") public class ComActNeighborCircleFabulousDO implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 点赞类型(1.邻里圈 2.评论 3.回复) */ private Integer type; /** * 邻里圈id */ private Long circleId; /** * 点赞上级id */ private Long parentId; /** * 点赞用户id */ private Long userId; /** * 有效状态(1.有效 2.取消) */ private Integer isEffective; /** * 点赞时间 */ @TableField(fill = FieldFill.INSERT) private Date createAt; /** * 修改时间 */ @TableField(fill = FieldFill.UPDATE) private Date updateAt; @Override public String toString() { return "ComActNeighborCircleFabulousDO{" + "id=" + id + ", type=" + type + ", parentId=" + parentId + ", userId=" + userId + ", isEffective=" + isEffective + ", createAt=" + createAt + ", updateAt=" + updateAt + "}"; } /** * 有效状态(1.有效 2.取消) */ public interface isEffective { int yes = 1; int no = 2; } /** * 点赞类型(1.邻里圈 2.评论 3.回复) */ public interface type { int llq = 1; int pl = 2; int hf = 3; } }