using BPA.SAAS.Manage.Comm.Enum; using BPA.SAAS.Manage.Core.Base; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.SAAS.Manage.Core.Org { /// /// 组织机构 /// [SugarTable("bpa_organize")] public class BPA_Organize: IBaseEntity, IGroupId { /// /// 机构名称 /// public string Name { get; set; } /// /// 上级id /// public string PID { get; set; } /// /// 类型 默认 机构 /// public int Type { get; set; } /// /// 上级ID集合 /// public string Pids { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 电话 /// public string Tel { get; set; } /// /// AutoKey 唯一值 /// public string AutoKey { get; set; } /// /// 状态 【正常 停用】默认 正常 /// public CommonStatus Status { get; set; } = CommonStatus.ENABLE; /// /// 加盟商id /// public string GroupId { get; set; } public int Sort { get; set; } } }