using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp.Domain.Entities; using Volo.Abp.MultiTenancy; namespace Shentun.WebPeis.Models { public class AppOrganizationUnit : AggregateRoot, IMultiTenant { public Guid? TenantId { get; private set; } public char IsMedicalCenter { get; set; } public virtual Guid? ParentId { get; internal set; } /// /// Hierarchical Code of this organization unit. /// Example: "00001.00042.00005". /// This is a unique code for an OrganizationUnit. /// It's changeable if OU hierarchy is changed. /// public virtual string Code { get; internal set; } /// /// Display name of this OrganizationUnit. /// public virtual string DisplayName { get; set; } private AppOrganizationUnit() { } } }