package com.yingpaipay.business.domain.vo;

import java.util.Date;
import com.yingpaipay.business.domain.DocumentQcTaskLog;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;



/**
 * 文档质控日志视图对象 document_qc_task_log
 *
 * @author Huanyi
 * @date 2026-01-14
 */
@Data
@AutoMapper(target = DocumentQcTaskLog.class)
public class DocumentQcTaskLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 质控任务
     */
    private Long taskId;

    /**
     * 指控环节
     */
    private Long detailId;

    /**
     * 执行人
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "executor")
    private Long executor;

    /**
     * 执行时间
     */
    private Date executeTime;

    /**
     * 质控结果
     */
    private Integer result;

    /**
     * 问题分类
     */
    private String questionType;

    /**
     * 质控意见
     */
    private String opinion;

    /**
     * 指定处理人
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "designatedDealer")
    private Long designatedDealer;

    /**
     * 处理截止日期
     */
    private Date deadline;

    /**
     * 实际处理人
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "actualDealer")
    private Long actualDealer;

    /**
     * 处理时间
     */
    private Date dealTime;

    /**
     * 创建者
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "createBy")
    private Long createBy;

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

    /**
     * 更新者
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "updateBy")
    private Long updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

}
