Api/Brizco.Domain/Dtos/SmallDtos/ShiftPlanSDto.cs

24 lines
928 B
C#

using Brizco.Domain.Entities.Shifts;
namespace Brizco.Domain.Dtos.SmallDtos;
public class ShiftPlanSDto : BaseDto<ShiftPlanSDto,ShiftPlan>
{
public DateTime PlanFor { get; set; }
public bool IsCompleted { get; set; }
public int UndoneActivitiesCount { get; set; }
public int DoneActivitiesCount { get; set; }
public int TotalActivitiesCount { get; set; }
public int StaffCount { get; set; }
public int CompletePercent { get; set; }
public string SupervisorFullName { get; set; } = string.Empty;
public string CompleteDescription { get; set; } = string.Empty;
public Guid ComplexId { get; set; }
public Guid ShiftId { get; set; }
public string ShiftTitle { get; set; } = string.Empty;
public TimeSpan StartAt { get; set; }
public TimeSpan EndAt { get; set; }
public Guid SupervisorId { get; set; }
public List<ShiftPlanUserSDto> Users { get; set; } = new();
}