using CPRNIMS.Infrastructure.Dto.Canvass.Request; using CPRNIMS.Infrastructure.Entities.Common; using CPRNIMS.Infrastructure.ViewModel.Items; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.Dto.Canvass { public class CanvassDto : CanvassRequestSearch { public byte PaymentTermsId { get; set; } = 0; public bool IsArchived { get; set; } = false; public long ItemCodeId { get; set; } public long PRDetailsId { get; set; } public byte POTypeId { get; set; } public bool SuggestedSupplier { get; set; } public long PODetailId { get; set; } public byte RequestTypeId { get; set; } public decimal QuantityReceived { get; set; } public short ReceivingStatus { get; set; } public int DepartmentId { get; set; } public string? Department { get; set; } public string? UserId { get; set; } public string? ItemName { get; set; } public int SupplierId { get; set; }=0; public string? SupplierName { get; set; } public string? EmailAddress { get; set; } public string? ItemDescription { get; set; } public decimal Price { get; set; } public DateTime CommitmentDate { get; set; } public string? Manufacturer { get; set; } public string? Remarks { get; set; } public string? Terms { get; set; } public int UOMId { get; set; } public int ItemColorId { get; set; } public short Status { get; set; } = 0; public string? StatusName { get; set; } public bool IsActive { get; set; } public bool IsCommon { get; set; } public bool IsCompleted { get; set; } = false; public long ItemNo { get; set; } public string? Token { get; set; } public decimal Qty { get; set; } public string? UOMName { get; set; } public long ItemAttachId { get; set; } public string? ItemAttachPath { get; set; } public DateTime DateNeeded { get; set; } public long PRNo { get; set; } = 0; public string? Address { get; set; } public string? ContactNo { get; set; } public string? ContactPerson { get; set; } public bool IsTagging { get; set; } = false; public long CanvassDetailId { get; set; } public long CanvassId { get; set; } public decimal QtyRequest { get; set; } public bool IsInternational { get; set; } public long RRDetailId { get; set; } public long PRDetailId { get; set; } public decimal Quantity { get; set; } public decimal UnitPrice { get; set; } public decimal GrossAmount { get; set; } public string? CanvassCreatedDate { get; set; } public string? CanvassSubmitedDate { get; set; } public string? SuppBidDate { get; set; } public string? CanvassApprovedDate { get; set; } public string? PONumber { get; set; } public string? ErrMessage { get; set; } public bool IsHistory { get; set; } public byte ErrCode { get; set; } public int CanvassNo { get; set; } public bool IsDenied { get; set; } = false; public string? FullName { get; set; } public string? Specification { get; set; } public byte CurrencyId { get; set; } = 1; public bool VatInc { get; set; }=false; public string? TinNo { get; set; } public string? LeadTime { get; set; } public byte Query { get; set; } = 0; public bool IsReset { get; set; } public string? AggreItemNo { get; set; } public long CanvassSupplierId { get; set; } } }