All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.blankcat.dto.interaction.InteractionData Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy