import { DomainEvent } from './index';

export class DeviceAddedEvent extends DomainEvent {
  constructor(
    public readonly payload: {
      userId: string;
      accountSequence: number;
      deviceId: string;
      deviceName: string;
    },
  ) {
    super();
  }

  get eventType(): string {
    return 'DeviceAdded';
  }
}
