提交代码
This commit is contained in:
17
app/Models/ProfitLog.php
Normal file
17
app/Models/ProfitLog.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class ProfitLog extends Model
|
||||
{
|
||||
|
||||
public function profit()
|
||||
{
|
||||
return $this->belongsTo(Profit::class);
|
||||
}
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user