ql_apimanager_backend/Apimanager_backend/Models/ApiRequestExample.cs

17 lines
460 B
C#

using System.ComponentModel.DataAnnotations;
namespace Apimanager_backend.Models
{
public class ApiRequestExample
{
public int Id { get; set; }
public int ApiId { get; set; }
[Required]
public string ResponseType { get; set; }
public string Request { get; set; } = string.Empty;
public string Response { get; set; } = string.Empty;
//导航属性
public Api Api { get; set; }
}
}