mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
7 lines
137 B
Ruby
7 lines
137 B
Ruby
class MemberRole < ApplicationRecord
|
|
belongs_to :role
|
|
belongs_to :member
|
|
|
|
validates :member_id, :role_id, presence: true
|
|
end
|