/*
 *      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.security.trans.publicityReport.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.security.ht.entity.common.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 宣传报道-宣传报道信息表实体类
 *
 * @author BladeX
 * @since 2022-03-16
 */
@Data
@TableName("T_PUBLICITY")
@ApiModel(value = "Publicity对象", description = "宣传报道-宣传报道信息表")
public class Publicity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	@TableId("ID")
	private String id;
	/**
	 * 主题
	 */
	@ApiModelProperty(value = "标题")
	@TableField("TITLE")
	private String title;
	/**
	 * 简要描述
	 */
	@ApiModelProperty(value = "简要描述")
	@TableField("reportDescribe")
	private String reportDescribe;
	/**
	 * 图片附件group_name（存放该附件的标识符，对应于附件表里的‘group_name’）
	 */
	@ApiModelProperty(value = "图片附件存储路径")
	@TableField("REPORT_IMG_ROUTE")
	private String reportImgRoute;
	/**
	 * 文件附件group_name（存放该附件的标识符，对应于附件表里的‘group_name’）
	 */
	@ApiModelProperty(value = "文件附件存储路径")
	@TableField("REPORT_ENCLOSURE_ROUTE")
	private String reportEnclosureRoute;
	/**
	 * 报道日期
	 */
	@ApiModelProperty(value = "报道日期")
	@TableField("REPORT_DATE")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date reportDate;
	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;
	/**
	 * 逻辑删除标识符;1-删除，0-正常
	 */
	@ApiModelProperty(value = "逻辑删除标识符;1-删除，0-正常")
	@TableField("DEL_FLAG")
	@TableLogic
	private String delFlag;
	/**
	 * 状态 0-草稿 1-发布
	 */
	@ApiModelProperty(value = "状态 0-草稿 1-发布")
	@TableField("STATE")
	private String state;
	/**
	 * 备用字段2
	 */
	@ApiModelProperty(value = "备用字段2")
	@TableField("RESERVE2")
	private String reserve2;
	/**
	 * 备用字段3
	 */
	@ApiModelProperty(value = "备用字段3")
	@TableField("RESERVE3")
	private String reserve3;
	/**
	 * 备用字段4
	 */
	@ApiModelProperty(value = "备用字段4")
	@TableField("RESERVE4")
	private String reserve4;
	/**
	 * 备用字段5
	 */
	@ApiModelProperty(value = "备用字段5")
	@TableField("RESERVE5")
	private String reserve5;


}
