34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
using CarRepairShopDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using CarRepairShopContracts.Attributes;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarRepairShopContracts.ViewModels
|
|
{
|
|
public class MessageInfoViewModel : IMessageInfoModel
|
|
{
|
|
[Column(visible:false)]
|
|
public string MessageId { get; set; } = string.Empty;
|
|
[Column(visible:false)]
|
|
public int? ClientId { get; set; }
|
|
|
|
[Column(title: "Почта отправителя", width: 150)]
|
|
public string SenderName { get; set; } = string.Empty;
|
|
|
|
[Column(title: "Дата получения", width: 150)]
|
|
public DateTime DateDelivery { get; set; }
|
|
|
|
[Column(title: "Заголовок", width: 150)]
|
|
public string Subject { get; set; } = string.Empty;
|
|
|
|
[Column(title: "Текст письма", gridViewAutoSize:GridViewAutoSize.Fill, isUseAutoSize:true)]
|
|
public string Body { get; set; } = string.Empty;
|
|
|
|
[Column(visible: false)]
|
|
public int Id => throw new NotImplementedException();
|
|
}
|
|
}
|