PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BindingModel/NewsBindingModel.cs
2023-05-18 21:34:36 +04:00

23 lines
514 B
C#

using BlogDataModels.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlogContracts.BindingModel
{
public class NewsBindingModel : INews
{
public string Title { get; set; } = string.Empty;
public int UserId { get; set; }
public int Id { get; set; }
public string Text { get; set; } = string.Empty;
public Dictionary<int, (ITag, int)> NewsTag { get; set; } = new();
}
}