mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2024-12-27 06:25:28 +03:00
18 lines
271 B
Plaintext
18 lines
271 B
Plaintext
<?php namespace {{namespace}};
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class {{name}} extends Model {
|
|
|
|
{{uses}} protected $fillable = [{{fillable}}];
|
|
|
|
protected $dates = [{{dates}}];
|
|
|
|
public static $rules = [
|
|
{{rules}}
|
|
];
|
|
|
|
{{additional}}{{relations}}
|
|
|
|
}
|