using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace AirWheel.Cycling.Entity.Enum
{
///
/// 对应数据库 类型 0 为FALSE 1 为TURE
///
public enum BoolEnum
{
///
/// False
///
[Description("False")]
False = 00,
///
/// Ture
///
[Description("True")]
True = 1
}
///
/// 对应数据库 类型 0 为FALSE 1 为TURE
///
public enum StateEnum
{
///
/// 成功
///
[Description("成功")]
Success = 200,
///
/// 失败
///
[Description("失败")]
Error = 500,
///
/// 没有查询到记录
///
[Description("没有查询到记录")]
Empty = 300,
[Description("操作出现异常({0}),请联系管理员或开发人员")]
Exception=800,
}
public enum ErrorEnum
{
///
/// 参数有误
///
[Description("参数有误")]
parm = 501,
}
///
/// 数据行状态
///
public enum RowStatus
{
///
/// 删除
///
[Description("删除")]
Delete = 0,
///
/// 有效
///
[Description("有效")]
Valid = 1,
///
/// 无效
///
[Description("无效")]
Invalid = 2
}
}