Initial
This commit is contained in:
3
app/models/application_record.rb
Normal file
3
app/models/application_record.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class ApplicationRecord < ActiveRecord::Base
|
||||
primary_abstract_class
|
||||
end
|
||||
5
app/models/asociado.rb
Executable file
5
app/models/asociado.rb
Executable file
@@ -0,0 +1,5 @@
|
||||
class Asociado < ApplicationRecord
|
||||
belongs_to :contacto_de_preferencia
|
||||
belongs_to :categoria
|
||||
belongs_to :status
|
||||
end
|
||||
2
app/models/categoria.rb
Executable file
2
app/models/categoria.rb
Executable file
@@ -0,0 +1,2 @@
|
||||
class Categoria < ApplicationRecord
|
||||
end
|
||||
0
app/models/concerns/.keep
Normal file
0
app/models/concerns/.keep
Normal file
2
app/models/contacto_de_preferencia.rb
Executable file
2
app/models/contacto_de_preferencia.rb
Executable file
@@ -0,0 +1,2 @@
|
||||
class ContactoDePreferencia < ApplicationRecord
|
||||
end
|
||||
5
app/models/solicitud.rb
Executable file
5
app/models/solicitud.rb
Executable file
@@ -0,0 +1,5 @@
|
||||
class Solicitud < ApplicationRecord
|
||||
belongs_to :contacto_de_preferencia
|
||||
belongs_to :categoria
|
||||
belongs_to :status
|
||||
end
|
||||
2
app/models/status.rb
Executable file
2
app/models/status.rb
Executable file
@@ -0,0 +1,2 @@
|
||||
class Status < ApplicationRecord
|
||||
end
|
||||
Reference in New Issue
Block a user