2015-09-23 03:49:46 +03:00
|
|
|
<?php namespace {{namespace}};
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
2016-12-29 18:35:34 +03:00
|
|
|
class {{name}} extends Model {
|
|
|
|
|
2016-03-30 10:42:16 +03:00
|
|
|
protected $fillable = [{{fillable}}];
|
2015-09-23 03:49:46 +03:00
|
|
|
|
2016-03-30 10:42:16 +03:00
|
|
|
protected $dates = [{{dates}}];
|
2015-09-23 06:58:39 +03:00
|
|
|
|
2016-03-30 10:42:16 +03:00
|
|
|
public static $rules = [
|
2015-09-23 17:53:55 +03:00
|
|
|
{{rules}}
|
2016-03-30 10:42:16 +03:00
|
|
|
];
|
2015-09-23 17:53:55 +03:00
|
|
|
|
2017-01-18 18:55:18 +03:00
|
|
|
{{additional}}{{relations}}
|
2015-09-23 17:53:55 +03:00
|
|
|
|
2015-09-23 03:49:46 +03:00
|
|
|
}
|