package ge.edu.freeuni.sdp.iot.service.camera_object_recognizer.service;

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

@JsonInclude(JsonInclude.Include.NON_NULL)
public class ObjectDo {

    @JsonProperty(required = false)
    private String id;

    private String type;

    public ObjectDo() {
    }

    public ObjectDo(String id, String type) {
        this.id = id;
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}

Add object do