Files
guangan/plugs/think-plugs-inspection/src/model/InspectionRecordPoint.php
2024-11-28 13:51:11 +08:00

18 lines
346 B
PHP

<?php
namespace plugin\inspection\model;
use think\admin\Model;
class InspectionRecordPoint extends Model
{
public function staff()
{
return $this->belongsTo(InspectionStaff::class, 'staff_id', 'id');
}
public function record()
{
return $this->belongsTo(InspectionRecord::class, 'record_id', 'id');
}
}