Add item tracking migrations
This commit is contained in:
@@ -16,6 +16,16 @@ namespace Distribution.Models
|
||||
public Guid? ToLocationId { get; set; }
|
||||
public LocationType? ToLocationType { get; set; }
|
||||
|
||||
/// <summary>Null for items that don't track batches/expiry — no behavior change for existing items.</summary>
|
||||
public Guid? FK_ItemBatchId { get; set; }
|
||||
[ForeignKey("FK_ItemBatchId")]
|
||||
public ItemBatch? ItemBatch { get; set; }
|
||||
|
||||
/// <summary>Null for items that don't track serial numbers. Quantity is always 1 when set.</summary>
|
||||
public Guid? FK_ItemSerialNumberId { get; set; }
|
||||
[ForeignKey("FK_ItemSerialNumberId")]
|
||||
public ItemSerialNumber? ItemSerialNumber { get; set; }
|
||||
|
||||
public decimal Quantity { get; set; }
|
||||
public MovementType Type { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user