This commit is contained in:
2026-11-03 18:56:52 +03:30
parent 62aa8d51e6
commit 9668f26ffe
13 changed files with 876 additions and 340 deletions
+6
View File
@@ -1,6 +1,7 @@
using System;
using xModels.Base;
using xModels.Dtos;
using xAiModels.Constants;
namespace xAiModels.Models.Dtos
{
@@ -12,6 +13,11 @@ namespace xAiModels.Models.Dtos
public string OwnerId { get; set; }
public virtual XPersonDto Owner { get; set; }
/// <summary>
/// Specified Which Scope can Use MCP Server ...
/// </summary>
public XAiMcpServerUsageScope Scope { get; set; } = XAiMcpServerUsageScope.Owner;
/// <summary>
/// MCP Server Name ...
/// </summary>
+6
View File
@@ -1,5 +1,6 @@
using System;
using xModels.Base;
using xAiModels.Constants;
using System.ComponentModel.DataAnnotations;
namespace xAiModels.Models.Entities
@@ -16,6 +17,11 @@ namespace xAiModels.Models.Entities
[StringLength(255)]
public string OwnerId { get; set; }
/// <summary>
/// Specified Which Scope can Use MCP Server ...
/// </summary>
public XAiMcpServerUsageScope Scope { get; set; } = XAiMcpServerUsageScope.Owner;
/// <summary>
/// MCP Server Name ...
/// </summary>