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.

48 lines
1.0 KiB

using System;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
/// <summary>
/// 场景命令
/// </summary>
[Display(Name = "命令")]
public class Command : BaseEntity, IDisableRemove
{
/// <summary>
/// 参数
/// </summary>
public string QueryString { get; set; }
/// <summary>
/// 场景Id
/// </summary>
public Guid SceneId { get; set; }
/// <summary>
/// 场景
/// </summary>
public Scene Scene { get; set; }
/// <summary>
/// API Id
/// </summary>
public Guid ApiId { get; set; }
/// <summary>
/// API
/// </summary>
public Api Api { get; set; }
/// <summary>
/// API Id
/// </summary>
public Guid DeviceId { get; set; }
/// <summary>
/// API
/// </summary>
public Device Device { get; set; }
}
}