1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/models/stats/order.rb
2022-10-11 17:23:45 +02:00

14 lines
336 B
Ruby

# frozen_string_literal: true
# This is a statistical data saved in ElasticSearch, about a store's order
class Stats::Order
include Elasticsearch::Persistence::Model
include StatConcern
attribute :orderId, Integer
attribute :state, String
attribute :products, Array
attribute :categories, Array
attribute :ca, Float
end