package com.yingpaipay.business.domain.bo;

import com.yingpaipay.business.domain.DocumentQcTask;
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 java.util.List;

/**
 * 文档质控任务业务对象 document_quality_control_task
 *
 * @author Huanyi
 * @date 2026-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DocumentQcTask.class, reverseConvertGenerate = false)
public class DocumentQcTaskBo extends BaseEntity {

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

    /**
     * 质控名称
     */
//    @NotBlank(message = "质控名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

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

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

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

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

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

    /**
     * 质控占比
     */
    private Integer proportion;

}
