Building Blocks > Domain-Specific Building Blocks > Manufacturing Model Building Block > Database Schema (Manufacturing Model Building Block)
Database Schema (Manufacturing Model Building Block)
The manufacturing model building block leverages the PTC.DBConnection building block to implement the database. All database configurations and rules can be found by examining the GetDBInfo service on the PTC.MfgModelImpl.Manager Thing.
The following diagram shows the schema for the manufacturing model database objects:
Database schema diagram for the manufacturing model building block.
The following Data Shapes in the PTC.MfgModel project define the objects in the database schema:
PTC.MfgModel.BusinessUnit—Defines the business unit.
PTC.MfgModel.BusinessUnitToSiteLink—Defines the business unit-to-site link.
PTC.MfgModel.Model—Defines the model for the solution.
PTC.MfgModel.Site—Defines the properties for a site added in manufacturing model.
These Data Shapes have a related _AP Data Shape for the purpose of adding custom properties. For example, the PTC.MfgModel.BusinessUnit Data Shape has an associated PTC.MfgModel.BusinessUnit_AP Data Shape. For information on using these _AP Data Shapes, see Adding Custom Properties to Data Model Entities.
Additional Data Shapes in the PTC.MfgModel project include the following:
PTC.MfgModel.ModelSite—Defines the combination of properties from model and site. Specific to site.
PTC.MfgModel.ModelTypeConfiguration—Defines the Thing Templates and Thing Shapes for the default model configurations.
PTC.MfgModel.NetworkConfiguration—Defines the properties for a network configuration.
PTC.MfgModel.SelectedModel—Defines the properties for the equipment hierarchy tree ID nodes.
Was this helpful?