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.sheet;
 
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
 
import java.io.Serializable;
 
@Data
public class SheetProperties implements Serializable {
 
    private static final long serialVersionUID = 3000460472715119581L;
 
    /**
     * 智能表 ID,创建子表时生成的 6 位随机 ID
     */
    @SerializedName("sheet_id")
    private String sheetId;
 
    /**
     * 智能表标题
     */
    @SerializedName("title")
    private String title;
 
    /**
     * 智能表下标
     */
    @SerializedName("index")
    private Integer index;
 
    /**
     * 子表是否可见
     */
    @SerializedName("is_visible")
    private Boolean isVisible;
 
    /**
     * 子表类型。"dashboard" 仪表盘。"external" 说明页,"smartsheet" 智能表
     */
    @SerializedName("type")
    private String type;
 
    public static SheetProperties fromJson(String json) {
        return WxCpGsonBuilder.create().fromJson(json, SheetProperties.class);
    }
 
    public String toJson() {
        return WxCpGsonBuilder.create().toJson(this);
    }
}