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

39 lines
762 B

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