This commit is contained in:
mmrbnjd
2024-06-10 17:26:31 +03:30
parent 82bcfc1ffe
commit 2db5daa9b8
14 changed files with 953 additions and 469 deletions

View File

@@ -11,6 +11,7 @@ namespace Shared.DTOs
}
public class DashBoardDTO
{
public string Datenow { get { return DateTime.Now.ConvertMiladiToShamsiinFront(); } }
public string? LastLoginDate { get; set; }
public List<ServiceInDashBoardDTO> AlistofServices { get; set; }=new List<ServiceInDashBoardDTO>();
public List<AlertDTO> Warning { get; set; } = new List<AlertDTO>();

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class InquiryResultModelDto
{
public string ReferenceNumber { get; set; }
public string Uid { get; set; }
public string Status { get; set; }
public string Data { get; set; }
public string PacketType { get; set; }
public string FiscalId { get; set; }
}
public class MessageInSendTaxDto
{
public string code { get; set; }
public string message { get; set; }
// public string errorType { get; set; }
}
public class DataInSendTaxDto
{
// public int? confirmationReferenceId { get; set; }
public List<MessageInSendTaxDto> error { get; set; }
// public List<MessageInSendTaxDto> warning { get; set; }
public SentStatus SentStatus { get; set; }
public string msgSentStatus { get { return SentStatus.GetEnumDisplayName(); } } }
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class GetResultSentTaxDto
{
public SentStatus status { get; set; }
}
}

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
@@ -9,12 +10,18 @@ namespace Shared.DTOs
{
public class SentTaxDto
{
[Display(Name ="شناسه")]
public int ID { get; set; }
[Display(Name = "شناسه صورتحساب")]
public int InvoiceID { get; set; }
[Display(Name = "تاریخ")]
public string Date { get; set; }
[Display(Name = "زمان")]
public string Time { get; set; }
public SentStatus SentStatus { get; set; }
[Display(Name = "وضعیت صورتحساب")]
public string msgInvoiceType { get; set; }
[Display(Name = "وضعیت ارسال")]
public string msgSentStatus { get; set; }
}
}