using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace ChangkeTec.SDMS.Model { public class GlobalSetting { [Description("单点登录")] public bool SingleSiteLogin { get; set; } = true; [Description("先占优先")] public bool KeepLogin { get; set; } = true; [StringLength(50)] public string DataCenterSystemName { get; set; } = "SDMS"; public bool IsSoftDelete { get; set; } = false; [Description("默认密码")] [StringLength(50)] public string DefaultPassword { get; set; } = "1234qwer"; [Description("会话编号")] [StringLength(50)] public string SessionId { get; set; } [Description("交换中心地址")] [StringLength(50)] public string ExchangeCenterPassword { get; set; } [Description("交换中心地址")] [StringLength(50)] public string ExchangeCenterUrl { get; set; } = "http://localhost:4290/ExchangeCenterService.asmx"; } }