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
744 B
23 lines
744 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IoT.Shared.Application.Domain.Entities
|
|
{
|
|
[Display(Name = "接口")]
|
|
[Scope]
|
|
[Group("物联管控", "IoTCenter")]
|
|
public class IoTApi : 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 IoTProduct Product { get; set; }
|
|
public List<IoTParameter> Parameters { get; set; } = new List<IoTParameter>();
|
|
public List<IoTCommand> IoTCommands { get; set; } = new List<IoTCommand>();
|
|
}
|
|
}
|