app/models/communication/extranet/post/category.rb
# == Schema Information
#
# Table name: communication_extranet_post_categories
#
# id :uuid not null, primary key
# created_at :datetime not null
# updated_at :datetime not null
# extranet_id :uuid not null, indexed
# university_id :uuid not null, indexed
#
# Indexes
#
# index_communication_extranet_post_categories_on_extranet_id (extranet_id)
# index_communication_extranet_post_categories_on_university_id (university_id)
#
# Foreign Keys
#
# fk_rails_aad7b8db63 (university_id => universities.id)
# fk_rails_e53c2a25fc (extranet_id => communication_extranets.id)
#
class Communication::Extranet::Post::Category < ApplicationRecord
include Localizable
include LocalizableOrderByNameScope
include WithUniversity
belongs_to :extranet, class_name: 'Communication::Extranet'
has_many :posts
end