/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.party.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 党内咨询列表表实体类
 *
 * @author BladeX
 * @since 2021-04-19
 */
@Data
@TableName("party_news")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "News对象", description = "党内咨询列表表")
public class News extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 新闻名称
	*/
		@ApiModelProperty(value = "新闻名称")
		private String name;
	/**
	* 新闻图片
	*/
		@ApiModelProperty(value = "新闻图片")
		private String img;
	/**
	* 新闻内容
	*/
		@ApiModelProperty(value = "新闻内容")
		private String content;
	/**
	* 新闻状态
	*/
		@ApiModelProperty(value = "新闻状态")
		private Integer newsStatus;
	/**
	* 热门状态
	*/
		@ApiModelProperty(value = "热门状态")
		private Integer hitStatus;
	/**
	* 是否开启评论： 0-不开启 1-开启
	*/
		@ApiModelProperty(value = "是否开启评论： 0-不开启 1-开启")
		private Integer isSupportComment;
	/**
	* 排序
	*/
		@ApiModelProperty(value = "排序")
		private Integer sort;
	/**
	* 咨询分类id
	*/
		@ApiModelProperty(value = "咨询分类id")
		private Long classId;
	/**
	* 支部id
	*/
		@ApiModelProperty(value = "支部id")
		private Long branchId;


}
