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-21 21:56:37 +02:00
|
|
|
|
public GroupModel()
|
2023-05-20 00:04:45 +02:00
|
|
|
|
{
|
2023-05-20 00:35:43 +02:00
|
|
|
|
HexColor = Utilities.GenerateRandomHexColor();
|
2023-05-20 00:04:45 +02:00
|
|
|
|
Id = Guid.NewGuid().ToString();
|
|
|
|
|
}
|
2023-05-21 21:56:37 +02:00
|
|
|
|
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2023-05-20 00:04:45 +02:00
|
|
|
|
public string HexColor { get; set; }
|
2023-05-23 15:04:02 +02:00
|
|
|
|
public int FeedCount { get; set; }
|
2023-05-21 21:56:37 +02:00
|
|
|
|
public string Icon { get; set; } = string.Empty;
|
|
|
|
|
public string Id { get; set; }
|
2023-05-20 00:04:45 +02:00
|
|
|
|
}
|
|
|
|
|
}
|