# typed: strict
class Domain::PostGroupJoin::InkbunnyPoolJoin < Domain::PostGroupJoin
  attr_json :left_post_id, :integer
  attr_json :right_post_id, :integer

  belongs_to :left_post,
             class_name: "Domain::Post::InkbunnyPost",
             foreign_key: :left_post_id,
             optional: true

  belongs_to :right_post,
             class_name: "Domain::Post::InkbunnyPost",
             foreign_key: :right_post_id,
             optional: true
end
