package com.crm.rely.backend.core.entity.oss;

import lombok.Data;

@Data
public class OssCallbackEntity {

    private String filePath;

    private Long size;

    private String mimeType;

    private Integer fileType;

    private Long typeId;

    private Long loginId;

    private String ip;

    private Integer height;

    private Integer width;

    @Override
    public String toString() {
        return "{" +
                "\"filePath\":\"" + filePath + "\"" +
                ",\"height\":" + height +
                ",\"width\":" + width +
                ",\"size\":" + size +
                ",\"mimeType\":\"" + mimeType + "\"" +
                ",\"fileType\":" + fileType +
                ",\"typeId\":" + typeId +
                ",\"loginId\":" + loginId +
                ",\"ip\":\"" + ip + "\"" +
                "}";
    }
}
