using Abp.AutoMapper;
using MineTec.ProManager.Organizations.Dto;
using MineTec.ProManager.Admin.Models.Common;

namespace MineTec.ProManager.Admin.Models.OrganizationUnits
{
    /// <summary>
    /// 组织机构视图模型
    /// </summary>
    [AutoMap(typeof(OrganizationUnitDto))]
    public class OrganizationUnitListViewModel : EntityViewModel<long>
    {
        public long? ParentId { get; set; }

        public string DisplayName { get; set; }

        public bool Checked { get; set; } = false;
    }
}
