mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
16 lines
404 B
Ruby
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
|