Skip to content

Commit d1709ca

Browse files
committed
doc: add missing properties
1 parent ebee950 commit d1709ca

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

  • user_guide_src/source/models/model

user_guide_src/source/models/model/005.php

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,19 @@ class UserModel extends Model
2424
protected $deletedField = 'deleted_at';
2525

2626
// Validation
27-
protected $validationRules = [];
28-
protected $validationMessages = [];
29-
protected $skipValidation = false;
27+
protected $validationRules = [];
28+
protected $validationMessages = [];
29+
protected $skipValidation = false;
3030
protected $cleanValidationRules = true;
31+
32+
// Callbacks
33+
protected $allowCallbacks = true;
34+
protected $beforeInsert = [];
35+
protected $afterInsert = [];
36+
protected $beforeUpdate = [];
37+
protected $afterUpdate = [];
38+
protected $beforeFind = [];
39+
protected $afterFind = [];
40+
protected $beforeDelete = [];
41+
protected $afterDelete = [];
3142
}

0 commit comments

Comments
 (0)