package com.shkj.wms.bo;

import com.shkj.common.core.domain.BaseEntity;
import com.shkj.common.core.validate.AddGroup;
import com.shkj.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;


/**
 * 编码规则业务对象 bas_rule
 *
 * @author j.liang
 * @date 2022-12-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BasRuleBo extends BaseEntity {

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

    /**
     * 规则状态（0正常 1停用）
     */
    private String status;


}
