O

Ontology Platform

Demo
8 Objects · 7 Links · 6 Actions

Interface Types

定义共享属性契约,多个 Object Type 可实现同一 Interface

🧩 Identifiableimplemented by 8 types

具有唯一标识的对象

Interface Properties

createdAt:DateTime创建时间
updatedAt:DateTime更新时间

Implemented By

RawMaterial
Supplier
PurchaseOrder
ProductionLine
Product
BillOfMaterials
SupplyDisruption
DecisionLog
🧩 Auditableimplemented by 3 types

需要审计追踪的对象

Interface Properties

createdBy:String创建者
lastModifiedBy:String最后修改者

Implemented By

PurchaseOrder
SupplyDisruption
DecisionLog
🧩 StatusTrackableimplemented by 3 types

具有生命周期状态的对象

Interface Properties

status:String当前状态
statusUpdatedAt:DateTime状态更新时间

Implemented By

PurchaseOrder
ProductionLine
SupplyDisruption

💡 Interface Types 的作用

Interface Types 定义了一组共享属性契约。多个 Object Type 可以实现同一个 Interface, 确保跨对象的一致性。例如,所有实现 Auditable 的对象都自动具有 createdBy 和 lastModifiedBy 属性, 便于统一审计和权限管理。