forgeplus/app/models/laboratory_user.rb

19 lines
388 B
Ruby
Raw Normal View History

2020-11-23 15:35:03 +08:00
# == Schema Information
#
# Table name: laboratory_users
#
# id :integer not null, primary key
# laboratory_id :integer
# user_id :integer
#
# Indexes
#
# index_laboratory_users_on_laboratory_id (laboratory_id)
# index_laboratory_users_on_user_id (user_id)
#
2020-03-09 00:40:16 +08:00
class LaboratoryUser < ApplicationRecord
belongs_to :laboratory
belongs_to :user
2020-11-23 15:35:03 +08:00
end