package com.yingpaipay.business.domain.vo;

import java.util.Date;

import com.yingpaipay.business.domain.DocumentQcTask;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
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;
import java.util.List;


/**
 * 文档质控任务视图对象 document_quality_control_task
 *
 * @author Huanyi
 * @date 2026-01-06
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DocumentQcTask.class)
public class DocumentQcTaskVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    private Long id;

    /**
     * 质控名称
     */
    @ExcelProperty(value = "质控名称")
    private String name;

    /**
     * 发起人
     */
    @ExcelProperty(value = "发起人")
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "initiator")
    private String initiatorName;
    private Long initiator;

    /**
     * 质控项目
     */
    @ExcelProperty(value = "质控项目")
    private String projectName;
    private Long projectId;

    /**
     * 截止时间
     */
    @ExcelProperty(value = "截止时间")
    private Date deadline;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private Integer status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String note;

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

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

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

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

    private Long schedule;

}
