package org.xyzh.common.dto.sys;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.xyzh.common.dto.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @description    系统角色DTO
 * @filename    TbSysRoleDTO.java
 * @author    yslg
 * @copyright yslg
 * @since 2025-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "系统角色DTO")
public class TbSysRoleDTO extends BaseDTO {

    @Schema(description = "角色ID")
    private String roleId;

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "角色描述")
    private String description;

    @Schema(description = "角色作用域  global 全局角色, dept 部门角色")
    private String scope;

    @Schema(description = "所属部门ID")
    private String ownerDeptId;

    @Schema(description = "角色状态 true 有效, false 无效")
    private Boolean status;
}