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-20 10:19:36 +08:00
|
|
|
const REJECTED = -1;
|
|
|
|
const PENDING = 0;
|
|
|
|
const ACCEPTED = 1;
|
|
|
|
|
|
|
|
protected static $labels = [
|
2017-12-21 03:27:57 +08:00
|
|
|
PirepState::REJECTED => 'system.pireps.state.rejected',
|
|
|
|
PirepState::PENDING => 'system.pireps.state.pending',
|
|
|
|
PirepState::ACCEPTED => 'system.pireps.state.accepted',
|
2017-12-20 10:19:36 +08:00
|
|
|
];
|
|
|
|
}
|