package ru.micord.ervu.account_applications.kafka.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author Adel Kalimullin
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public record DeclarationStatus(
    @JsonProperty("applicationNumber") Long applicationNumber,
    @JsonProperty("password") String password,
    @JsonProperty("status") boolean status,
    @JsonProperty("description") String errorMsg
)  {}