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.
 
 

53 lines
1.3 KiB

using System;
using System.ComponentModel.DataAnnotations;
namespace Znyc.Cloudcar.Admin.Commons.Options
{
/// <summary>
/// 缓存中可用的应用
/// </summary>
[Serializable]
public class AllowCacheApp
{
/// <summary>
/// 设置或获取 ID
/// </summary>
[MaxLength(50)]
public int Id { get; set; }
/// <summary>
/// 设置或获取 应用Id
/// </summary>
[MaxLength(50)]
public string AppId { get; set; }
/// <summary>
/// 设置或获取 应用密钥
/// </summary>
[MaxLength(50)]
public string AppSecret { get; set; }
/// <summary>
/// 设置或获取 消息加密密钥
/// </summary>
[MaxLength(256)]
public string EncodingAESKey { get; set; }
/// <summary>
/// 设置或获取 请求url
/// </summary>
[MaxLength(256)]
public string RequestUrl { get; set; }
/// <summary>
/// 设置或获取 token
/// </summary>
[MaxLength(256)]
public string Token { get; set; }
/// <summary>
/// 设置或获取 是否开启消息加解密
/// </summary>
public bool? IsOpenAEKey { get; set; }
}
}