mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 17:28:50 +02:00
update cmd line
This commit is contained in:
parent
67a507d530
commit
8c55f6b749
214 changed files with 48553 additions and 48489 deletions
|
@ -1,36 +0,0 @@
|
|||
### Alternate Snippets for Models
|
||||
|
||||
### `[ProjectRoot]/app/Models/*.php`
|
||||
|
||||
### Table of Content
|
||||
|
||||
- [Model Config](#model-config) [new]
|
||||
|
||||
#### Model Config
|
||||
|
||||
- Command
|
||||
```bash
|
||||
ci4:model:config
|
||||
```
|
||||
- Output
|
||||
|
||||
```php
|
||||
protected $table = 'tableName';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
protected $useAutoIncrement = true;
|
||||
|
||||
protected $returnType = 'array';
|
||||
protected $useSoftDeletes = true;
|
||||
|
||||
protected $allowedFields = ['name'];
|
||||
|
||||
protected $useTimestamps = false;
|
||||
protected $createdField = 'created_at';
|
||||
protected $updatedField = 'updated_at';
|
||||
protected $deletedField = 'deleted_at';
|
||||
|
||||
protected $validationRules = [];
|
||||
protected $validationMessages = [];
|
||||
protected $skipValidation = false;
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue