phpvms/config/enums.php

49 lines
781 B
PHP
Raw Normal View History

2017-06-29 08:54:37 +08:00
<?php
2017-07-05 04:43:47 +08:00
return [
2017-07-06 07:48:32 +08:00
'status' => [
'INACTIVE' => 0,
'DISABLED' => 0,
'ACTIVE' => 1,
'ENABLED' => 1,
2017-07-06 07:48:32 +08:00
],
2017-12-15 13:51:57 +08:00
# Pilot states
'states' => [
'PENDING' => 0,
'ACTIVE' => 1,
'ON_LEAVE' => 2,
'SUSPENDED' => 3,
],
2017-07-05 04:43:47 +08:00
'sources' => [
'MANUAL' => 0,
'ACARS' => 1,
],
2017-07-05 04:43:47 +08:00
'pirep_status' => [
'PENDING' => 0,
'ACCEPTED' => 1,
'REJECTED' => -1,
],
2017-06-29 08:54:37 +08:00
2017-07-05 04:43:47 +08:00
'fuel_types' => [
'100LL' => 0,
'JETA' => 1,
'MOGAS' => 2,
],
'days' => [
'MONDAY' => 1,
'TUESDAY' => 2,
'WEDNESDAY' => 4,
'THURSDAY' => 8,
'FRIDAY' => 16,
'SATURDAY' => 32,
'SUNDAY' => 64
],
2017-07-05 04:43:47 +08:00
];
2017-06-29 08:54:37 +08:00