Browse Source

增加Category Model

dev
李可松 5 years ago
parent
commit
71d5198fff
  1. 16
      app/Models/Category.php

16
app/Models/Category.php

@ -0,0 +1,16 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Category extends BaseModel
{
use HasFactory;
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->timestamps = false;
}
}
Loading…
Cancel
Save