Commit 74014251 authored by 王源's avatar 王源 🎧

优化自动生成model文件模板

parent 9dbb33cf
...@@ -18,18 +18,18 @@ namespace App\Model; ...@@ -18,18 +18,18 @@ namespace App\Model;
*/ */
class %ClassName% extends Model class %ClassName% extends Model
{ {
%SoftDelete% %SoftDelete%
/** /**
* 是否使用时间戳管理 * 是否使用时间戳管理
* @var bool * @var bool
*/
public $timestamps = %timestamps%;
/**
* 可写入数据的字段.
* @var array
*/ */
public $timestamps = %timestamps%;
/**
* 可写入数据的字段.
* @var array
*/
protected $fillable = [ protected $fillable = [
%fillAble% %fillAble%
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment