package com.macro.mall.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * oss上传文件的回调结果
 * Created by macro on 2018/5/17.
 */
public class OssCallbackResult {
    @ApiModelProperty("文件名称")
    private String filename;
    @ApiModelProperty("文件大小")
    private String size;
    @ApiModelProperty("文件的mimeType")
    private String mimeType;
    @ApiModelProperty("图片文件的宽")
    private String width;
    @ApiModelProperty("图片文件的高")
    private String height;

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }
}

@@ -69,16 +69,69 @@
 roperty;
+%0Aimport lombok.Data;%0Aimport lombok.EqualsAndHashCode;
 %0A%0A/**%0A *
@@ -182,16 +182,60 @@
 17.%0A */%0A
+@Data%0A@EqualsAndHashCode(callSuper = false)%0A
 public c
@@ -529,16 +529,16 @@
 %E7%89%87%E6%96%87%E4%BB%B6%E7%9A%84%E9%AB%98%22)%0A
+
     priv
@@ -559,723 +559,7 @@
 ght;
-%0A%0A    public String getFilename() %7B%0A        return filename;%0A    %7D%0A%0A    public void setFilename(String filename) %7B%0A        this.filename = filename;%0A    %7D%0A%0A    public String getSize() %7B%0A        return size;%0A    %7D%0A%0A    public void setSize(String size) %7B%0A        this.size = size;%0A    %7D%0A%0A    public String getMimeType() %7B%0A        return mimeType;%0A    %7D%0A%0A    public void setMimeType(String mimeType) %7B%0A        this.mimeType = mimeType;%0A    %7D%0A%0A    public String getWidth() %7B%0A        return width;%0A    %7D%0A%0A    public void setWidth(String width) %7B%0A        this.width = width;%0A    %7D%0A%0A    public String getHeight() %7B%0A        return height;%0A    %7D%0A%0A    public void setHeight(String height) %7B%0A        this.height = height;%0A    %7D
 %0A%7D%0A

Update OssCallbackResult.java