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 LocationFieldProperty implements Serializable {
|
|
private static final long serialVersionUID = -4039759248715773747L;
|
|
/**
|
* 输入类型:LOCATION_INPUT_TYPE_MANUAL-手动输入;LOCATION_INPUT_TYPE_AUTO-自动定位;
|
*/
|
@SerializedName("input_type")
|
private String inputType;
|
|
public static LocationFieldProperty fromJson(String json) {
|
return WxCpGsonBuilder.create().fromJson(json, LocationFieldProperty.class);
|
}
|
|
public String toJson() {
|
return WxCpGsonBuilder.create().toJson(this);
|
}
|
}
|