1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/models/stats/subscription.rb

14 lines
368 B
Ruby
Raw Normal View History

2022-10-11 17:23:45 +02:00
# frozen_string_literal: true
2016-03-23 18:39:41 +01:00
2022-10-11 17:23:45 +02:00
# 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
2016-03-23 18:39:41 +01:00
end