cn.blankcat.dto.websocket.WSHelloData Maven / Gradle / Ivy
package cn.blankcat.dto.websocket;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
// WSHelloData hello 返回
public class WSHelloData {
@JsonProperty("heartbeat_interval")
private int heartbeatInterval;
}