mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-11-09 23:44:20 +01:00
25 lines
568 B
C#
25 lines
568 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SharpRss.Models
|
|
{
|
|
/// <summary>
|
|
/// To store and load data from file/database
|
|
/// </summary>
|
|
public class CategoryModel
|
|
{
|
|
public CategoryModel(CategoryModel model)
|
|
{
|
|
Name = model.Name;
|
|
Feeds = model.Feeds;
|
|
}
|
|
public CategoryModel(string name, HashSet<FeedModel> feeds)
|
|
{
|
|
Name = name;
|
|
Feeds = feeds;
|
|
}
|
|
|
|
public string Name { get; set; }
|
|
public HashSet<FeedModel> Feeds { get; set; }
|
|
}
|
|
}
|