
me.chanjar.weixin.cp.bean.school.WxCpResultList Maven / Gradle / Ivy
package me.chanjar.weixin.cp.bean.school;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import me.chanjar.weixin.cp.bean.WxCpBaseResp;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
import java.io.Serializable;
import java.util.List;
/**
* 获取师生健康码.
*
* @author Wang_Wong
*/
@Data
public class WxCpResultList extends WxCpBaseResp implements Serializable {
private static final long serialVersionUID = -5028321625142879581L;
@SerializedName("result_list")
private List qrCodeList;
@Setter
@Getter
public static class QrCodeList extends WxCpBaseResp{
@SerializedName("userid")
private String userId;
@SerializedName("qrcode_data")
private String qrCodeData;
public static QrCodeList fromJson(String json) {
return WxCpGsonBuilder.create().fromJson(json, QrCodeList.class);
}
public String toJson() {
return WxCpGsonBuilder.create().toJson(this);
}
}
public static WxCpResultList fromJson(String json) {
return WxCpGsonBuilder.create().fromJson(json, WxCpResultList.class);
}
public String toJson() {
return WxCpGsonBuilder.create().toJson(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy