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

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