class FailoverPersistenceStoreModel implements Serializable {

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        FailoverPersistenceStoreModel other = (FailoverPersistenceStoreModel) obj;
        if (!Arrays.equals(siddhiSnapshot, other.siddhiSnapshot))
            return false;
        if (streamStatuses == null) {
            if (other.streamStatuses != null)
                return false;
        } else if (!streamStatuses.equals(other.streamStatuses))
            return false;
        return true;
    }

    public  FailoverPersistenceStoreModel(Map<String, StreamStatusDTO> streamStatuses, byte[] siddhiSnapshot);
    public  FailoverPersistenceStoreModel(byte[] bytes);

}