Case_accounting/CaseAccounting/CaseAccountingContracts/ViewModels/DealViewModel.cs

24 lines
733 B
C#
Raw Normal View History

2023-03-26 20:08:05 +04:00
using CaseAccountingDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CaseAccountingContracts.ViewModels
{
public class DealViewModel : IDealModel
{
[DisplayName("Предмет договора")]
public string Subject { get; set; } = string.Empty;
[DisplayName("Обязанности")]
public string Responsibilities { get; set; } = string.Empty;
[DisplayName("Дата составления")]
public DateTime Date { get; set; }
2023-04-01 19:39:50 +04:00
public int UserId { get; set; }
public int Id { get; set; }
public Dictionary<int, ICaseModel> Cases { get; set; } = new();
}
2023-03-26 20:08:05 +04:00
}