love_php/app/Models/FruitHistory.php

21 lines
414 B
PHP
Raw Permalink Normal View History

2026-04-02 09:20:51 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class FruitHistory extends Model
{
protected $fillable = [];
protected $guarded = [];
public function participant_helper()
{
return $this->belongsTo(Participant::class,'participant_helper_id');
}
public function participant_share(){
return $this->belongsTo(Participant::class,'participant_id');
}
}