package cn.cslg.report.common.model.vo.invalidReReport;

import cn.cslg.report.common.model.dto.invalidReReport.InvalidReasonDTO;
import cn.cslg.report.common.model.dto.invalidReReport.InvalidReasonFieldValueDTO;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * @Author xiexiang
 * @Date 2023/7/5
 */
@Data
public class QueryInvalidReasonVO {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 无效理由
     */
    private Integer invalidName;

    /**
     * 涉及内容
     */
    private Integer content;

    /**
     * 陈述意见
     */
    private String argumentStr;

    /**
     * 复审委意见
     */
    private String comOptions;

    /**
     * 法院意见
     */
    private String courtOptions;

    /**
     * 相关证据
     */
    private String proofStr;

    /**
     * 证据组合
     */
    private List<proofGroupIn> proofGroups;

    /**
     * 选择特征
     */
    private List<featuresIn> features;

    private List<InvalidReasonFieldValueDTO> fields;

    @Data
    public static class proofGroupIn{
        /**
         * groupId
         */
        private Integer id;

        /**
         * 无效理由id
         */
        private Integer invalidReasonId;

        /**
         * 描述
         */
        private String description;

        /**
         * 陈述意见
         */
        private String argument_str;

        private List<Integer> proofIds;
        private List<proofIn> proofs;
    }
    @Data
    public static class proofIn{

        private Integer id;
        private Integer sort;
        private Integer fileType;
        private String patentNo;
        private Integer fileId;
    }

    @Data
    public static class featuresIn{
        /**
         * 特征id
         */
        private Integer id;
        /**
         * 特征内容
         */
        private String featureStr;
        /**
         * 内容起始位置
         */
        private Integer position;
    }
}
