You've already forked guangan
巡检
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user