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.
36 lines
1008 B
36 lines
1008 B
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<Guid>, IMultiTenant
|
|
{
|
|
|
|
public Guid? TenantId { get; private set; }
|
|
public char IsMedicalCenter { get; set; }
|
|
public virtual Guid? ParentId { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public virtual string Code { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Display name of this OrganizationUnit.
|
|
/// </summary>
|
|
public virtual string DisplayName { get; set; }
|
|
|
|
private AppOrganizationUnit()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|