package com.qingyun.service.domain.vo;

import com.qingyun.service.domain.ContractCompareResult;
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_compare_result
 *
 * @author jianlu
 * @date 2025-07-11
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@AutoMapper(target = ContractCompareResult.class)
public class ContractCompareResultVo implements Serializable {
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 源文件定位
     */
    private String baseBoxArea;
    /**
     * 源文件差异内容
     */
    private String baseDiffContent;
    /**
     * 源文件差异类型（insert，update, delete）
     */
    private String baseDiffType;
    /**
     * 源文件页码
     */
    private Integer basePageNum;
    /**
     * 源文件行号
     */
    private Integer baseLineNum;
    /**
     * 对比文件定位
     */
    private String compareBoxArea;
    /**
     * 对比文件差异内容
     */
    private String compareDiffContent;
    /**
     * 对比文件差异类型（insert，update, delete）
     */
    private String compareDiffType;
    /**
     * 对比文件页码
     */
    private Integer comparePageNum;
    /**
     * 对比文件行号
     */
    private Integer compareLineNum;

    private Date createTime;
}
