using BPA.SAAS.Manage.Comm.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.SAAS.Manage.Application.Org.Dtos.Organize
{
    public class OrgOutput
    {
        public string Id { get; set; }
        /// <summary>
        /// 机构名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 上级id
        /// </summary>
        public string PID { get; set; }
        /// <summary>
        /// 类型 默认 机构
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 上级ID集合
        /// </summary>
        public string Pids { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Tel { get; set; }
        /// <summary>
        /// AutoKey 唯一值
        /// </summary>
        public string AutoKey { get; set; }
        /// <summary>
        /// 状态 【正常 停用】默认 正常
        /// </summary>
        public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
        /// <summary>
        /// 加盟商id
        /// </summary>
        public string GroupId { get; set; }
        public DateTime CreateAt { get; set; }
        public int Sort { get; set; }
    }
}
