BAOLH
2026-11-10 4d730af0447c686133130d0116a0fa3dd82c2dca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package me.zhengjie.modules.weixin.cp.bean.smartsheet.record;
 
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
 
import java.io.Serializable;
 
@Data
public class RecordCellImageValue implements Serializable {
 
    private static final long serialVersionUID = 7922935584848729761L;
 
    /**
     * 图片 ID,自定义id
     */
    @SerializedName("id")
    private String id;
 
    /**
     * 图片标题
     */
    @SerializedName("title")
    private String title;
 
    /**
     * 图片链接,通过上传图片接口获取
     */
    @SerializedName("image_url")
    private String imageUrl;
 
    /**
     * 图片宽度
     */
    @SerializedName("width")
    private Integer width;
 
    /**
     * 图片高度
     */
    @SerializedName("height")
    private Integer height;
 
    public static RecordCellImageValue fromJson(String json) {
        return WxCpGsonBuilder.create().fromJson(json, RecordCellImageValue.class);
    }
 
    public String toJson() {
        return WxCpGsonBuilder.create().toJson(this);
    }
}