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
package me.zhengjie.modules.weixin.cp.bean.smartsheet.view;
 
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
 
import java.io.Serializable;
 
@Data
public class ViewSpecInfo implements Serializable {
 
    private static final long serialVersionUID = 5735012013638234658L;
 
    /**
     * 字段id
     */
    @SerializedName("field_id")
    private String fieldId;
 
    /**
     * 是否降序
     */
    @SerializedName("desc")
    private Boolean desc;
 
    public static ViewSpecInfo fromJson(String json) {
        return WxCpGsonBuilder.create().fromJson(json, ViewSpecInfo.class);
    }
 
    public String toJson() {
        return WxCpGsonBuilder.create().toJson(this);
    }
}