/*
 *      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.ht.entity.common;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 公共-附件表实体类
 *
 * @author BladeX
 * @since 2022-07-04
 */
@Data
@TableName("T_FILE")
@ApiModel(value = "File对象", description = "公共-附件表")
public class File extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 文件名称
	 */
	@ApiModelProperty(value = "文件名称")
	@TableField("FILE_NAME")
	private String fileName;
	/**
	 * 上送影像平台附件标识id
	 */
	@ApiModelProperty(value = "上送影像平台附件标识id")
	@TableField("content_id")
	private String contentId;
	/**
	 * 格式
	 */
	@ApiModelProperty(value = "格式")
	@TableField("FORMAT")
	private String format;
	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;
	/**
	 * 逻辑删除标识符;0-删除，1-正常
	 */
	@ApiModelProperty(value = "逻辑删除标识符;0-删除，1-正常")
	@TableField("DEL_FLAG")
	private String delFlag;

	/**
	 * 关联ID
	 */
	@ApiModelProperty(value = "关联ID")
	@TableField("LINK_ID")
	private String linkId;

	@ApiModelProperty(value = "业务开始时间")
	@TableField("busi_begin_date")
	private String busiBeginDate;

	@ApiModelProperty(value = "分组名称")
	@TableField("GROUP_NAME")
	private String groupName;

	@ApiModelProperty(value = "本地文件路径")
	@TableField("local_url")
	private String localUrl;

	@ApiModelProperty(value = "是否是加密文件")
	@TableField("encrypt")
	private Boolean encrypt;
}
