RbacRoleCreateInputVo.cs 576 Bytes
namespace FoodLabeling.Application.Contracts.Dtos.RbacRole;

/// <summary>
/// 新增角色入参(美国版对外)
/// </summary>
public class RbacRoleCreateInputVo
{
    public string RoleName { get; set; } = string.Empty;

    public string RoleCode { get; set; } = string.Empty;

    public string? Remark { get; set; }

    /// <summary>
    /// 数据范围(与 rbac 的 DataScope 含义一致,int 存储)
    /// </summary>
    public int DataScope { get; set; } = 0;

    public bool State { get; set; } = true;

    public int OrderNum { get; set; } = 0;
}