20 lines
514 B
C#
20 lines
514 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Distribution.Models
|
|
{
|
|
public class StockBalance
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public Guid FK_ItemId { get; set; }
|
|
[ForeignKey("FK_ItemId")]
|
|
public Item Item { get; set; }
|
|
|
|
public Guid LocationId { get; set; }
|
|
public LocationType LocationType { get; set; }
|
|
|
|
public decimal Quantity { get; set; }
|
|
public DateTime UpdatedAt { get; set; } = DateTime.Now;
|
|
}
|
|
}
|