# coding: utf-8


HEAD = 'head'
DEPUTY = 'deputy'
RESPONSIBLE = 'responsible'
HR_PARTNER = 'hr_partner'
BUDGET_HOLDER = 'budget_holder'
GENERAL_DIRECTOR = 'general_director'

HEAD_OR_DEPUTY = (HEAD, DEPUTY)
ALL_HEAD_TYPES = (HEAD, DEPUTY, RESPONSIBLE, GENERAL_DIRECTOR)

ALL_RANKS = (HEAD, DEPUTY, RESPONSIBLE, GENERAL_DIRECTOR, HR_PARTNER, BUDGET_HOLDER)

# Словарь, чтобы иметь возможность сортировать по рангам
# Цифры не означают ничего, кроме порядка сортировки
RANK_WEIGHT = {
    GENERAL_DIRECTOR: 1,
    HEAD: 2,
    DEPUTY: 3,
    RESPONSIBLE: 4,
    HR_PARTNER: 5,
    BUDGET_HOLDER: 6,
}
