class Users::SupplierSerializer
  include Mozo::UserBaseSerializer

  attributes :open, :name, :orders_placed_count, :orders_in_process_count, :user_message
  has_many :product_categories, serializer: Users::ProductCategorySerializer
  related_link_for :product_categories
end
