18 lines
248 B
Plaintext
Raw Normal View History

2015-09-23 01:49:46 +01:00
<?php namespace {{namespace}};
use Illuminate\Database\Eloquent\Model;
2016-03-30 14:28:44 +07:00
class {{name}} extends Model
{
protected $fillable = [{{fillable}}];
2015-09-23 01:49:46 +01:00
protected $dates = [{{dates}}];
public static $rules = [
2015-09-23 15:53:55 +01:00
{{rules}}
];
2015-09-23 15:53:55 +01:00
{{relations}}
2015-09-23 15:53:55 +01:00
2015-09-23 01:49:46 +01:00
}