1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/app/models/stats/project.rb
2023-09-01 12:43:36 +02:00

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