2017-12-20 10:19:36 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
|
|
|
|
|
|
|
|
class PirepState extends EnumBase {
|
2017-12-21 03:27:57 +08:00
|
|
|
|
2017-12-26 05:19:34 +08:00
|
|
|
const REJECTED = -1;
|
|
|
|
const IN_PROGRESS = 0;
|
|
|
|
const PENDING = 1;
|
|
|
|
const ACCEPTED = 2;
|
2017-12-20 10:19:36 +08:00
|
|
|
|
|
|
|
protected static $labels = [
|
2017-12-26 05:19:34 +08:00
|
|
|
PirepState::REJECTED => 'system.pireps.state.rejected',
|
|
|
|
PirepState::IN_PROGRESS => 'system.pireps.state.in_progress',
|
|
|
|
PirepState::PENDING => 'system.pireps.state.pending',
|
|
|
|
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
2017-12-20 10:19:36 +08:00
|
|
|
];
|
|
|
|
}
|