You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
user_center/stubs/model.stub

23 lines
355 B

4 years ago
<?php
namespace {{ namespace }};
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* This is the model class for table "{{ table }}".
*
{{ propertiesList }}
*/
class {{ class }} extends Model
{
use HasFactory;
protected $table = '{{ table }}';
public $attrs = [
{{ attrList }}
];
}