mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Add initial models and corresponding test files
This commit is contained in:
parent
bca4470643
commit
542ea5101e
28 changed files with 548 additions and 8 deletions
7
app/models/domain.rb
Normal file
7
app/models/domain.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class Domain < ActiveRecord::Base
|
||||
belongs_to :registrar
|
||||
belongs_to :ns_set
|
||||
belongs_to :owner_contact, class_name: 'Contact'
|
||||
belongs_to :technical_contact, class_name: 'Contact'
|
||||
belongs_to :admin_contact, class_name: 'Contact'
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue