using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Connected.Logistics.Types;
namespace Connected.Logistics.Documents.Receive;
///
[Table(Schema = Domain.Code)]
internal sealed record ReceivePlannedItem : ConsistentEntity, IReceivePlannedItem
{
public const string EntityKey = $"{Domain.Code}.{nameof(ReceivePlannedItem)}";
///
[Ordinal(0), Index]
public int Document { get; init; }
///
[Ordinal(1), Index]
public int Item { get; init; }
///
[Ordinal(2)]
public float Quantity { get; init; }
///
[Ordinal(3)]
public float PostedQuantity { get; init; }
}