using System.Collections.Generic; using System.ComponentModel; namespace Tiger.Model { public class ApiInput { /// ///数据库授权查询选项 /// public AuthOption AuthOption { get; set; } } public class BsPageInput : ApiInput { public int pageIndex { get; set; } public int pageSize { get; set; } public int total { get; set; } public string Code { get; set; } } public class BsPageOutput { public List data { get; set; } public int total { get; set; } } public class ShortMessage { public ShortMessage(string msg, Types type) { Content = msg; Type = type; } public string Content { get; set; } public Types Type { get; set; } /// /// 信息类型 /// public enum Types { /// /// 默认信息 /// [Description("默认信息")] Normal, /// /// 成功信息 /// [Description("成功信息")] Success, /// /// 警告信息 /// [Description("警告信息")] Warning, /// /// 错误信息 /// [Description("错误信息")] Error, /// /// 失败信息 /// [Description("失败信息")] Failed, /// /// 异常信息 /// [Description("异常信息")] Exception, } } }