73 lines
3.0 KiB
C#
73 lines
3.0 KiB
C#
using CPRNIMS.Infrastructure.Entities.Common;
|
|
using CPRNIMS.Infrastructure.Models.Common;
|
|
using Microsoft.AspNetCore.Http;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CPRNIMS.Infrastructure.ViewModel.Items
|
|
{
|
|
public class ItemVM : ResponseObject
|
|
{
|
|
public long ItemCodeId { get; set; }
|
|
public int DepartmentId { get; set; }
|
|
public int ItemCount { get; set; }
|
|
public string? Department { get; set; }
|
|
public bool IsCommon { get; set; }
|
|
public int ChargeTo { get; set; }
|
|
public string? ItemCategoryName { get; set; }
|
|
public string? UserId { get; set; }
|
|
public string? ItemName { get; set; }
|
|
public byte RequestTypeId { get; set; }
|
|
public string? ItemDescription { get; set; }
|
|
public int UOMId { get; set; }
|
|
public int ItemColorId { get; set; }
|
|
public short Status { get; set; }
|
|
public short ItemCategoryId { 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 byte PackagingTypeId { get; set; }
|
|
public short ItemClassId { get; set; }
|
|
public string? ItemTypeName { get; set; }
|
|
public string? ItemClassName { get; set; }
|
|
public string? UOMName { get; set; }
|
|
public string? ItemColorName { get; set; }
|
|
public string? ItemAttachPath { get; set; }
|
|
public int CartItemCount { get; set; }
|
|
public int ItemCartId { get; set; }
|
|
public string? ItemCartIds { get; set; }
|
|
public long ItemAttachId { get; set; }
|
|
public decimal QtyRequest { get; set; }
|
|
public byte IsApproved { get; set; }
|
|
public ItemCartVM? ItemCartVM { get; set; }
|
|
public DateTime DateNeeded { get; set; }
|
|
public string? Remarks { get; set; }
|
|
public string? URL { get; set; }
|
|
public bool IsMDLD { get; set; } = false;
|
|
public bool CheckBox { get; set; }
|
|
public bool IsCount { get; set; }
|
|
public int ProjectCodeId { get; set; }
|
|
public string? FileName { get; set; }
|
|
public long PRId { get; set; }
|
|
public string? ProjectCode { get; set; }
|
|
public string? OrigFileName { get; set; }
|
|
public string? ProjectName { get; set; }
|
|
public string SearchTerm { get; set; } = "";
|
|
public int PageNumber { get; set; } = 1;
|
|
public int PageSize { get; set; } = 10;
|
|
public int TotalCount { get; set; }
|
|
public string SearchItemNo { get; set; }=string.Empty;
|
|
public string SearchItemName { get; set; } = string.Empty;
|
|
public string SearchCategory { get; set; } = string.Empty;
|
|
}
|
|
}
|