pooya metod for camera added
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user