|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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
- {
- /// <summary>
- /// 组织机构
- /// </summary>
- [SugarTable("bpa_organize")]
- public class BPA_Organize: IBaseEntity, IGroupId
- {
- /// <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 int Sort { get; set; }
- }
- }
|