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

1 year ago
1 year ago
1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Volo.Abp.Domain.Entities;
  7. using Volo.Abp.MultiTenancy;
  8. namespace Shentun.WebPeis.Models
  9. {
  10. public class AppOrganizationUnit : AggregateRoot<Guid>, IMultiTenant
  11. {
  12. public Guid? TenantId { get; private set; }
  13. public char IsMedicalCenter { get; set; }
  14. public virtual Guid? ParentId { get; internal set; }
  15. /// <summary>
  16. /// Hierarchical Code of this organization unit.
  17. /// Example: "00001.00042.00005".
  18. /// This is a unique code for an OrganizationUnit.
  19. /// It's changeable if OU hierarchy is changed.
  20. /// </summary>
  21. public virtual string Code { get; internal set; }
  22. /// <summary>
  23. /// Display name of this OrganizationUnit.
  24. /// </summary>
  25. public virtual string DisplayName { get; set; }
  26. private AppOrganizationUnit()
  27. {
  28. }
  29. }
  30. }