- # frozen_string_literal: true
- require 'opening_hours_converter'
- module Hours
- module Models
- # A Node is a readonly model for querying the projection of "places".
- # * Readonly: it is not enforced on model or ORM level, but should be
- # enforced in the database-server and user setup. RO only means that
- # this model is only tested and optimized against reading.
- class Node < Sequel::Model(::Hours.projections_database[:query_nodes])
- def lat
- def lon
- def status