You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
315 B
PHTML
23 lines
315 B
PHTML
|
2 months ago
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Code Model
|
||
|
|
*/
|
||
|
|
|
||
|
|
use App\Utils\Tools;
|
||
|
|
|
||
|
|
class CheckoutApply extends Model
|
||
|
|
{
|
||
|
|
protected $connection = "default";
|
||
|
|
protected $table = "checkout_apply";
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
public function user()
|
||
|
|
{
|
||
|
|
return User::where("id", $this->attributes['userid'])->first();
|
||
|
|
}
|
||
|
|
}
|