task and ticket changes - checkout rollcall

This commit is contained in:
SamSys
2024-08-31 21:01:56 +03:30
parent 9eec22e9e4
commit 32815b0ef6
269 changed files with 99229 additions and 5727 deletions

View File

@@ -9,7 +9,9 @@ public interface IPositionApplication
OperationResult Create(CreatePosition command);
OperationResult SaveAccountPosition(List<long> accountIds, long positionId);
List<AccountViewModel> GetNoPositionAccounts();
List<int> GetUnUsedPositionValues();
List<AccountViewModel> GetAllPositionAccounts();
List<int> GetUnUsedPositionValues();
OperationResult Remove(long id);
OperationResult Edit(EditPosition command);
List<PositionViewModel> GetPositions();

View File

@@ -23,6 +23,7 @@ public class CreateTask
public bool HasSchedule { get; set; }
public string ScheduleUnitType { get; set; }
public string ScheduleUnitNumber { get; set; }
public long TaskScheduleId { get; set; }
#endregion

View File

@@ -27,7 +27,7 @@ public interface ITicketApplication
OperationResult DeletePendingAdminResponse(int adminResId);
OperationResult EditPendingAdminResponse(long adminResId, string newMessage);
OperationResult CloseTicket(long ticketId);
TypesCountOfTicketViewModel GetTypesCountOfTicketForAdmin();
TypesCountOfTicketViewModel GetTypesCountOfTicketForClient(long workshopId);
}

View File

@@ -0,0 +1,10 @@
namespace AccountManagement.Application.Contracts.Ticket;
public class TypesCountOfTicketViewModel
{
public int Open { get; set; }
public int Closed { get; set; }
public int Answered { get; set; }
public int Pending { get; set; }
public int All { get; set; }
}