using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ys.Core.Common;
namespace djy.Paas.Model
{
///
///
///
public class EnumUser
{
///
/// 通用状态
///
public enum Status
{
///
///默认
///
[EnumText("默认")]
Default = 0,
///
/// 正常
///
[EnumText("正常")]
On = 1,
///
/// 冻结或删除状态
///
[EnumText("冻结")]
Off = -1,
///
/// 完成
///
[EnumText("完成")]
Finish = 100
}
public enum WorkStatus
{
///
///默认
///
[EnumText("默认")]
Default = 0,
///
/// 未处理
///
[EnumText("未处理")]
On = 1,
///
/// 处理中
///
[EnumText("处理中")]
Working=2,
///
/// 冻结或删除状态
///
[EnumText("已删除")]
Off = -1,
///
/// 已完成
///
[EnumText("已完成")]
Finish = 100
,
///
/// 已取消
///
[EnumText("已取消")]
Chancel = 101
}
///
/// 是否
///
public enum IsYesNo
{
///
/// 是
///
[EnumText("是")]
Yes = 1,
///
/// 否
///
[EnumText("否")]
No = -1
}
///
/// 用户角色类型
///
public enum UserType
{ ///
/// 全部 一般用于初始值
///
[EnumText("全部")]
All = 0,
///
/// 管理员
///
[EnumText("管理员")]
Admin = 1,
///
/// 客户端
///
[EnumText("客户端")]
User = 2,
}
///
/// 目录类型 尽力与 usertype同步
///
public enum MenuType
{///
/// 全部的
///
[EnumText("All")]
All = 0,
///
/// 总管理后台
///
[EnumText("后台")]
Admin = 1,
///
/// 企业用户端pc
///
[EnumText("用户端pc")]
User = 2
}
}
}