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.
37 lines
533 B
37 lines
533 B
<?php
|
|
|
|
namespace App\Traits;
|
|
|
|
trait DemandTraits
|
|
{
|
|
|
|
public static $col = [
|
|
'App\Models\Agent',
|
|
'App\Models\Supplier',
|
|
'App\Models\Guide',
|
|
];
|
|
|
|
public static $polymorphic = [
|
|
'App\Models\Agent' => '代理商',
|
|
'App\Models\Supplier' => '供应商',
|
|
'App\Models\Guide' => '地接',
|
|
];
|
|
|
|
public static $stateKey = [
|
|
1,
|
|
2,
|
|
3,
|
|
];
|
|
|
|
public static $state = [
|
|
1 => '竞标中' ,
|
|
2 => '已竞标' ,
|
|
3 => '流拍'
|
|
];
|
|
|
|
public static $biddingState = [
|
|
'竞标中' ,
|
|
'已中标' ,
|
|
'未中标'
|
|
];
|
|
}
|