mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
18 lines
469 B
Ruby
18 lines
469 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
|
|
attribute :status, String
|
|
attribute :projectUserNames, Array
|
|
end
|