using Common;
using Connected.Annotations;
using Connected.Entities;
using Connected.Entities.Annotations;
using Logistics.Types;
namespace 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; }
}