2026-07-23 10:41:46 -04:00
|
|
|
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"
|
|
|
|
|
|
2026-09-16 12:41:44 -04:00
|
|
|
# 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
|
2026-07-23 10:41:46 -04:00
|
|
|
|
|
|
|
|
end
|
|
|
|
|
end
|