Files
piaps_kursach/SoftwareApplication/SoftwareContracts/ViewModels/ProjectViewModel.cs

31 lines
900 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SoftwareDateModels.Enums;
using SoftwareDateModels.Models;
namespace SoftwareContracts.ViewModels
{
public class ProjectViewModel : IProjectModel
{
public int Id { get; set; }
[DisplayName("Название проекта")]
public string Name { get; set; }=string.Empty;
[DisplayName("Описание проекта")]
public string Description { get; set; } = string.Empty;
[DisplayName("Дата создания")]
public DateTime CreatedDate { get; set; }=DateTime.Now;
[DisplayName("Статус")]
public ProjectStatus Status { get; set; }
public int? UserId { get; set; }
public Dictionary<int, IIssueModel> Issues { get; set; } = new();
public Dictionary<int, ITestModel> Tests { get; set; } = new();
}
}