package com.qingyun.service.domain.vo;

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

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 规则要素模板ID
     */
    private Long templateId;

    /**
     * 审查规则
     */
    private String reviewRule;

    /**
     * 审查要素
     */
    private String reviewElement;

    /**
     * 合同地址
     */
    private String contractUrl;

    /**
     * 合同原文MD
     */
    private String contractContentMd;

    /**
     * 合同图片
     */
    private String contractPic;

    /**
     * 页数
     */
    private Integer pageNum;

    /**
     * 状态(0:未开始 1:获取原文中 2:审查中 3:已审查 4:失败)
     */
    private Integer status;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

}
