using CPRNIMS.Infrastructure.Entities.Common; using CPRNIMS.Infrastructure.ViewModel.PO; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.Dto.PO { public class PODto : CommonProperties { public long ItemCodeId { get; set; } public long PRDetailsId { get; set; } public long CanvassSupplierId { get; set; } public string? StringPRNo { get; set; } public string? PONo { get; set; } public long PODetailId { get; set; } public long CanvassId { get; set; } public long ItemCartId { get; set; } public int DepartmentId { get; set; } public string? SupplierName { get; set; } public string? Manufacturer { get; set; } public int ItemCount { get; set; } public byte CurrencyId { get; set; } public string? Department { get; set; } public string? ItemCategoryName { get; set; } public DateTime CommitmentDate { get; set; } public string? Terms { get; set; } public string? UserId { get; set; } public string? ItemName { get; set; } public int CartItemCount { get; set; } public int SupplierId { get; set; } public string? EmailAddress { get; set; } public string? ItemSpecs { get; set; } public string? ItemDescription { get; set; } public int UOMId { get; set; } public int ItemColorId { get; set; } public short Status { get; set; } public string? StatusName { get; set; } public bool IsActive { get; set; }=false; public bool Approver { get; set; } public bool SuggestedSupplier { get; set; } public long ItemNo { get; set; } public short ItemLocalId { get; set; } public string? ItemLocalName { get; set; } public short ItemTypeId { get; set; } public byte PRTypeId { get; set; } public decimal Qty { get; set; } public byte PackagingTypeId { get; set; } public string? ItemTypeName { get; set; } public short ItemClassId { get; set; } public string? ItemClassName { get; set; } public string? UOMName { get; set; } public string? ItemColorName { get; set; } public long ItemAttachId { get; set; } public string? ItemAttachPath { get; set; } public DateTime DateNeeded { get; set; } public long PRNo { get; set; } public long CanvassDetailId { get; set; } public string? NewPRNo { get; set; } public string? Remarks { get; set; } public bool IsApproved { get; set; } public bool IsPrepared { get; set; } public string? Message { get; set; } public string? StatusResponse { get; set; } public string? ContactNo { get; set; } public string? ContactPerson { get; set; } public string? Address { get; set; } public decimal Price { get; set; } public decimal UnitPrice { get; set; } public decimal TotalAmount { get; set; } public string? AggrePRNo { get; set; } public string? AggreItemNo { get; set; } public string? AggreItemName { get; set; } public string? SupplierAddress { get; set; } public string? RequestedBy { get; set; } public string? PurchaseBy { get; set; } public string? Purposes { get; set; } public byte POTypeId { get; set; } public DateTime DeliveryDate { get; set; } public DateTime CurrentDate { get; set; } public string? URL { get; set; } public string? PORemarks { get; set; } public string? ProfInvoiceNo { get; set; } public byte PODId { get; set; } = 0; public byte? PaymentTermsId { get; set; } public string? PaymentTerms { get; set; } public byte? ShippingInstructionId { get; set; } public byte IncoTermsId { get; set; } public DateTime ProfInvoiceDate { get; set; }= DateTime.UtcNow; public string? PortOfDischarge { get; set; } public string? ShippingInstruction { get; set; } public string? IncoTerms { get; set; } public bool IsArchived { get; set; } public string? DocName { get; set; } public decimal Discount { get; set; } public byte DocRequirementId { get; set; } public DocRequirementList? DocRequiredList { get; set; } public POChargesList? POChargesList { get; set; } public PRItemList? PRItemList { get; set; } public byte messCode { get; set; } public bool IsHistory { get; set; }= false; public int OtherChargesId { get; set; } public long POId { get; set; } public decimal Amount { get; set; } public decimal Quantity { get; set; } public string? DeliverTo { get; set; } public bool IsManual { get; set; } public bool IsUpdate { get; set; } public string? Specification { get; set; } public DateTime To { get; set; } public DateTime From { get; set; } public string? OtherChargesName { get; set; } public string? IncotermsName { get; set; } public string? CountryOrigin { get; set; } } }