mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
15 lines
396 B
Ruby
15 lines
396 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This is a statistical data saved in ElasticSearch, about a subscription to a plan
|
|
class Stats::Subscription
|
|
include Elasticsearch::Persistence::Model
|
|
include StatConcern
|
|
|
|
attribute :ca, Float
|
|
attribute :planId, Integer
|
|
attribute :subscriptionId, Integer
|
|
attribute :invoiceItemId, Integer
|
|
attribute :groupName, String
|
|
attribute :coupon, String
|
|
end
|