using Newsbot.Collector.Domain.Models; namespace Newsbot.Collector.Domain.Dto; public class DiscordWebHookDto { public Guid ID { get; set; } public string? Url { get; set; } public string? Server { get; set; } public string? Channel { get; set; } public bool Enabled { get; set; } public static DiscordWebHookDto Convert(DiscordWebHookModel model) { return new DiscordWebHookDto { ID = model.ID, Url = model.Url, Server = model.Server, Channel = model.Channel, Enabled = model.Enabled, }; } }