QR_code_generator/app/Models/Advisories/AdvisoryMemberRank.php

39 lines
1.3 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
namespace App\Models\Advisories;
class AdvisoryMemberRank {
public const ORDINARY = 0;
public const VOTER = 5;
public const SECRETARY_ASSISTANT = 10;
public const SECRETARY = 15;
public const VICE_CHAIRMAN = 20;
public const CHAIRMAN = 25;
public const TITLES = [
self::ORDINARY => 'Член',
self::VOTER => 'Член с правом голоса',
self::SECRETARY_ASSISTANT => 'Помощник секретаря',
self::SECRETARY => 'Секретарь',
self::VICE_CHAIRMAN => 'Заместитель руководителя',
self::CHAIRMAN => 'Руководитель'
];
public const NAMES = [
self::ORDINARY => 'ordinary',
self::VOTER => 'voter',
self::SECRETARY_ASSISTANT => 'secretary-assistant',
self::SECRETARY => 'secretary',
self::VICE_CHAIRMAN => 'vice-chairman',
self::CHAIRMAN => 'chairman'
];
public const CATEGORIES = [
self::ORDINARY => 'Член',
self::VOTER => 'Член',
self::SECRETARY_ASSISTANT => 'Секретариат',
self::SECRETARY => 'Секретариат',
self::VICE_CHAIRMAN => 'Руководство',
self::CHAIRMAN => 'Руководство'
];
}