PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BindingModel/MessageBindingModel.cs

23 lines
473 B
C#

using ForumDataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ForumContracts.BindingModels
{
public class MessageBindingModel : IMessageModel
{
public string Text { get; set; } = string.Empty;
public DateTime Date { get; set; }
public int Id { get; set; }
public int TopicId { get; set; }
public int UserId { get; set; }
}
}