using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
///
/// 设备API
///
[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 DeviceId { get; set; }
public Device Device { get; set; }
public List Parameters { get; set; } = new List();
public List Commands { get; set; } = new List();
}
}