|
- 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_users")]
- public class BPA_Users: IBaseEntity, IGroupId
- {
- /// <summary>
- /// 用户名称
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// 登录账号
- /// </summary>
- public string Account { get; set; }
- /// <summary>
- /// 登录密码
- /// </summary>
- public string Password { get; set; }
- /// <summary>
- /// 手机号码
- /// </summary>
- public string Phone { get; set; }
- /// <summary>
- /// 管理员类型-超级管理员_1、管理员_2、普通账号_3
- /// </summary>
- public int AdminType { get; set; }
- /// <summary>
- /// 归属组织
- /// </summary>
- public string SysOrgId { get; set; }
- /// <summary>
- /// 加盟商id
- /// </summary>
- public string GroupId { get; set; }
- /// <summary>
- /// 状态 【正常 停用】默认 正常
- /// </summary>
- [SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)]
- public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
- }
- }
|