mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Basic domain import
This commit is contained in:
parent
7707f5ff8e
commit
41b51455cf
7 changed files with 107 additions and 10 deletions
9
app/models/legacy/object_state.rb
Normal file
9
app/models/legacy/object_state.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
module Legacy
|
||||
class ObjectState < Db
|
||||
self.table_name = :object_state
|
||||
|
||||
belongs_to :enum_object_state, foreign_key: :state_id
|
||||
|
||||
delegate :name, to: :enum_object_state, prefix: false, allow_nil: true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue