using System; using System.Xml.Serialization; namespace Znyc.Recruitment.Admin.Commons.Options { /// /// 应用设置实体类 /// [Serializable] public class AppSetting { #region 系统基本信息 /// /// 系统名称 /// [XmlElement("SoftName")] public string SoftName { get; set; } /// /// 系统简介 /// [XmlElement("SoftSummary")] public string SoftSummary { get; set; } /// /// 访问域名 /// [XmlElement("WebUrl")] public string WebUrl { get; set; } /// /// Logo /// [XmlElement("SysLogo")] public string SysLogo { get; set; } /// /// 公司名称 /// [XmlElement("CompanyName")] public string CompanyName { get; set; } /// /// 地址 /// [XmlElement("Address")] public string Address { get; set; } /// /// 电话 /// [XmlElement("Telphone")] public string Telphone { get; set; } /// /// Email /// [XmlElement("Email")] public string Email { get; set; } /// /// ICP备案号 /// [XmlElement("ICPCode")] public string ICPCode { get; set; } /// /// 公安备案号 /// [XmlElement("PublicSecurityCode")] public string PublicSecurityCode { get; set; } /// /// 分享标题 /// [XmlElement("ShareTitle")] public string ShareTitle { get; set; } /// /// 微信公众号分享图片 /// [XmlElement("ShareWeChatImage")] public string ShareWeChatImage { get; set; } /// /// 微信小程序分享图片 /// [XmlElement("ShareWxAppletImage")] public string ShareWxAppletImage { get; set; } /// /// 微信推广二维码背景图片 /// [XmlElement("ShareBackgroundImage")] public string ShareBackgroundImage { get; set; } #endregion 系统基本信息 #region 功能权限设置 /// /// URL重写开关 /// [XmlElement("Staticstatus")] public string Staticstatus { get; set; } /// /// 静态URL后缀 /// [XmlElement("Staticextension")] public string Staticextension { get; set; } /// /// 开启会员功能 /// [XmlElement("Memberstatus")] public string Memberstatus { get; set; } /// /// 是否开启网站 /// [XmlElement("Webstatus")] public string Webstatus { get; set; } /// /// 网站关闭原因 /// [XmlElement("Webclosereason")] public string Webclosereason { get; set; } /// /// 网站统计代码 /// [XmlElement("Webcountcode")] public string Webcountcode { get; set; } #endregion 功能权限设置 #region 文件服务器 /// /// 文件服务器 /// [XmlElement("Fileserver")] public string Fileserver { get; set; } /// /// 本地文件存储物理物理路径 /// [XmlElement("LocalPath")] public string LocalPath { get; set; } /// /// 阿里云KeyId /// [XmlElement("Osssecretid")] public string Osssecretid { get; set; } /// /// 阿里云SecretKey /// [XmlElement("Osssecretkey")] public string Osssecretkey { get; set; } /// /// 阿里云Bucket /// [XmlElement("Ossbucket")] public string Ossbucket { get; set; } /// /// 阿里云EndPoint /// [XmlElement("Ossendpoint")] public string Ossendpoint { get; set; } /// /// 阿里云绑定域名 /// [XmlElement("Ossdomain")] public string Ossdomain { get; set; } #endregion 文件服务器 #region 文件上传设置 /// /// 文件上传目录 /// [XmlElement("Filepath")] public string Filepath { get; set; } /// /// 文件保存方式 /// [XmlElement("Filesave")] public string Filesave { get; set; } /// /// 编辑器图片 /// [XmlElement("Fileremote")] public string Fileremote { get; set; } /// /// 文件上传类型 /// [XmlElement("Fileextension")] public string Fileextension { get; set; } /// /// 视频上传类型 /// [XmlElement("Videoextension")] public string Videoextension { get; set; } /// /// 附件上传大小 /// [XmlElement("Attachsize")] public string Attachsize { get; set; } /// /// 视频上传大小 /// [XmlElement("Videosize")] public string Videosize { get; set; } /// /// 图片上传大小 /// [XmlElement("Imgsize")] public string Imgsize { get; set; } /// /// 图片最大尺寸 高度 /// [XmlElement("Imgmaxheight")] public string Imgmaxheight { get; set; } /// /// 图片最大尺寸 宽度 /// [XmlElement("Imgmaxwidth")] public string Imgmaxwidth { get; set; } /// /// 缩略图生成尺寸 高度 /// [XmlElement("Thumbnailheight")] public string Thumbnailheight { get; set; } /// /// 缩略图生成尺寸 宽度 /// [XmlElement("Thumbnailwidth")] public string Thumbnailwidth { get; set; } /// /// 缩略图生成方式 /// [XmlElement("Thumbnailmode")] public string Thumbnailmode { get; set; } /// /// 图片水印类型 /// [XmlElement("Watermarktype")] public string Watermarktype { get; set; } /// /// 图片水印位置 /// [XmlElement("Watermarkposition")] public string Watermarkposition { get; set; } /// /// 图片生成质量 /// [XmlElement("Watermarkimgquality")] public string Watermarkimgquality { get; set; } /// /// 图片水印文件 /// [XmlElement("Watermarkpic")] public string Watermarkpic { get; set; } /// /// 水印透明度 /// [XmlElement("Watermarktransparency")] public string Watermarktransparency { get; set; } /// /// 水印文字 /// [XmlElement("Watermarktext")] public string Watermarktext { get; set; } /// /// 文字字体格式 /// [XmlElement("Watermarkfont")] public string Watermarkfont { get; set; } /// /// 文字字体大小 /// [XmlElement("Watermarkfontsize")] public string Watermarkfontsize { get; set; } #endregion 文件上传设置 } }