feat: driver

This commit is contained in:
2025-04-01 11:49:50 +08:00
parent a7b99e2cf4
commit b68ad879c8
11 changed files with 554 additions and 124 deletions

View File

@@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property int $cycle_id
* @property int $site_id
* @property int $driver_id
* @property string $exceptions_msg
* @property int $image_id
* @property string $create_time
*/
class DriverException extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'driver_exceptions';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'cycle_id' => 'integer', 'site_id' => 'integer', 'driver_id' => 'integer', 'image_id' => 'integer'];
}