love_php/app/Models/Server/ServiceOrderOperation.php

25 lines
515 B
PHP
Raw Permalink Normal View History

2026-04-02 09:20:51 +08:00
<?php
namespace App\Models\Server;
use App\Models\Base;
use Illuminate\Database\Eloquent\Model;
class ServiceOrderOperation extends Base
{
public function reminds()
{
return $this->hasMany(ServiceOrderRemind::class, 'order_operate_id', 'id');
}
public function remarks()
{
return $this->hasMany(ServiceOrderRemark::class, 'order_operate_id', 'id');
}
public function role()
{
return $this->hasOne(ServiceOrderRole::class, 'id', 'order_role_id');
}
}