first commit
This commit is contained in:
22
modules/Member/app/Models/Pm.php
Normal file
22
modules/Member/app/Models/Pm.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2024 http://www.tensent.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
namespace Modules\Member\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class Pm extends BaseModel {
|
||||
|
||||
protected $table = 'member_pm';
|
||||
protected $fillable = [];
|
||||
// protected $hidden = ['deleted_at'];
|
||||
|
||||
public function members(){
|
||||
return $this->belongsTo(Member::class, 'member_id', 'uid');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user