adrema/app/Mailman/Data/Member.php

19 lines
363 B
PHP
Raw Normal View History

2023-06-12 17:07:56 +02:00
<?php
namespace App\Mailman\Data;
use Spatie\LaravelData\Attributes\MapName;
use Spatie\LaravelData\Data;
use Spatie\LaravelData\Mappers\SnakeCaseMapper;
#[MapName(SnakeCaseMapper::class)]
class Member extends Data
{
public function __construct(
public string $email,
public string $listId,
public string $memberId,
) {
}
}