pooya metod for camera added

This commit is contained in:
SamSys
2024-09-15 19:25:23 +03:30
parent d932cda3f2
commit 12e96867d0
10 changed files with 302 additions and 39 deletions

View File

@@ -13,5 +13,7 @@ public interface IRollCallEmployeeApplication
EditRollCallEmployee GetDetails(long id);
RollCallEmployeeViewModel GetByEmployeeIdAndWorkshopId(long employeeId, long workshopId);
List<RollCallEmployeeViewModel> GetPersonnelRollCallList(long workshopId);
List<RollCallEmployeeViewModel> GetActivePersonnelByWorkshopId(long workshopId);
bool IsEmployeeRollCallActive(long employeeId, long workshopId);
int activedPerson(long workshopId);
}

View File

@@ -2,6 +2,7 @@
using CompanyManagment.App.Contracts.Workshop;
using System.Collections.Generic;
using System;
using CompanyManagment.App.Contracts.RollCallEmployeeStatus;
namespace CompanyManagment.App.Contracts.RollCallEmployee;
@@ -29,4 +30,5 @@ public class RollCallEmployeeViewModel : EditRollCallEmployee
public string YearsOptions { get; set; }
public string EmployeeSlug { get; set; }
public List<RollCallEmployeeViewModel> PersonnelInfoViewModels { get; set; }
public IEnumerable<RollCallEmployeeStatusViewModel> Statuses { get; set; }
}

View File

@@ -1,9 +1,13 @@
namespace CompanyManagment.App.Contracts.RollCallEmployeeStatus
using System;
namespace CompanyManagment.App.Contracts.RollCallEmployeeStatus
{
public class RollCallEmployeeStatusViewModel
{
public long Id { get; set; }
public string StartDate { get; set; }
public string EndDate { get; set; }
}
public DateTime StartDateGr { get; set; }
public DateTime EndDateGr { get; set; }
}
}