package me.zhengjie.modules.weixin.cp.bean.smartsheet.field; import com.google.gson.annotations.SerializedName; import lombok.Data; import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder; import java.io.Serializable; @Data public class CheckboxFieldProperty implements Serializable { private static final long serialVersionUID = -8297337434317087771L; /** * 新增时是否默认勾选 */ @SerializedName("checked") private Boolean checked; public static CheckboxFieldProperty fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, CheckboxFieldProperty.class); } public String toJson() { return WxCpGsonBuilder.create().toJson(this); } }