package pt.whatsms.gateway.modules.messages.events

import pt.whatsms.gateway.domain.EntitySource
import pt.whatsms.gateway.domain.ProcessingState
import pt.whatsms.gateway.modules.events.AppEvent

class MessageStateChangedEvent(
    val id: String,
    val source: EntitySource,
    val phoneNumbers: Set<String>,
    val state: ProcessingState,
    val simNumber: Int?,
    val partsCount: Int?,
    val error: String?
): AppEvent(NAME) {

    companion object {
        const val NAME = "MessageStateChangedEvent"
    }
}