feat: 项目基础框架+配置+Kernel

This commit is contained in:
testadmin
2026-04-29 05:35:00 +08:00
parent 6ce7adcbfb
commit 9a6151fce3
5082 changed files with 437062 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class WalletLog extends Model
{
//
protected $table = "wallet_log";
public $timestamps = false;
/**
* 模型日期的存储格式
*
* @var string
*/
protected $dateFormat = 'U';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
/**
* 一对一关联account_log模型
*/
public function accountLog()
{
return $this->belongsTo('App\Accountlog','account_log_id','id')->withDefault();
}
/**
* 一对一关联users_wallet模型
*/
public function UsersWallet(){
return $this->belongsTo('App\UsersWallet','wallet_id','id')->withDefault();
}
}