module Baclight class IdCardPlanBenefit < BaclightRecord self.table_name = 'id_card_plan_benefits' belongs_to :baclight_id_card_plan, class_name: "Baclight::IdCardPlan", foreign_key: "plan_id" alias_attribute :id, :id alias_attribute :benefit_desc, :benefit_desc alias_attribute :benefit, :benefit alias_attribute :sequence, :sequence alias_attribute :plan_id, :plan_id alias_attribute :created_at, :created_at alias_attribute :updated_at, :updated_at end end