package top.tqx.demo_1.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class ImageResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("success")
    private Boolean success;

    @JsonProperty("image_data")
    private byte[] imageData;

    @JsonProperty("image_id")
    private String imageId;

    @JsonProperty("filename")
    private String filename;

    @JsonProperty("format")
    private String format;

    @JsonProperty("size")
    private Long size;
}