package com.rj.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author 系统生成
 * @since 2025-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("role")
@Schema(description="角色表")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "角色编号")
    @TableId("role_id")
    private Integer roleId;

    @Schema(description = "角色名称")
    @TableField("role_name")
    private String roleName;

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

}
