package com.panzhihua.service_community.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.io.Serializable; import java.util.Date; @Data public class ComActNeighborCircleTopicNew implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 社区id */ private Long communityId; /** * 话题名称 */ private String name; /** * 状态(1.启用 2.禁用) */ private Integer status; /** * 创建时间 */ private Date createAt; /** * 创建人 */ private Long createBy; /** * 热度 */ private Long hotNum; /** * 邻里圈数量 */ private Integer count; /** * 使用类型(1.邻里圈 2.问题清单 3.需求清单) */ private Integer belongType; /** * 话题logo */ private String logo; private Integer sort; /** * 状态(1.启用 2.禁用) */ public interface status{ int yes = 1; int no = 2; } @Override public String toString() { return "ComActNeighborCircleTopicDO{" + "id=" + id + ", name=" + name + ", status=" + status + ", createAt=" + createAt + ", createBy=" + createBy + "}"; } /** * 使用类型(1.邻里圈 2.问题清单 3.需求清单) */ public interface BelongType{ int LLQ = 1; int WTQD = 2; int XQQD = 3; } }