6 lines
139 B
6 lines
139 B
6 years ago
|
class ShixunInfo < ApplicationRecord
|
||
|
belongs_to :shixun
|
||
|
validates_uniqueness_of :shixun_id
|
||
|
validates_presence_of :shixun_id
|
||
|
end
|