module Vhcs class PbProduct < VhcsRecord self.table_name = 'PBProduct' alias_attribute :pb_product_key, :PBProductKey alias_attribute :pb_product_line_key, :PBProductLineKey alias_attribute :target_entity_type_id, :TargetEntityTypeID alias_attribute :company_pb_entity_key, :CompanyPBEntityKey alias_attribute :full_description, :FullDescription alias_attribute :column_description, :ColumnDescription alias_attribute :short_description, :ShortDescription alias_attribute :presentation_format_code, :PresentationFormatCode alias_attribute :is_active, :IsActive alias_attribute :used_for_hrafsa, :UsedForHRAFSA alias_attribute :non_network_rx_coverage, :NonNetworkRxCoverage alias_attribute :web_express_product_group_g_1_0, :WebExpressProductGroup_G10 alias_attribute :web_express_description, :WebExpressDescription alias_attribute :web_express_oe_processing_order, :WebExpressOEProcessingOrder alias_attribute :participant_enrollee_type_bitmask, :ParticipantEnrolleeTypeBitmask alias_attribute :invoice_group_g_1_2_7, :InvoiceGroup_G127 alias_attribute :web_express_must_participate, :WebExpressMustParticipate alias_attribute :suppress_optional_amount, :SuppressOptionalAmount alias_attribute :suppress_coverage, :SuppressCoverage alias_attribute :suppress_description, :SuppressDescription alias_attribute :pb_product_enrollment_grouping_key, :PBProductEnrollmentGroupingKey def attributes rails_like = { pb_product_key: self.pb_product_key, pb_product_line_key: self.pb_product_line_key, target_entity_type_id: self.target_entity_type_id, company_pb_entity_key: self.company_pb_entity_key, full_description: self.full_description, column_description: self.column_description, short_description: self.short_description, presentation_format_code: self.presentation_format_code, is_active: self.is_active, used_for_hrafsa: self.used_for_hrafsa, non_network_rx_coverage: self.non_network_rx_coverage, web_express_product_group_g_1_0: self.web_express_product_group_g_1_0, web_express_description: self.web_express_description, web_express_oe_processing_order: self.web_express_oe_processing_order, participant_enrollee_type_bitmask: self.participant_enrollee_type_bitmask, invoice_group_g_1_2_7: self.invoice_group_g_1_2_7, web_express_must_participate: self.web_express_must_participate, suppress_optional_amount: self.suppress_optional_amount, suppress_coverage: self.suppress_coverage, suppress_description: self.suppress_description, pb_product_enrollment_grouping_key: self.pb_product_enrollment_grouping_key, } super.merge(rails_like) end end end