Browse Source

增加UserMoneyLog Model

dev
李可松 4 years ago
parent
commit
1bb0edaa83
  1. 17
      app/Models/UserMoneyLog.php

17
app/Models/UserMoneyLog.php

@ -0,0 +1,17 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class UserMoneyLog extends BaseModel
{
use HasFactory;
protected $guarded = ['id']; //不允许修改的字段
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->timestamps = false;
}
}
Loading…
Cancel
Save