package com.search.supersearch.domain;

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

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

/**
 * @TableName dwd_noc_files_es
 */
@Data
@ApiModel("DWD层数据结构")
public class DwdNocFilesEs implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "序号")
    @TableId()
    private Long seq;
    @ApiModelProperty(value = "系统ID (二级数据分类编码)")
    @TableField("systemid")
    private String systemid;
    @ApiModelProperty(value = "系统名称 (二级数据分类名称)")
    @TableField("system_name")
    private String systemName;
    @ApiModelProperty(value = "桶内目录名称")
    @TableField("bucket_dir_name")
    private String bucketDirName;
    @ApiModelProperty(value = "组织编码")
    @TableField("org_id")
    private String orgId;
    @ApiModelProperty(value = "一级数据分类编码")
    @TableField("categoryid")
    private String categoryid;
    @ApiModelProperty(value = "一级数据分类名称")
    @TableField("categoryname")
    private String categoryname;
    @ApiModelProperty(value = "业务实体代码 （业务系统数据库表名）")
    @TableField("table_name")
    private String tableName;
    @ApiModelProperty(value = "业务实体名称 （业务系统数据库表备注）")
    @TableField("table_comment")
    private String tableComment;
    @ApiModelProperty(value = "业务数据主键")
    @TableField("pk_value")
    private String pkValue;
    @ApiModelProperty(value = "存入OSS的完整路径及文件名（含桶内目录名）")
    @TableField("oss_file_full_path")
    private String ossFileFullPath;
    @ApiModelProperty(value = "文件后缀")
    @TableField("file_extension")
    private String fileExtension;
    @ApiModelProperty(value = "原系统文件id")
    @TableField("file_id_str")
    private String fileIdStr;
    @ApiModelProperty(value = "文件名称")
    @TableField("file_name")
    private String fileName;
    @ApiModelProperty(value = "文件大小")
    @TableField("file_size")
    private String fileSize;
    @ApiModelProperty(value = "文件入库时间")
    @TableField("file_import_time")
    private Date fileImportTime;
    @ApiModelProperty(value = "文件说明")
    @TableField("file_desc")
    private String fileDesc;
    @ApiModelProperty(value = "已经转存ES标记。0：未转存；1：已经转存；；")
    @TableField("trans2es")
    private Integer trans2es;
    @TableField("uuid")
    private String uuid;
    @ApiModelProperty(value = "关联ID")
    @TableField("common_id")
    private String commonId;
    @ApiModelProperty(value = "关联数量（默认为1，>1表示关联了其它文件）")
    @TableField("common_num")
    private Integer commonNum;
    @TableField("file_id_number")
    private Long fileIdNumber;
}