package cn.reghao.oss.storeapi.dto;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author reghao
 * @date 2023-11-29 18:11:13
 */
@Setter
@Getter
public class ObjectInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String objectId;
    private String objectName;
    private String url;
    private int fileType;
    private String filename;
    private long size;

    public ObjectInfo(String objectId, String objectName, int fileType, String filename, long size) {
        this.objectId = objectId;
        this.objectName = objectName;
        this.fileType = fileType;
        this.filename = filename;
        this.size = size;
    }
}
