package cn.ey.biz.module.system.dal.dataobject.code;

import cn.ey.biz.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * BlockingLevel DO
 */
@TableName(value = "system_code_blocking_level", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CodeBlockingLevelDO extends BaseDO {

    /**
     * 租户编号，自增
     */
    @TableId
    private Long id;

    /**
     * 版本ID
     */
    private Long verId;

    /**
     * 国家
     */
    private String country;

    /**
     * 业务线
     */
    private String sl;

    /**
     * 管理区域
     */
    private String region;

    /**
     * 规则 Json
     */
    private String rules;
}
