Files
Backend-Api/AccountManagement.Application.Contracts/Task/TaskViewModel.cs
2025-05-19 20:32:15 +03:30

57 lines
2.3 KiB
C#

using System;
using System.Collections.Generic;
using AccountManagement.Application.Contracts.Account;
using AccountManagement.Application.Contracts.Assign;
namespace AccountManagement.Application.Contracts.Task;
public class TaskViewModel
{
public long Id { get; set; }
public string Name { get; set; }
public List<AssignViewModel> AssignViewModels { get; set; }
public List<AssignList> AssignList { get; set; }
public List<long> Assigned { get; set; }
public List<AccountViewModel> AssignedViewModel { get; set; }
public string CreateDate { get; set; }
public string EndTaskDateFA { get; set; }
public string EndTaskTime { get; set; }
public string RequestTaskDate { get; set; }
public bool IsDone { get; set; }
public bool IsDoneRequest { get; set; }
public string IsDoneDescription { get; set; }
public bool RequestCancel { get; set; }
public bool RequestTime { get; set; }
public bool IsCancel { get; set; }
public bool IsCancelRequest { get; set; }
public string CancelDescription { get; set; }
public int AcceptedTimeRequest { get; set; }
public string TimeRequestDescription { get; set; }
public DateTime EndTaskDateGE { get; set; }
public DateTime CreateTaskDateGE { get; set; }
public string ContractingPartyName { get; set; }
public string? Description { get; set; }
public AccountViewModel Sender { get; set; }
public string Assigner { get; set; }
public string SelfName { get; set; }
public long SenderId { get; set; }
public string Color { get; set; }
public string Type { get; set; }
public bool HasAttachment { get; set; }
public int MediaCount { get; set; }
public bool SelfAssigner { get; set; }
public bool SelfAssigned { get; set; }
public long AssignerId { get; set; }
public long AssignedId { get; set; }
public bool CanEdit { get; set; }
public bool CanDelete { get; set; }
public bool CanAssign { get; set; }
public bool CanCheckRequests { get; set; }
public bool HasRequest { get; set; }
public AssignViewModel AssignedReceiverViewModel { get; set; }
public TaskScheduleType ScheduleType { get; set; }
public TaskScheduleUnitType ScheduleUnitType { get; set; }
public long TaskScheduleId { get; set; }
}