namespace DeviceRepair.Utils.Config
{
///
/// web.config中的配置项
///
public class ConfigProperties
{
[DESEncrypted(true)]
[Config("DbConnection")]
public string Conn { get; set; }
[DESEncrypted(true)]
[Config("LogConnection")]
public string logConn { get; set; }
[DESEncrypted(true)]
[Config("SfcConnection")]
public string SfcConn { get; set; }
///
/// 加密Key
///
[Config("SecureKey")]
public string SecureKey { get; set; }
///
/// 数据通讯类型
/// api
/// sql
///
[Config("ConnType")]
public string ConnType { get; set; }
///
/// 附件存放目录
///
[Config("AttachmentDirectory")]
public string AttachmentDirectory { get; set; }
///
/// WebAPI 服务器IP地址
///
[Config("ServiceIP")]
public string ServiceIP { get; set; }
///
/// WebAPI 服务名称
///
[Config("ServiceName")]
public string ServiceName { get; set; }
///
/// SFC 接口URL
///
[Config("SFCWebServiceUrl")]
public string SFCWebServiceUrl { get; set; }
}
}