feat: 信用IEO系统 — 授信+申购+还款+逾期+后台
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace App;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CreditLine extends Model
|
||||
{
|
||||
protected $table = 'credit_line';
|
||||
protected $fillable = ['user_id','total_amount','used_amount','available_amount','daily_rate','cycle_days','credit_score','status'];
|
||||
|
||||
public function user() { return $this->belongsTo(Users::class, 'user_id'); }
|
||||
}
|
||||
Reference in New Issue
Block a user