package org.jeecg.modules.database.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Description: NASA数据管理
 * @Author: jeecg-boot
 * @Date: 2024-11-14
 * @Version: V1.0
 */
@Data
@TableName("nasa_data_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "NASA数据管理")
public class NasaDataRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    @TableField(exist = false)
    private String dataType="nasa";
    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "创建日期")
    private Date   createTime;
    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "更新日期")
    private Date   updateTime;
    /**
     * 所属部门
     */
    @Schema(description = "所属部门")
    private String sysOrgCode;
    /**
     * 器件类型
     */
    @Excel(name = "器件类型", width = 15)
    @Schema(description = "器件类型")
    private String deviceType;
    /**
     * 器件名称
     */
    @Excel(name = "器件名称", width = 15)
    @Schema(description = "器件名称")
    private String deviceName;
    /**
     * 器件型号
     */
    @Excel(name = "器件型号", width = 15)
    @Schema(description = "器件型号")
    private String deviceMode;
    /**
     * 器件功能
     */
    @Excel(name = "器件功能", width = 15)
    @Schema(description = "器件功能")
    private String deviceFunction;
    /**
     * 器件批次
     */
    @Excel(name = "器件批次", width = 15)
    @Schema(description = "器件批次")
    private String deviceBatch;
    /**
     * 生产厂家
     */
    @Excel(name = "生产厂家", width = 15)
    @Schema(description = "生产厂家")
    private String manufacturer;
    /**
     * 试验时间
     */
    @Excel(name = "试验时间", width = 15)
    @Schema(description = "试验时间")
    private String experimentDate;
    /**
     * 数据来源
     */
    @Excel(name = "数据来源", width = 15)
    @Schema(description = "数据来源")
    private String dataSource;
    /**
     * 试验人员
     */
    @Excel(name = "试验人员", width = 15)
    @Schema(description = "试验人员")
    private String experimentUser;
    /**
     * 西核院统计
     */
    @Excel(name = "西核院统计", width = 15)
    @Schema(description = "西核院统计")
    private Long   totalCountNasa;
    /**
     * 理化所统计
     */
    @Excel(name = "理化所统计", width = 15)
    @Schema(description = "理化所统计")
    private Long   totalCountLhs;
    /**
     * 附件IDs
     */
    @Excel(name = "附件IDs", width = 15)
    @Schema(description = "附件IDs")
    private String fileList;

    @TableField(exist = false)
    private Map<String, String> fileMap;
    /**
     * 原始数据
     */
    @Excel(name = "原始数据", width = 15)
    @Schema(description = "原始数据")
    private String              originData;
}
