You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
652 B
20 lines
652 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[Display(Name = "Api")]
|
|
public class Api : BaseEntity
|
|
{
|
|
public string Name { get; set; }
|
|
public string Path { get; set; }
|
|
public string Command { get; set; }
|
|
public string Method { get; set; }
|
|
public Guid ProductId { get; set; }
|
|
public Product Product { get; set; }
|
|
public List<Parameter> Parameters { get; set; } = new List<Parameter>();
|
|
public List<Command> Commands { get; set; } = new List<Command>();
|
|
}
|
|
} |