using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Organizations;

namespace YoYoCms.AbpProjectTemplate.Organizations.Dto
{
    [AutoMapFrom(typeof(OrganizationUnit))]
    public class OrganizationUnitDto : AuditedEntityDto<long>
    {
        public long? ParentId { get; set; }

        public string Code { get; set; }

        public string DisplayName { get; set; }

        public int MemberCount { get; set; }
    }
}