using Connected.Annotations;
using Connected.Common;
using Connected.Entities;
using Connected.Entities.Annotations;
using Connected.Logistics.Types;
namespace Connected.Logistics.Documents.Receive;
///
[Table(Schema = CommonSchemas.DocumentSchema)]
internal sealed record ReceiveItem : EntityContainer, IReceiveItem
{
public const string EntityKey = $"{Domain.Code}.{nameof(ReceiveItem)}";
///
[Ordinal(0), Index]
public int Document { get; init; }
///
[Ordinal(1)]
public float Quantity { get; init; }
///
[Ordinal(4)]
public float PostedQuantity { get; init; }
}