using System; using System.Collections.Generic; using Task1.ViewModel; // Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled. // If you have enabled NRTs for your project, then un-comment the following line: // #nullable disable namespace Task1 { public partial class Task : BaseViewModel { private StatusTask _statusTask1; public int TaskId { get; set; } public string Name { get; set; } public string Description { get; set; } public DateTime Date { get; set; } public int UserAcceptedTaskId { get; set; } public int UserCreatedTaskId { get; set; } public int StatusTaskId { get; set; } public virtual StatusTask StatusTask1 { get => _statusTask1; set { _statusTask1 = value; OnPropertyChanged(); } } public virtual User UserAcceptedTask { get; set; } public virtual User UserCreatedTask { get; set; } } }