package com.willalp.yiqing.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.willalp.common.annotation.Excel;
import com.willalp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 核酸检测结果对象 hs_yiqing_rns_result
 *
 * @author willalp
 * @date 2022-05-18
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class RnsResultVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "采样时间", width = 15, dateFormat = "yyyy-MM-dd")
    private Date samplingTime;

    /**
     * 检验时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 15, dateFormat = "yyyy-MM-dd")
    private Date resultTime;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String userName;

    /**
     * 证件类型
     */
    @Excel(name = "证件类型", readConverterExp = "0=身份证,1=社保卡,2=军官证,3=护照,4=港澳通行证,5=其他")
    private String otherAttest;

    /**
     * 证件号
     */
    @Excel(name = "证件号")
    private String attestNo;

    /**
     * 对应人员ID
     */
    private String userDataId;

    /**
     * 核酸结果
     */
    @Excel(name = "核酸结果")
    private String rnaResult;

    /**
     * 测定值
     */
    @Excel(name = "测定值")
    private String ctValue;

    @Excel(name = "ORF1ab基因（SS）")
    private String excelT1;

    @Excel(name = "N基因（SS）")
    private String excelT2;

    /**
     * 抗原结果
     */
    @Excel(name = "抗原结果")
    private String antigenResult;

    /**
     * 分类
     */
    @Excel(name = "核酸分类")
    private String sort;

}
