29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CPRNIMS.Infrastructure.Dto.Inventory.Response
|
|
{
|
|
public class MRSResponse
|
|
{
|
|
public long MRSId { get; set; }
|
|
public string MRSNo { get; set; } = string.Empty;
|
|
public long RISId { get; set; }
|
|
public string RISNo { get; set; } = string.Empty;
|
|
public int InventoryId { get; set; }
|
|
public string ItemName { get; set; } = string.Empty;
|
|
public string ReturnedBy { get; set; } = string.Empty;
|
|
public decimal QtyReturned { get; set; }
|
|
public string? Condition { get; set; }
|
|
public string? Remarks { get; set; }
|
|
public short Status { get; set; }
|
|
public string StatusLabel => Status switch { 0 => "Draft", 1 => "Approved", 2 => "Cancelled", _ => "Unknown" };
|
|
public string CreatedBy { get; set; } = string.Empty;
|
|
public DateTime CreatedDate { get; set; }
|
|
public string? ApprovedBy { get; set; }
|
|
public DateTime? ApprovedDate { get; set; }
|
|
}
|
|
}
|