package com.panzhihua.service_community.model.dos;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
/**
|
* @author lyq
|
* @create 2021-07-06 15:04:37
|
* @describe 邻里圈话题表实体类
|
*/
|
|
@Data
|
@TableName("com_act_neighbor_circle_topic")
|
public class ComActNeighborCircleTopicDO 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;
|
}
|
}
|