This commit is contained in:
mmrbnjd
2024-06-18 13:59:32 +03:30
parent 28424214ed
commit 692aa30afe
10 changed files with 241 additions and 120 deletions

View File

@@ -2,7 +2,7 @@
namespace Shared.DTOs
{
public class AlertDTO
public class AlertDTO
{
public int Status { get; set; }
public string Message { get; set; }
@@ -13,9 +13,10 @@ namespace Shared.DTOs
{
public string Datenow { get { return DateTime.Now.ConvertMiladiToShamsiinFront(); } }
public string? LastLoginDate { get; set; }
public List<ServiceInDashBoardDTO> AlistofServices { get; set; }=new List<ServiceInDashBoardDTO>();
public List<ServiceInDashBoardDTO> AlistofServices { get; set; } = new List<ServiceInDashBoardDTO>();
public List<AlertDTO> Warning { get; set; } = new List<AlertDTO>();
public List<AlertDTO> Notifications { get; set; } = new List<AlertDTO>();
public List<LastActivitySevice> lastActivitiesSevices { get; set; }=new List<LastActivitySevice>();
}
public class ServiceInDashBoardDTO
{
@@ -26,4 +27,13 @@ namespace Shared.DTOs
public string Total { get; set; }
public int Remaining { get; set; }
}
public class LastActivitySevice
{
public int ID { get; set; }
public string Name { get; set; }
public string Date { get; set; }
public int PermissionID { get; set; }
public string? TypeTitle { get; set; }
}
}