cn.blankcat.dto.interaction.InteractionData Maven / Gradle / Ivy
package cn.blankcat.dto.interaction;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
// Interaction 互动行为对象
public class InteractionData {
// InteractionData 互动数据
public enum InteractionDataType{
INTERACTION_DATA_TYPE_CHAT_SEARCH(9);
private final long value;
InteractionDataType(long value){
this.value = value;
}
@JsonValue
public long getValue(){
return value;
}
}
// 应用ID
private String name;
private InteractionDataType type;
private Object resolved;
}