33 lines
2.7 KiB
Go
33 lines
2.7 KiB
Go
|
|
package public
|
||
|
|
|
||
|
|
// MongoDB集合名称常量
|
||
|
|
const (
|
||
|
|
AssetCollection = "assets_asset" // 资产集合
|
||
|
|
CategoryCollection = "assets_category" // 分类集合
|
||
|
|
PrivateCategoryCollection = "private_category" // 私域分类集合
|
||
|
|
StockDetailsCollection = "stock_details" // 库存明细集合
|
||
|
|
StockBatchCollection = "stock_batch" // 库存批次集合
|
||
|
|
PrivateStockCollection = "private_stock" // 私域库存批次集合
|
||
|
|
PurchaseOrderCollection = "purchase_order" // 采购订单主表集合(统一模式)
|
||
|
|
PurchaseOrderItemCollection = "purchase_order_item" // 采购订单明细集合
|
||
|
|
PurchaseBidCollection = "purchase_bid" // 采购投标单集合(供应商抢单参与记录)
|
||
|
|
AssetSkuCollection = "asset_sku" // SKU集合
|
||
|
|
PrivateSkuCollection = "private_sku" // 私域sku集合
|
||
|
|
SupplierCollection = "supplier" // 供应商集合
|
||
|
|
ExpiryMessageCollection = "expiry_message" // 临期消息集合(兼容旧数据)
|
||
|
|
ExpiryMessageHistoryCollection = "expiry_message_history" // 临期消息历史集合(兼容旧数据)
|
||
|
|
InventoryWarningCollection = "inventory_warning" // 库存预警集合
|
||
|
|
InventoryWarningHistoryCollection = "inventory_warning_history" // 库存预警历史集合
|
||
|
|
PurchaseReturnCollection = "purchase_return" // 采购退换单主表集合
|
||
|
|
PurchaseReturnItemCollection = "purchase_return_item" // 采购退换单明细集合
|
||
|
|
PurchaseInboundCollection = "purchase_inbound" // 采购入库记录集合
|
||
|
|
DealerStockCollection = "dealer_stock" // 经销商库存集合
|
||
|
|
WarehouseCollection = "warehouse" // 仓库集合
|
||
|
|
ZoneCollection = "zone" // 库区集合
|
||
|
|
LocationCollection = "location" // 库位集合
|
||
|
|
InventoryCountCollection = "inventory_count" // 库存盘点主表集合
|
||
|
|
InventoryCountDetailCollection = "inventory_count_detail" // 库存盘点明细表集合
|
||
|
|
InventoryCountAdjustHistoryCollection = "inventory_count_adjust_history" // 库存盘点调整历史表集合
|
||
|
|
UnitConversionCollection = "unit_conversion" // 单位换算集合
|
||
|
|
)
|