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

16 lines
404 B
Ruby

# frozen_string_literal: true
# This is a statistical data saved in ElasticSearch, about a project publication
class Stats::Project
include Elasticsearch::Persistence::Model
include StatConcern
attribute :projectId, Integer
attribute :name, String
attribute :licence, Hash
attribute :themes, Array
attribute :components, Array
attribute :machines, Array
attribute :users, Integer
end