namespace RobotNet.RobotShares.OpenACS; public class OpenACSPublishSettingDto { public string PublishUrl { get; set; } = ""; public string[] PublishUrlsUsed { get; set; } = []; public bool IsPublishEnabled { get; set; } public int PublishInterval { get; set; } public OpenACSPublishSettingDto() { } public OpenACSPublishSettingDto(bool enable, string url, string[] urlsUsed, int interval) { IsPublishEnabled = enable; PublishUrl = url; PublishUrlsUsed = urlsUsed; PublishInterval = interval; } } public record class OpenACSPublishSettingModel(string Url, int Interval);