feat: driver
This commit is contained in:
41
app/Model/DriverStatus.php
Normal file
41
app/Model/DriverStatus.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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 = [];
|
||||
|
||||
/**
|
||||
* 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'];
|
||||
}
|
||||
Reference in New Issue
Block a user