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.
22 lines
739 B
22 lines
739 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[Display(Name = "接口")]
|
|
[Scope]
|
|
[Module("物联管控", "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 IoTProductId { get; set; }
|
|
public IoTProduct Product { get; set; }
|
|
public List<IoTParameter> IoTParameters { get; set; } = new List<IoTParameter>();
|
|
public List<IoTCommand> IoTCommands { get; set; } = new List<IoTCommand>();
|
|
}
|
|
} |