first commit -push
This commit is contained in:
17
RobotNet.RobotShares/OpenACS/OpenACSTrafficSettingDto.cs
Normal file
17
RobotNet.RobotShares/OpenACS/OpenACSTrafficSettingDto.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace RobotNet.RobotShares.OpenACS;
|
||||
|
||||
public class OpenACSTrafficSettingDto
|
||||
{
|
||||
public string TrafficUrl { get; set; } = "";
|
||||
public string[] PublishUrlsUsed { get; set; } = [];
|
||||
public bool IsTrafficEnabled { get; set; }
|
||||
public OpenACSTrafficSettingDto() { }
|
||||
public OpenACSTrafficSettingDto(bool enable, string url, string[] urlsUsed)
|
||||
{
|
||||
IsTrafficEnabled = enable;
|
||||
TrafficUrl = url;
|
||||
PublishUrlsUsed = urlsUsed;
|
||||
}
|
||||
}
|
||||
|
||||
public record class OpenACSTrafficSettingModel(string Url);
|
||||
Reference in New Issue
Block a user