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.

23 lines
720 B

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