| 123456789101112131415161718192021222324252627282930 | 
							- <?php
 
- namespace App\Model;
 
- use Illuminate\Database\Eloquent\Model;
 
- class DeviceOrderInfo extends Model
 
- {
 
-     protected $table = "device_order_info"; //指定表
 
-     const CREATED_AT = 'crt_time';
 
-     const UPDATED_AT = 'upd_time';
 
-     protected $dateFormat = 'U';
 
-     const Model_type_zero = 0;
 
-     const Model_type_one = 1; // 正常
 
-     const Model_type_two = 2; // 异常
 
-     public static $prefix = [
 
-         self::Model_type_zero => '待处理',
 
-         self::Model_type_one => '正常',
 
-         self::Model_type_two => '异常',
 
-     ];
 
-     public static $prefix_2 = [
 
-         self::Model_type_zero => '待处理',
 
-         self::Model_type_one => '处理中',
 
-         self::Model_type_two => '已处理',
 
-     ];
 
- }
 
 
  |