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

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

@TableName("system_abac")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AbacDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 服务code
     */
    private String app;

    /**
     * 配置名称
     */
    private String name;

    /**
     * 菜单 (json)
     */
    private String menus;

    /**
     * 角色ID (json)
     */
    private String roleIds;

    /**
     * 判断用角色ID (json)
     */
    private String checkRoles;

    private String ranks;

    private String regions;

    private String sl;

    private String mr;

    private String subSl;

    private String smu;

    private String competencyCode;

    private String ou;

    private String aadGroups;

    private String bu;

    /**
     * 动态判断条件 (json)
     */
    private String dyna;

    private String rule;

    private int state;

    private int scene;

    private String serviceLine;
}
