package com.emoon.knowledge.domain.bo;

import com.emoon.common.core.validate.validate.AddGroup;
import com.emoon.common.core.validate.validate.EditGroup;
import com.emoon.common.mybatis.core.domain.BaseEntity;
import com.emoon.knowledge.domain.QualityControlRule;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 【请填写功能名称】业务对象 quality_control_rule
 *
 * @author wangkang
 * @date 2025-11-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = QualityControlRule.class, reverseConvertGenerate = false)
public class QualityControlRuleBo extends BaseEntity {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private String category;

    /**
     *
     */
    private String ruleCode;

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

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

    /**
     *
     */
    private String qcTypeList;

    /**
     *
     */
    private String qcBehavior;

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

    /**
     *
     */
    private String qcStage;

    /**
     *
     */
    private Long isEnabled;

    /**
     *
     */
    private String primaryDepartment;

    /**
     *
     */
    private String secondaryDepartmentList;

    /**
     * 状态
     */
    private String status;

    /**
     * 删除标记
     */
    private String defFlag;


}
