36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using DressAtelierContracts.Attributes;
|
|
using DressAtelierDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DressAtelierContracts.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: "Sender's name", width: 150)]
|
|
public string SenderName { get; set; } = string.Empty;
|
|
|
|
[Column(title: "Delivery date", width: 150)]
|
|
public DateTime DeliveryDate { get; set; }
|
|
|
|
[Column(title: "Message subject", width: 150)]
|
|
public string Subject { get; set; } = string.Empty;
|
|
|
|
[Column(title: "Message content", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
|
|
public string Body { get; set; } = string.Empty;
|
|
|
|
[Column(visible: false)]
|
|
public int ID { get; set; }
|
|
}
|
|
}
|