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.
21 lines
753 B
21 lines
753 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[Display(Name = "房间", Order = 100)]
|
|
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
|
|
[Module("基础设置", "Admin")]
|
|
public class Building : BaseTreeEntity<Building>
|
|
{
|
|
public string Type { get; set; }
|
|
public string Image { get; set; }
|
|
public string Description { get; set; }
|
|
public Guid OrganId { get; set; }
|
|
public Organ Organ { get; set; }
|
|
public List<IoTGateway> IoTGateways { get; set; } = new List<IoTGateway>();
|
|
public List<IoTScene> Scenes { get; set; } = new List<IoTScene>();
|
|
}
|
|
} |