using CPRNIMS.Infrastructure.Dto.Canvass.Request; using CPRNIMS.Infrastructure.Entities.Common; using CPRNIMS.Infrastructure.ViewModel.Items; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.ViewModel.Canvass { public class CanvassVM : CanvassRequestSearch { public string? CreatedBy { get; set; } public string? UpdatedBy { get; set; } public DateTime CreatedDate { get; set; } public DateTime UpdatedDate { get; set; } public long ItemCodeId { get; set; } public long PRDetailsId { 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? AggreSupplierName { get; set; } public string? AggreEmailAddress { 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; } 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 bool IsVatable { 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 DateTime PRDate { get; set; } public long PRNo { get; set; } public long CanvassSupplierId { get; set; } public long CanvassDetailId { get; set; } public string? NewPRNo { get; set; } public string? Remarks { get; set; } public bool Approve { get; set; } public bool Reject { get; set; } public bool Upload { get; set; } public bool Encoded { get; set; } public bool Edit { get; set; } public bool Queue { get; set; } public string? errMessage { get; set; } public string? StatusResponse { get; set; } public string? Specification { get; set; } public byte messCode { 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 Discount { get; set; } public bool SuggestedSupplier { get; set; } public bool IsTagging { get; set; } = false; public decimal TotalAmount { get; set; } public SupplierList? SupplierList { get; set; } public CanvassList? CanvassList { get; set; } public ItemList? ItemList { get; set; } public ForSupplierSearchList? ForSupplierSearchList { get; set; } public string? ItemName { get; set; } public string? URL { get; set; } public string? Token { get; set; } public string? AggreItemName { get; set; } public string? AggreItemNo { get; set; } public string? AggrePRNo { get; set; } public string? LeadTime { get; set; } public bool VatInc { get; set; } public bool IsHistory { get; set; } public string? Currency { get; set; } public string? TinNo { get; set; } public string? FullName { get; set; } public string? ApprovedBy { get; set; } public string? AttestedBy { get; set; } public string? PaymentTerms { get; set; } public byte PaymentTermsId { get; set; } public byte Query { get; set; } public string? AggreCanvassNo { get; set; } public decimal PreviousPrice { get; set; } public string? PreviousPricePO { get; set; } public string? RRDate { get; set; } public long PODetailId { get; set; } public decimal Quantity { get; set; } public string? PONo { get; set; } public bool IsReset { get; set; } public bool IsApproved { get; set; } public string? Description { get; set; } public long AlternativeId { get; set; } public bool IsInternational { get; set; } } }