using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MMDAL.DTO.KrsnaaApi { public class KrsnaaApiDTO { } public class KrsnaaSaleRequestDTO { public string authKey { get; set; } public string FromDate { get; set; } public string ToDate { get; set; } } public class KrsnaaSaleResponseDTO { public string result { get; set; } public List load_Sales_Transactions { get; set; } } public class Krsnaa_Sale_FC_ResponseDTO { public string result { get; set; } public List load_FC_Datas { get; set; } } public class Krsnaa_load_Sales_Transactions { public string ouCode { get; set; } public string number { get; set; } public string wo_Date { get; set; } public string billType { get; set; } public string slNo { get; set; } public string customerName { get; set; } public string project { get; set; } public string centreName { get; set; } public string subCentreName { get; set; } public string subCategory { get; set; } public string patientCount { get; set; } public string testCount { get; set; } public string itemCode { get; set; } public string itemName { get; set; } public string paymentMode { get; set; } public decimal gross_Amount { get; set; } public decimal discount { get; set; } public decimal refund { get; set; } public decimal cancelled { get; set; } public decimal received_Amount { get; set; } public decimal net_Amount { get; set; } public decimal balance { get; set; } } public class KrsnaaPurchaseInvoiceRequestDTO { public string authKey { get; set; } public string FromDate { get; set; } public string ToDate { get; set; } } public class KrsnaaPurchaseInvoiceResponseDTO { public string result { get; set; } public List load_Purchase_Transactions { get; set; } } public class Krsnaa_load_Purchase_Invoice_Transactions { public string slNo { get; set; } public string customerName { get; set; } public string ouCode { get; set; } public string date { get; set; } public string number { get; set; } public string refNo { get; set; } public string refDate { get; set; } public string partyRefnumber { get; set; } public string partyRefDate { get; set; } public string materialId { get; set; } public string materialName { get; set; } public string department { get; set; } public string qty { get; set; } public decimal productRate { get; set; } public decimal totalAmount { get; set; } public string center { get; set; } public string subCenter { get; set; } public string subCategory { get; set; } public decimal gst { get; set; } public decimal igst { get; set; } public decimal cgst { get; set; } public decimal sgst { get; set; } public string maker { get; set; } public string checker { get; set; } } public class KrsnaaPurchaseOrderResponseDTO { public string result { get; set; } public List load_PO_Data { get; set; } } public class KrsnaaGRNResponseDTO { public string result { get; set; } public List load_GRN_Data { get; set; } } public class KrsnaaWorkOrderResponseDTO { public string result { get; set; } public List load_WO_Data { get; set; } } public class KrsnaaConsumptionDetailResponseDTO { public string result { get; set; } public List load_Consumption_Data { get; set; } } public class Krsnaa_load_Consumption_Details_Transaction { public string date { get; set; } public string labName { get; set; } public string materialName { get; set; } public string materialCode { get; set; } public string units { get; set; } public string amount { get; set; } public string department { get; set; } public string consuption_Number { get; set; } } public class KrsnaaStockTransferResponseDTO { public string result { get; set; } public List load_Stock_Transfer_Data { get; set; } } public class Krsnaa_load_Stock_Transfer_Transaction { public string date { get; set; } public string sender_Lab { get; set; } public string receiver_Lab { get; set; } public string materialCode { get; set; } public string materialName { get; set; } public string units { get; set; } public string amount { get; set; } public string department { get; set; } public string transfer_Note_Number { get; set; } } }