entity scaffold
This commit is contained in:
7
app/models/entity.rb
Normal file
7
app/models/entity.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class Entity < ApplicationRecord
|
||||
validate :name , presence: true
|
||||
validate :ha_id , presence: true
|
||||
validate :type , presence: true
|
||||
validate :member_id , presence: true
|
||||
|
||||
end
|
Reference in New Issue
Block a user