mirror of
https://github.com/Stone-Red-Code/Decho.git
synced 2026-09-04 08:56:14 +02:00
20 lines
400 B
C#
20 lines
400 B
C#
using System.Collections.ObjectModel;
|
|
|
|
namespace Decho.Models;
|
|
|
|
public sealed class ServerModel
|
|
{
|
|
public ServerModel(string id, string name, ObservableCollection<ChannelModel> channels)
|
|
{
|
|
Id = id;
|
|
Name = name;
|
|
Channels = channels;
|
|
}
|
|
|
|
public string Id { get; }
|
|
|
|
public string Name { get; }
|
|
|
|
public ObservableCollection<ChannelModel> Channels { get; }
|
|
}
|