first commit -push
This commit is contained in:
19
RobotNet.RobotShares/OpenACS/OpenACSPublishSettingDto.cs
Normal file
19
RobotNet.RobotShares/OpenACS/OpenACSPublishSettingDto.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user