class ObjectFramework::Persistence::Mappings

Owns the application’s mappings without modifying domain classes.

mappings = ObjectFramework::Persistence::Mappings.new
mappings.define(Order, table: :orders) do
  field :id
  field :status
end