您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DocumentAmountColumn.php 339B

12345678910111213141516171819
  1. <?php
  2. namespace App\Enums;
  3. use Filament\Support\Contracts\HasLabel;
  4. enum DocumentAmountColumn: string implements HasLabel
  5. {
  6. case Amount = 'amount';
  7. case Total = 'total';
  8. case Other = 'other';
  9. public const DEFAULT = self::Amount->value;
  10. public function getLabel(): ?string
  11. {
  12. return $this->name;
  13. }
  14. }