領収証発行サービス
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
450B

  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Concerns\HasUuids;
  4. use Illuminate\Database\Eloquent\SoftDeletes;
  5. abstract class AppModel extends BaseModel
  6. {
  7. use SoftDeletes, HasUuids;
  8. public function getHistory(): ?HistoryModel
  9. {
  10. $historyName = static::class . 'History';
  11. return new $historyName;
  12. }
  13. public function getChangeLogMessage($before, $after): ?string
  14. {
  15. return null;
  16. }
  17. }