22 lines
648 B
C#
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();
|
|
}
|
|
} |