package org.jeecg.modules.weituo.vo;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Data
public class ItdmWeituoInfoInfoVO {
    private String id;


    private WeituoInfoVO data;


    private List<WeituoYangpin> yangpins;


    private List<WeituoYangPinShiYan> pinShiYans;


    @Getter
    @Setter
    public static final class WeituoInfoVO {
        private String id;

        private String weituoClient;
        /**
         * 委托单位地址
         */
        private String weituoAddress;
        /**
         * 委托联系人
         */
        private String weituoLxr;
        /**
         * 委托电话
         */
        private String weituoPhone;
        /**
         * 委托邮箱
         */
        private String weituoEmail;
        /**
         * 报告用章
         */
        private String bgyz;
        /**
         * 报告形式
         */
        private String bgxs;
        /**
         * 特殊要求
         */
        private String teshuyaoqiu;

        /**
         * 试验条件文件地址
         */
        private String tiaojianFile;

    }


    @Getter
    @Setter
    public static final class WeituoYangpin {
        //辅助  样品扩展 id
        private String key;

        private String sampleName;


        private String sampleModelSpecification;


        private Integer sampleQuantities;


        private String sampleManufacturer;


    }

    @Getter
    @Setter
    @JsonPropertyOrder({"key", "yangpinKeyId", "testItems", "standardRequirement", "judgementBasis", "beizhu"})

    public static final class WeituoYangPinShiYan {

        private  String key;

        /**
         * 样品id
         */
        private String yangpinKeyId;
        /**
         * 检测项目
         */
        private String testItems;
        /**
         * 检测依据
         */
        private String standardRequirement;
        /**
         * 判定依据
         */
        private String judgementBasis;
        /**
         * 备注
         */
        private String beizhu;


    }
}
