|
- <?php
-
- namespace App\Mail\Members;
-
- use Illuminate\Support\Carbon;
-
- class SeasonTicketContractExpireRemind extends Member
- {
- protected string|null $parkName;
- protected int $seasonTicketSeqNo;
- protected Carbon $expirationEndDate;
-
- protected $casts = [
- 'expirationEndDate' => 'datetime',
- ];
-
- /**
- * Create a new message instance.
- *
- * @return void
- */
- public function __construct(\stdClass $data)
- {
- $this->setValues($data);
- }
-
- public function getTemplateName(): string
- {
- return 'mails.members.season_ticket_contract_expires_remind';
- }
-
- public function getSubject(): string
- {
- return '【スマートパーキングパス】定期期限切れ予告通知';
- }
-
- public function getMemberParams(): array
- {
- return [
- 'parkName' => $this->parkName,
- 'seasonTicketSeqNo' => $this->seasonTicketSeqNo,
- 'expirationEndDate' => $this->expirationEndDate,
- ];
- }
- }
|