Files
Jason Jordan 9853d58469
CI / scan_ruby (push) Failing after 2m13s
CI / lint (push) Failing after 20s
Its been a while
2026-07-23 10:41:46 -04:00

18 lines
570 B
Ruby

module Baclight
class IdCardPlan < BaclightRecord
self.table_name = 'id_card_plans'
has_many :baclight_id_card_plan_benefits, class_name: "Baclight::IdCardPlanBenefit", foreign_key: "plan_id", primary_key: "id"
alias_attribute :id, :id
alias_attribute :title, :title
alias_attribute :pb_product_key, :pb_product_key
alias_attribute :pl_plan_key, :pl_plan_key
alias_attribute :template, :template
alias_attribute :setup_id, :setup_id
alias_attribute :created_at, :created_at
alias_attribute :updated_at, :updated_at
end
end