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