Add GRN batch and serial tracking

This commit is contained in:
2026-10-06 13:26:17 +05:30
parent d578cbad20
commit a8725bc473
9 changed files with 427 additions and 49 deletions
@@ -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; }
}
}