namespace FoodLabeling.Application.Contracts.Dtos.RbacRole;
///
/// 新增角色入参(美国版对外)
///
public class RbacRoleCreateInputVo
{
public string RoleName { get; set; } = string.Empty;
public string RoleCode { get; set; } = string.Empty;
public string? Remark { get; set; }
///
/// 数据范围(与 rbac 的 DataScope 含义一致,int 存储)
///
public int DataScope { get; set; } = 0;
public bool State { get; set; } = true;
///
/// 排序;未传时服务端按 0 处理
///
public int? OrderNum { get; set; }
///
/// 访问权限编码 JSON 数组字符串(如 ["manage_labels","manage_people"])
///
public string? AccessPermissions { get; set; }
///
/// 兼容旧字段名 accessPermissionCodes
///
public List? AccessPermissionCodes { get; set; }
}