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.
18 lines
542 B
18 lines
542 B
using Infrastructure.Domain;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IoT.Shared.Application.Domain.Entities
|
|
{
|
|
[Display(Name = "区域")]
|
|
[Scope]
|
|
[Group("平台配置", "Settings")]
|
|
public class Area : BaseTreeEntity<Area>
|
|
{
|
|
public AreaType Type { get; set; }
|
|
public string CustomType { get; set; }
|
|
public List<Organ> Organs { get; set; } = new List<Organ>();
|
|
public List<Building> Buildings { get; set; } = new List<Building>();
|
|
}
|
|
}
|