package top.tqx.demo_1.dto;

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

import java.io.Serializable;

@Data
public class ImageItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("image_id")
    private String imageId;

    @JsonProperty("filename")
    private String filename;

    @JsonProperty("url")
    private String url;

    @JsonProperty("size")
    private Long size;

    @JsonProperty("size_bytes")
    private Long sizeBytes;

    @JsonProperty("format")
    private String format;

    @JsonProperty("collection")
    private String collection;

    @JsonProperty("page")
    private Integer page;

    @JsonProperty("created_at")
    private String createdAt;
}