Files
hyperf_service/app/Model/DriverStatus.php
2025-04-01 15:12:52 +08:00

46 lines
1.3 KiB
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 $site_name
* @property string $line_name
* @property int $meal_order_quantity
* @property int $meal_add_staple_food_num
* @property string $meal_list
* @property int $option_order_quantity
* @property int $option_add_staple_food_num
* @property int $status
* @property string $create_time
* @property string $update_time
*/
class DriverStatus extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'driver_status';
/**
* 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', 'meal_order_quantity' => 'integer', 'meal_add_staple_food_num' => 'integer', 'option_order_quantity' => 'integer', 'option_add_staple_food_num' => 'integer', 'status' => 'integer'];
const string CREATED_AT = 'create_time';
const string UPDATED_AT = 'update_time';
}