using Connected.Data; namespace Connected.Logistics.Documents.Receive; /// /// Represents connected (many-to-many) entity between /// and . /// /// /// Master receive document contains one or more items. Receive document /// is then divided into one or more documents which contain /// two lists of items: /// /// /// /// /// This entity represents planned items which represents the plan of how what kind of item and how /// much should be posted to each . This acts only as a guide to the user /// not the actual items and quantities that arrived into warehouse. /// public interface IReceivePlannedItem : IPrimaryKey { /// /// The id of the to which /// this planned entity belongs. /// int Document { get; init; } /// /// The id of the item to which /// this planned entity belongs. /// int Item { get; init; } /// /// The planned entity which should be posted into this /// item. /// float Quantity { get; init; } /// /// The actual posted quantity for this item. /// float PostedQuantity { get; init; } }