PIbd-23_Leonteva_V._A._LawFirm/LawFirm/LawFirmContracts/ViewModels/DocumentViewModel.cs
2024-06-19 23:52:53 +04:00

22 lines
648 B
C#

using LawFirmDataModels.Models;
using System.ComponentModel;
using LawFirmContracts.Attributes;
namespace LawFirmContracts.ViewModels
{
public class DocumentViewModel : IDocumentModel
{
[Column(visible: false)]
public int Id { get; set; }
[Column("Название документа", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string DocumentName { get; set; } = string.Empty;
[Column("Цена", width: 100)]
public double Price { get; set; }
[Column(visible: false)]
public Dictionary<int, (IBlankModel, int)> DocumentBlanks
{
get;
set;
} = new();
}
}