51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
|
|||
|
|
namespace NX.ERP.Model.Request
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 领料申请单
|
|||
|
|
/// </summary>
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 领料申请
|
|||
|
|
/// </summary>
|
|||
|
|
public class MaterialAppVouch
|
|||
|
|
{
|
|||
|
|
private string deptCode;
|
|||
|
|
private DateTime date;
|
|||
|
|
|
|||
|
|
private IEnumerable<MaterialAppVouchDetail> details = new List<MaterialAppVouchDetail>();
|
|||
|
|
private string sourceName;
|
|||
|
|
|
|||
|
|
public string DeptCode { get => deptCode; set => deptCode = value; }
|
|||
|
|
public DateTime Date { get => date; set => date = value; }
|
|||
|
|
public IEnumerable<MaterialAppVouchDetail> Details { get => details; set => details = value; }
|
|||
|
|
public string SourceName { get => sourceName; set => sourceName = value; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
public class MaterialAppVouchDetail
|
|||
|
|
{
|
|||
|
|
private string sourceCode;
|
|||
|
|
private int _sourceDetailId;
|
|||
|
|
private decimal qty;
|
|||
|
|
|
|||
|
|
public string SourceCode { get => sourceCode; set => sourceCode = value; }
|
|||
|
|
public int SourceDetailId { get => _sourceDetailId; set => _sourceDetailId = value; }
|
|||
|
|
public decimal Qty { get => qty; set => qty = value; }
|
|||
|
|
public DateTime Date { get => date; set => date = value; }
|
|||
|
|
|
|||
|
|
private DateTime date;
|
|||
|
|
public string InvCode { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|