package cn.superdesk.uniorder.dto.vo._dashboard;

import cn.superdesk.uniorder.common.json.deserializer.BigDecimalScale2ConvertDeserializer;
import cn.superdesk.uniorder.common.json.deserializer.BigDecimalScale4ConvertDeserializer;
import cn.superdesk.uniorder.common.json.serializer.BigDecimalScale2ConvertSerializer;
import cn.superdesk.uniorder.common.json.serializer.BigDecimalScale4ConvertSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: Java类作用描述
 * @Author: linjinyu
 * @CreateDate: 2021/9/23 下午2:48
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/9/23 下午2:48
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
public class TvMapDataVo implements Serializable {

	private Long   orgId;
	private String orgName;

	@JsonDeserialize(using = BigDecimalScale2ConvertDeserializer.class)
	@JsonSerialize(using = BigDecimalScale2ConvertSerializer.class)
	private BigDecimal orderAmount;
	private Long       orderCount;

	@JsonDeserialize(using = BigDecimalScale4ConvertDeserializer.class)
	@JsonSerialize(using = BigDecimalScale4ConvertSerializer.class)
	private BigDecimal lng;
	@JsonDeserialize(using = BigDecimalScale4ConvertDeserializer.class)
	@JsonSerialize(using = BigDecimalScale4ConvertSerializer.class)
	private BigDecimal lat;


}
