package com.yingpaipay.business.domain.bo;

import com.yingpaipay.business.domain.DocumentQcTaskLog;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 文档质控日志业务对象 document_qc_task_log
 *
 * @author Huanyi
 * @date 2026-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DocumentQcTaskLog.class, reverseConvertGenerate = false)
public class DocumentQcTaskLogBo extends BaseEntity {

    /**
     * 序号
     */
    @NotNull(message = "序号不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 质控任务
     */
    @NotNull(message = "质控任务不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long taskId;

    /**
     * 指控环节
     */
    @NotNull(message = "指控环节不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long detailId;

    /**
     * 执行人
     */
    @NotNull(message = "执行人不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long executor;

    /**
     * 执行时间
     */
    @NotNull(message = "执行时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date executeTime;

    /**
     * 质控结果
     */
    @NotNull(message = "质控结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer result;

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

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

    /**
     * 指定处理人
     */
    private Long designatedDealer;

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

    /**
     * 实际处理人
     */
    private Long actualDealer;

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


}
