This commit is contained in:
edmondlang
2023-06-22 13:42:11 +08:00
18 changed files with 202 additions and 30 deletions
+4
View File
@@ -103,6 +103,10 @@ class Transaction extends AbstractModel implements Documentable, Transactionable
use SoftDeletes;
use LogData;
protected $casts = [
'type' => 'int'
];
protected $table = 'transactions';
public function owner(): morphTo