package org.jeecg.modules.database.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
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;

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

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @Schema(description = "所属部门")
    private String sysOrgCode;
    /**
     * 试验类型
     */
    @Excel(name = "试验类型", width = 15)
    @Schema(description = "试验类型")
    private String type;
    /**
     * 试验名称
     */
    @Excel(name = "试验名称", width = 15)
    @Schema(description = "试验名称")
    private String name;
    /**
     * 委托方
     */
    @Excel(name = "委托方", width = 15)
    @Schema(description = "委托方")
    private String client;
    /**
     * 生产厂家
     */
    @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 experimentUser;
    /**
     * 实验详情(大字段)
     */
    @Excel(name = "实验详情(大字段)", width = 15)
    @Schema(description = "实验详情(大字段)")
    private String experimentDetail;
}
