SharpRSS/SharpRss/Models/GroupModel.cs

20 lines
464 B
C#
Raw Normal View History

2023-05-20 00:04:45 +02:00
using System;
2023-05-20 00:35:43 +02:00
using ToolQit;
2023-05-20 00:04:45 +02:00
namespace SharpRss.Models
{
public class GroupModel
{
2023-05-20 00:35:43 +02:00
public GroupModel(string name)
2023-05-20 00:04:45 +02:00
{
2023-05-20 00:35:43 +02:00
Name = name;
HexColor = Utilities.GenerateRandomHexColor();
2023-05-20 00:04:45 +02:00
Id = Guid.NewGuid().ToString();
}
public string Name { get; set; }
public string HexColor { get; set; }
public string Icon { get; set; }
public string Id { get; private set; }
}
}