34 lines
692 B
PHP
34 lines
692 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
use Hyperf\DbConnection\Model\Model;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property int $order_id
|
|
* @property int $copies
|
|
* @property string $pickup_code
|
|
* @property string $heapsort
|
|
* @property string $create_time
|
|
*/
|
|
class PickupCode extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'pickup_code';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['id' => 'integer', 'order_id' => 'integer', 'copies' => 'integer'];
|
|
}
|