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
665 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
[Display(Name = "Api")]
public class Api : BaseEntity, IDisableRemove
{
public string Name { get; set; }
public string Path { get; set; }
public string Command { get; set; }
public string Method { get; set; }
public Guid InfoId { get; set; }
public DeviceInfo Info { get; set; }
public List<Parameter> Parameters { get; set; } = new List<Parameter>();
public List<Command> Commands { get; set; } = new List<Command>();
}
}