me.chanjar.weixin.channel.bean.image.ChannelImageResponse Maven / Gradle / Ivy
package me.chanjar.weixin.channel.bean.image;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.File;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse;
/**
* @author Zeyes
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class ChannelImageResponse extends WxChannelBaseResponse {
private static final long serialVersionUID = -4163511427507976489L;
@JsonIgnore
private File file;
private String contentType;
public ChannelImageResponse() {
}
public ChannelImageResponse(File file, String contentType) {
this.errCode = SUCCESS_CODE;
this.errMsg = "ok";
this.file = file;
this.contentType = contentType;
}
}