using System;
using System.Collections.Generic;
using System.Text;
using UMC.Data;
namespace UMC.Proxy.Entities
{
public enum UserModel
{
Standard = 0,
///
/// 共享
///
Share = 1,
///
/// 引用
///
Quote = 3,
///
/// 桥接
///
Bridge = 4,
///
/// 管理员检测密码
///
Check = 5,
///
/// 管理员检测密码
///
Checked = 6
}
public enum HostModel
{
///
/// 不处理
///
None = 0,
///
/// 在登录入口跳转
///
Login = 1,
///
/// 游览器跳转
///
Check = 3,
///
/// 所有请求跳转
///
Disable = 4
}
public enum UserBrowser
{
All = 0,
Chrome = 1,
Firefox = 2,
IE = 4,
WebKit = 8,
//Opera = 16,
Dingtalk = 32,
WeiXin = 64
}
public partial class Site : Record
{
public string Root
{
get;
set;
}
public string Host
{
get;
set;
}
public int? SiteKey
{
get; set;
}
public int? Timeout { get; set; }
public string Caption { get; set; }
///
/// 应用子目录
///
public String Conf { get; set; }
public String AuthConf { get; set; }
public String StaticConf { get; set; }
public String AppendJSConf { get; set; }
public string Domain { get; set; }
public int? Type { get; set; }
///
/// 服务账户
///
public string Account
{
get; set;
}
///
/// 客户端版本
///
public string Version
{
get; set;
}
public string HelpKey
{
get; set;
}
public string OutputCookies
{
get; set;
}
public DateTime? Time
{
get; set;
}
///
/// 登录后的主页
///
public string Home { get; set; }
///
/// 移动主页
///
public string MobileHome
{
get; set;
}
public int? OpenModel { get; set; }
public UserModel? UserModel { get; set; }
public Web.WebAuthType? AuthType { get; set; }
public int? AuthExpire { get; set; }
///
/// 标签,-1逻辑删除
///
public int? Flag { get; set; }
public int? SLB { get; set; }
///
/// 请求头配置
///
public string HeaderConf
{
get; set;
}
///
/// 日志地址
///
public string LogConf
{
get; set;
}
///
/// 退出地址
///
public string LogoutPath
{
get; set;
}
///
/// 替换域名的路径
///
public string HostReConf
{
get; set;
}
///
/// 配置管理人
///
public string AdminConf
{
get; set;
}
///
/// 是否是模块
///
public bool? IsModule
{
get; set;
}
///
/// 是否是显示在桌面
///
public bool? IsDesktop
{
get; set;
}
///
/// 是否是调试模式
///
public bool? IsDebug
{
get; set;
}
/////
///// 支持的浏览器
/////
public UserBrowser? UserBrowser
{
get; set;
}
public HostModel? HostModel
{
get; set;
}
public string AppSecret { get; set; }
public string RedirectPath
{
get; set;
}
public bool? IsAuth
{
get; set;
}
public String ImagesConf { get; set; }
public int? ModifyTime { get; set; }
// public String EventsConf { get; set; }
}
public partial class SiteHost : Record
{
public string Host
{
get; set;
}
public string Root
{
get; set;
}
public int? Scheme
{
get; set;
}
}
}