Mercurial > packages > magicforger
diff src/Generator/Model/stubs/model.stub @ 31:8dd668020310 codex
started converting too bootstrap, also better support for casts
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Tue, 19 Aug 2025 20:34:53 -0400 |
| parents | 010ace248d14 |
| children | 76584181267a |
line wrap: on
line diff
--- a/src/Generator/Model/stubs/model.stub Wed Jun 18 09:04:59 2025 -0400 +++ b/src/Generator/Model/stubs/model.stub Tue Aug 19 20:34:53 2025 -0400 @@ -3,6 +3,7 @@ namespace {{ namespace }}; use Illuminate\Database\Eloquent\SoftDeletes; +use Wizard\Framework\Models\BaseModel; class {{ class }} extends BaseModel { @@ -25,6 +26,10 @@ # {{ atributeInsertPoint }} ]; + protected $casts = [ + # {{ castInsertPoint }} + ]; + protected $fillable = [ # {{ fillableInsertPoint }} ];
