using Connected.Annotations; using Connected.Entities.Annotations; using Connected.Entities.Consistency; using Logistics.Types; namespace Logistics.Stock; /// [Table(Schema = Domain.Code)] internal sealed record StockItem : ConsistentEntity, IStockItem { public const string EntityKey = $"{Domain.Code}.{nameof(StockItem)}"; /// [Ordinal(0)] public long Stock { get; init; } /// [Ordinal(1)] public int Location { get; init; } /// [Ordinal(2)] public long Serial { get; init; } /// [Ordinal(3)] public float Quantity { get; init; } }