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.
26 lines
998 B
26 lines
998 B
using Infrastructure.Domain;
|
|
using Infrastructure.Web.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[GeneratedController]
|
|
[Display(Name = "机构", Order = 70)]
|
|
[Scope(ScopeAttribute.PlatformAll | ScopeType.OrganRead | ScopeType.OrganEdit)]
|
|
[Module("基础设置", "Admin")]
|
|
public class Organ : BaseTreeEntity<Organ>
|
|
{
|
|
public string Type { get; set; }
|
|
public string Image { get; set; }
|
|
public string Description { get; set; }
|
|
public Guid? AreaId { get; set; }
|
|
public Area Area { get; set; }
|
|
public bool IsReadOnly { get; set; }
|
|
public List<Building> Buildings { get; set; } = new List<Building>();
|
|
public List<OrganUser> OrganUsers { get; set; } = new List<OrganUser>();
|
|
public List<Role> Roles { get; set; } = new List<Role>();
|
|
public List<Title> Titles { get; set; } = new List<Title>();
|
|
}
|
|
} |