package cn.reghao.file.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class ImageMeta implements Serializable {
    private static final long serialVersionUID = 1L;

    // 原始文件的 objectId
    private String imageFileId;
    private String objectId;
    private String format;
    private String url;
    private Integer width;
    private Integer height;
    private Long size;

    public void setUrl(String url) {
        this.url = url;
    }
}
