You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/app/common/enum/RecoveryStatusEnum.php

46 lines
939 B

10 months ago
<?php
declare (strict_types=1);
namespace app\common\enum;
class RecoveryStatusEnum extends EnumBasics
{
// 待验收
const ACCEPTED = 10;
//已验收
const ALREADY = 20;
// 已取消
const CANCEL = 30;
9 months ago
//已完成
const FINISN = 40;
10 months ago
/**
* 获取订单状态值
* @return array
*/
public static function data(): array
{
return [
self::ACCEPTED => [
'name' => '待验收',
'value' => self::ACCEPTED,
],
self::ALREADY => [
'name' => '已验收',
'value' => self::ALREADY,
],
9 months ago
self::FINISN => [
'name' => '已完成',
9 months ago
'value' => self::FINISN,
9 months ago
],
10 months ago
self::CANCEL => [
'name' => '已取消',
'value' => self::CANCEL,
],
];
}
}