using CPRNIMS.Infrastructure.Entities.Common; using CPRNIMS.Infrastructure.ViewModel.Items; using CPRNIMS.Infrastructure.ViewModel.PR; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.Dto.Items { public class ItemDto : CommonProperties { public bool IsArchived { get; set; }=false; public long ItemCodeId { get; set; } public long PRDetailsId { get; set; } = 0; public string? PONo { 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 long ItemCartId { get; set; } public int DepartmentId { get; set; } public int ItemCount { get; set; } public string? Department { get; set; } public string? ItemCategoryName { get; set; } public string? UserId { get; set; } public string? ItemName { get; set; } public int CartItemCount { get; set; } public int SupplierId { get; set; } 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 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 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 ItemCartVM? ItemCartDto { get; set; } public DateTime DateNeeded { get; set; } public long PRNo { get; set; } = 0; public string? NewPRNo { get; set; } 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 byte IsApproved { get; set; } public int RequestItemId { get; set; } public decimal QtyReceived { get; set; } public int LotId { get; set; } public string? Role { get; set; } public short ItemCategoryId { get; set; } public int ChargeTo { get; set; } = 0; 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? ReceivedBy { get; set; } public string? AcknowledgeBy { get; set; } public string? AcknowledgeDate { get; set; } public string? DRNo { get; set; } public long RRId { get; set; } public byte DocTypeId { get; set; } public long RRNo { get; set; } public string? PRCreatedDate { get; set; } public string? PRApprover1 { get; set; } public string? PRApprover2 { get; set; } public string? CanvassCreatedDate { get; set; } public string? CanvassSubmitedDate { get; set; } public string? SuppBidDate { get; set; } public string? CanvassApprovedDate { get; set; } public string? POPreparationDate { get; set; } public string? PoCreatedDate { get; set; } public string? PoApprovedDate { get; set; } public string? POForwardedDate { get; set; } public string? ItemArrivedDate { get; set; } public string? ReceivedDate { get; set; } public string? PONumber { get; set; } public string? POTypeName { get; set; } public string? ErrMessage { get; set; } public byte ErrCode { get; set; } public int CanvassNo { get; set; } public bool IsDenied { get; set; }=false; public bool IsMDLD { get; set; } = false; public bool IsCount { get; set; } = false; public DateTime DateFrom { get; set; } public DateTime DateTo { get; set; } public bool IsSorting { get; set; }=false; public int ProjectCodeId { get; set; } public long PRId { get; set; } public string? FileName { get; set; } public string? OrigFileName { get; set; } } }