Add GRN batch and serial tracking
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Distribution.Models
|
||||
{
|
||||
/// <summary>One row per batch/expiry-lot split within a single GRN line.</summary>
|
||||
public class GoodsReceiptItemBatch : Template
|
||||
{
|
||||
public Guid FK_GoodsReceiptItemId { get; set; }
|
||||
[ForeignKey("FK_GoodsReceiptItemId")]
|
||||
public GoodsReceiptItem GoodsReceiptItem { get; set; }
|
||||
|
||||
public Guid FK_ItemBatchId { get; set; }
|
||||
[ForeignKey("FK_ItemBatchId")]
|
||||
public ItemBatch ItemBatch { get; set; }
|
||||
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user