using System; using WingServerCommon.Log; using WingServerCommon.Interfaces.OpLog; namespace WingServerCommon.Interfaces.Cache { public interface IReportPostersManager : IBaseCacheManager { } public class ReportPostersManager : CacheManager, IReportPostersManager { public ReportPostersManager() : base() { } } public class CacheReportPostersDTO : ICacheObject { /// /// 报告转发配置编码 /// public string Code { get; set; } = string.Empty; /// /// Receiver customer name /// /// public string ReceiverName { get; set; } /// /// The contact name /// /// public string Contact { get; set; } /// /// The contact's phone /// /// public string Phone { get; set; } /// /// Target url /// /// public string TargetUrl { get; set; } /// /// Template /// /// public string Template { get; set; } /// /// The report format /// /// public int PosterType { get; set; } /// /// The report format /// /// public int ReportFormat { get; set; } /// /// The post action timeout, unit is second /// /// public int PostTimeout { get; set; } /// /// Device ids /// /// public List DeviceIds { get; set; } = new List(); } }