require_relative 'base' module Amsi module Model class MarketingSource < Base string_attrs *%i[ property_id source_code source_desc source_active_flag ] alias_method :code, :source_code alias_method :description, :source_desc def active? source_active_flag == 'Y' end end end end