| 1 | # -*- coding: utf-8 -*- |
| 2 | |
| 3 | module Plugin::Quickstep |
| 4 | class Command < Retriever::Model |
| 5 | field.string :slug, required: true |
| 6 | field.string :name, required: true |
| 7 | field.string :role, required: true |
| 8 | field.bool :visible |
| 9 | |
| 10 | register :quickstep_command, name: Plugin[:quickstep]._('コマンド') |
| 11 | |
| 12 | def title |
| 13 | name |
| 14 | end |
| 15 | end |
| 16 | end |