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

import cn.ey.biz.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色 DO
 */
@TableName(value = "system_data_role", autoResultMap = true)
@KeySequence("system_data_role_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
public class DataRoleDO extends BaseDO {

    @TableId
    private Long id;

    private String name;

    private String sl;

    private String mr;

    private String code;

    @TableField("note")
    private String explain;

    private String codeBlocks;

    private String config;

    private String type;

    private String app;

    private String configType;
}
