class Suppliers::ProductCategorySerializer
  include Qwaiter::SupplierBaseSerializer
  attributes :name, :supplier_id, :active_on_sunday, :active_on_monday, :active_on_tuesday, :active_on_wednesday,
    :active_on_thursday, :active_on_friday, :active_on_saturday, :full_day, :start_from, :end_on,
    :position
  has_many :products, serializer: Suppliers::ProductSerializer
  has_one :supplier, serializer: Suppliers::SupplierSerializer
end
