class Users::TableSerializer
  include Qwaiter::UserBaseSerializer
  attributes :number, :width, :height, :position_x, :position_y, :section_id, :occupied #, :supplier_id #, :alist_id
  has_one :supplier, serializer: Users::SupplierSerializer

  #def list_id
    #object.active_list_id || object.active_list.try(:id)
  #end

  related_link_for :supplier
  #def list
    #object.active_list
  #end
end
