comparison src/Generator/Model/stubs/model.stub @ 11:3426c7e91c24 main-dev

Modifying generaters and replacers
author luka
date Wed, 24 Apr 2024 19:53:42 -0400
parents b0b2e79ad8e6
children 827efbf4d73c
comparison
equal deleted inserted replaced
10:a9ff874afdbd 11:3426c7e91c24
38 38
39 self::saving(function ($item) { 39 self::saving(function ($item) {
40 $item->updated_by = \Auth::user()->id; 40 $item->updated_by = \Auth::user()->id;
41 }); 41 });
42 } 42 }
43
44
45 //relations
46
47 // BelongsTo
48
49 // HasMany
50
51
43 } 52 }