package com.qingyun.service.domain.vo;

import com.qingyun.service.domain.ContractReviewResult;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.qingyun.common.annotation.ExcelDictFormat;
import com.qingyun.common.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 审查结果视图对象 contract_review_result
 *
 * @author jianlu
 * @date 2025-07-11
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@AutoMapper(target = ContractReviewResult.class)
public class ContractReviewResultVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 结果ID
     */
    @ExcelProperty(value = "结果ID")
    private Long resultId;

    /**
     * 任务ID
     */
    @ExcelProperty(value = "任务ID")
    private Long taskId;

    /**
     * 合同原文
     */
    @ExcelProperty(value = "合同原文")
    private String contractContent;

    /**
     * 风险提示
     */
    @ExcelProperty(value = "风险提示")
    private String riskTips;

    /**
     * 风险等级 0:无风险 1:低风险 2:中风险 3:高风险
     */
    @ExcelProperty(value = "风险等级")
    private String riskLevel;

    /**
     * 审查依据
     */
    @ExcelProperty(value = "审查依据")
    private String reviewBasis;

    /**
     * 修改示例
     */
    @ExcelProperty(value = "修改示例")
    private String modifyExample;

    /**
     * 规格类型(1:规则 2:要素)
     */
    @ExcelProperty(value = "规格类型(1:规则 2:要素)")
    private Long specType;

    /**
     * 对应的合同页码
     */
    private Integer pageNum;


}
