using System.Collections.Generic; using System.Threading.Tasks; using _0_Framework.Application; namespace CompanyManagment.App.Contracts.AdminMonthlyOverview; public interface IAdminMonthlyOverviewApplication { /// /// نمایش لیست ماهانه کارگاه ها - درصورت وجود نداشتن اطلاعات در این ماه، یک رکورد جدید ایجاد میکند /// /// Task> GetWorkshopListByStatus(AdminMonthlyOverviewSearchModel searchModel); /// /// شمارش تعداد هر تب /// /// /// /// /// Task GetCounter(int year, int month, long accountId); /// /// رفتن به مرحله بعدی /// /// /// Task Next(long id); /// /// برگشت به مرحله قبل /// /// /// Task Back(long id); } public class AdminMonthlyOverViewCounterVm { public int CreateDocument { get; set; } public int VisitPending { get; set; } public int VisitInProgress { get; set; } public int VisitCompleted { get; set; } public int Archived { get; set; } public int All { get; set; } } public class AdminMonthlyOverviewSearchModel { public int Year { get; set; } public int Month { get; set; } public long WorkshopId { get; set; } public long EmployerId { get; set; } public long AdminAccountId { get; set; } public IsActive ActivationStatus { get; set; } } public class AdminMonthlyOverviewListViewModel { public long Id { get; set; } public long WorkshopId { get; set; } public string WorkshopName { get; set; } public string WorkshopArchiveCode { get; set; } public string Province { get; set; } public string City { get; set; } public string Address { get; set; } public string AgentPhoneNumber { get; set; } public string AdminFullName { get; set; } public string EmployerName { get; set; } public string EmployerPhoneNumber { get; set; } public int EmployeeCount { get; set; } public AdminMonthlyOverviewStatus Status { get; set; } public bool IsBlock { get; set; } }