price-point-api/app/models/guest.rb

15 lines
381 B
Ruby
Raw Normal View History

2026-05-25 16:15:06 +00:00
# == Schema Information
#
# Table name: guests
#
# id :bigint not null, primary key
# name :string
# username :string
# created_at :datetime not null
# updated_at :datetime not null
#
2026-05-17 11:12:43 +00:00
class Guest < ApplicationRecord
has_many :price_reports, dependent: :destroy
has_many :moderation_logs, as: :moderatable, dependent: :destroy
2026-05-17 11:12:43 +00:00
end