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.QualityControlRuleExample;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

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

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private String ruleCode;

    /**
     *
     */
    private String type;

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

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

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

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

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


}
