package com.ruoyi.web.v3.model.request;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.web.v3.model.BasePageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HbCheckAsfPageReq", description="v3.0非洲猪瘟检测登记")
public class HbCheckAsfPageReq extends BasePageRequest implements Serializable {

    @ApiModelProperty(value = "数据唯一性标识id")
    private String id;

    @ApiModelProperty(value = "检测报告编号")
    private String recordId;

    @ApiModelProperty(value = "采样编号")
    private String markNoGroup;

    @ApiModelProperty(value = "检测生猪数")
    private Integer quantity;

    @ApiModelProperty(value = "样品编号")
    private String sampleNoGroup;

    @ApiModelProperty(value = "对应检疫证号码")
    private String animalCertNo;

    @ApiModelProperty(value = "试剂名称")
    private String drugName;

    @ApiModelProperty(value = "生产厂家")
    private String producerName;

    @ApiModelProperty(value = "有效期至")
    private LocalDateTime expireTime;

    @ApiModelProperty(value = "混样记录")
    private String mixedRecord;

    @ApiModelProperty(value = "检测方法")
    private String checkMethod;

    @ApiModelProperty(value = "检测结果")
    private String checkResult;

    @ApiModelProperty(value = "屠宰厂检测人（签名）")
    private String examinerName;

    @ApiModelProperty(value = "屠宰厂负责人（签名）")
    private String ownerName;

    @ApiModelProperty(value = "屠宰厂签名日期")
    private String chargeTime;

    @ApiModelProperty(value = "官方兽医确认（签名）")
    private String veterinaryName;

    @ApiModelProperty(value = "兽医签名日期")
    private String veterinaryTime;

    /** 入场批次ID */
    @ApiModelProperty(value = "检测报告编号")
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "入场批次ID")
    private Long entranceBatchId;
}
