2018-03-25 21:06:57 +02:00
|
|
|
# Promotion (object)
|
|
|
|
Representation of a promotion request for a army member
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
+ _id: `5as7d05dcb90ce4da68c4f5f` (string, required) - unique id of the promotion request
|
|
|
|
+ confirmed: 0 (number, required) - number representing status of the promotion (0 - in progress, 1 - approved, 2 - rejected)
|
|
|
|
+ newRankLvl: 14 - new rank level that is requested in this promotion
|
|
|
|
+ oldRankLvl: 10 - old rank level of the user
|
2018-03-25 21:18:13 +02:00
|
|
|
+ proposer (Proposer, required) - app user who requested the promotion
|
2018-03-25 21:06:57 +02:00
|
|
|
+ timestamp: `2018-03-25T18:54:21.609Z` (string, required) - creation timestamp
|
|
|
|
+ updatedAt: `2018-03-25T18:54:21.609Z` (string, required) - version timestamp
|
|
|
|
+ userId (User, required) - populated user instance of user the promotion is requested for
|
|
|
|
+ __v: 0 (number, required) - version number of promotion instance
|