using System; using System.Collections.Generic; namespace CompanyManagment.App.Contracts.RollCall; public class RollCallViewModel { public long Id { get; set; } public long WorkshopId { get; set; } public string Reason { get; set; } public long EmployeeId { get; set; } public string PersonnelCode { get; set; } public string EmployeeFullName { get; set; } public string DateFa { get; set; } public DateTime DateGr { get; set; } public string StartDayOfWeekFa { get; set; } public string EndDayOfWeekFa { get; set; } public DateTime? StartDate { get; set; } public DateTime? EndDate { get; set; } public DateTime ShiftDate { get; set; } public TimeSpan ShiftSpan { get; set; } public DateTime CreationDate { get; set; } public string StartDateFa { get; set; } public string EndDateFa { get; set; } public IEnumerable RollCallTimesList { get; set; } public TimeSpan TotalWorkingHoursSpan { get; set; } public string TotalWorkingHours { get; set; } public int Year { get; set; } public int Month { get; set; } public bool IsAbsent { get; set; } public bool HasLeave { get; set; } public string DayOfWeekFa { get; set; } public bool IsHoliday { get; set; } public string EndTimeString { get; set; } public string StartTimeString { get; set; } /// /// تاخیر در ورود (مدت زمانی که کارمند با تأخیر وارد شده است) /// public TimeSpan LateEntryDuration { get; set; } /// /// تعجیل در ورود (مدت زمانی که کارمند زودتر از زمان مشخص وارد شده است) /// public TimeSpan EarlyEntryDuration { get; set; } /// /// تاخیر در خروج (مدت زمانی که کارمند با تأخیر از کار خارج شده است) /// public TimeSpan LateExitDuration { get; set; } /// /// تعجیل در خروج (مدت زمانی که کارمند زودتر از زمان مشخص از کار خارج شده است) /// public TimeSpan EarlyExitDuration { get; set; } /// /// مقدار تایم شیفت (مدت زمان شیفت کاری) /// public TimeSpan ShiftDurationTimeSpan { get; set; } /// /// مدت زمان استراحت /// public TimeSpan BreakTimeSpan { get; set; } }