hasMany(OrderGoods::class); } public function user() { return $this->belongsTo(User::class); } }