39 lines
900 B
PHP
39 lines
900 B
PHP
<?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 = [];
|
|
protected array $guarded = [];
|
|
|
|
/**
|
|
* 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'];
|
|
|
|
const string CREATED_AT = 'create_time';
|
|
const null UPDATED_AT = null;
|
|
}
|