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.
27 lines
868 B
27 lines
868 B
using Infrastructure.Domain;
|
|
using Infrastructure.Web.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IoTShared.Application.Domain.Entities
|
|
{
|
|
[GeneratedController]
|
|
[Display(Name = "机构")]
|
|
public class Organ : BaseTreeEntity<Organ>
|
|
{
|
|
public string Name { get; set; }
|
|
public string Number { get; set; }
|
|
|
|
[Display(Name = "分类图标")]
|
|
public string Image { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
public Guid? AreaId { get; set; }
|
|
public Area Area { get; set; }
|
|
public List<OrganNode> OrganNodes { get; set; } = new List<OrganNode>();
|
|
public List<OrganUser> OrganUsers { get; set; } = new List<OrganUser>();
|
|
public List<OrganScene> OrganScenes { get; set; } = new List<OrganScene>();
|
|
}
|
|
}
|