using Connected.Data; namespace Connected.Logistics.Stock; /// /// Represents a single stock item. /// /// /// Goods are typically stored in the warehouse. Warehouse is /// organized into locations or storage bins and each location contains /// zero or more goods. /// public interface IStockItem : IPrimaryKey { /// /// The to which the item belong. /// /// /// Stock contains information about the type of the entity whereas /// the stock item contains information about actual storage. /// long Stock { get; init; } /// /// The location where the goods are stored. /// int Location { get; init; } /// /// The serial number of the goods. /// /// /// Each item has a serial number which uniquely identifies /// the items even from the same type but from /// different documents. /// long Serial { get; init; } /// /// The quantity left in this location. Once the quantity reaches zero /// the item gets deleted from the location. /// float Quantity { get; init; } }