биндинг модел для message
This commit is contained in:
parent
ac7982f9be
commit
ccf2198d1b
18
SushiBarContracts/BindingModel/MessageInfoBindingModel.cs
Normal file
18
SushiBarContracts/BindingModel/MessageInfoBindingModel.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using SushiBarDataModels;
|
||||||
|
namespace SushiBarContracts.BindingModel
|
||||||
|
{
|
||||||
|
public class MessageInfoBindingModel : IMessageInfoModel
|
||||||
|
{
|
||||||
|
public string MessageId { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public int? ClientId { get; set; }
|
||||||
|
|
||||||
|
public string SenderName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public DateTime DateDelivery { get; set; } = DateTime.Now;
|
||||||
|
|
||||||
|
public string Subject { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public string Body { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user