package com.yingpaipay.business.domain.bo;

import com.yingpaipay.business.domain.DocumentQcTaskDetail;
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.*;

/**
 * 文档质控细节业务对象 document_quality_control_task_detail
 *
 * @author Huanyi
 * @date 2026-01-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DocumentQcTaskDetail.class, reverseConvertGenerate = false)
public class DocumentQcTaskDetailBo 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 documentId;

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

//    @NotNull(message = "指控项目不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;

    /**
     * 状态
     */
//    @NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

    /**
     * 备注
     */
    private String note;


}
