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 RecordCellLocationValue implements Serializable {
|
|
private static final long serialVersionUID = 5336066522888954119L;
|
|
/**
|
* 填1,表示来源为腾讯地图。目前只支持腾讯地图来源
|
*/
|
@SerializedName("source_type")
|
private Integer sourceType;
|
|
/**
|
* 地点ID
|
*/
|
@SerializedName("id")
|
private String id;
|
|
/**
|
* 纬度
|
*/
|
@SerializedName("latitude")
|
private String latitude;
|
|
/**
|
* 经度
|
*/
|
@SerializedName("longitude")
|
private String longitude;
|
|
/**
|
* 地点名称
|
*/
|
@SerializedName("title")
|
private String title;
|
|
public static RecordCellLocationValue fromJson(String json) {
|
return WxCpGsonBuilder.create().fromJson(json, RecordCellLocationValue.class);
|
}
|
|
public String toJson() {
|
return WxCpGsonBuilder.create().toJson(this);
|
}
|
}
|