mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
8 lines
305 B
Ruby
8 lines
305 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RepositoryChecklistItemsValue < ApplicationRecord
|
|
belongs_to :repository_checklist_item
|
|
belongs_to :repository_checklist_value, inverse_of: :repository_checklist_items_values
|
|
|
|
validates :repository_checklist_item, :repository_checklist_value, presence: true
|
|
end
|