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