You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
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";
|
|
}
|
|
}
|