Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

25 lines
583B

  1. <?php
  2. namespace App\Http\Controllers\Web\Email;
  3. use App\Codes\Email;
  4. use App\Http\Controllers\Web\BaseParam;
  5. use Illuminate\Validation\Rules\Enum;
  6. /**
  7. * @property Email emailId
  8. * @property ?int seasonTicketContractEntryRecordNo
  9. * @property ?string applicationNo
  10. */
  11. class EmailSendParam extends BaseParam
  12. {
  13. public function rules(): array
  14. {
  15. return [
  16. 'email_id' => $this->enum([new Enum(Email::class)]),
  17. 'season_ticket_contract_entry_record_no' => $this->numeric(true),
  18. 'application_no' => $this->str(true),
  19. ];
  20. }
  21. }