package cn.superdesk.uniorder.dto.vo.marketing.department;

import lombok.Data;

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

/**
 * @Description: 重构
 * @Author: linjinyu
 * @CreateDate: 2020/11/25 下午1:17
 * @UpdateUser: linjinyu
 * @UpdateDate: 2020/11/25 下午1:17
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
public class UnifiedAreaTJ implements Serializable {

	private static final long serialVersionUID = 567786116762735211L;

	private Long id;
	private Long parentId;

	private String areaFullIds;
	private String areaName;


	private Integer lev;

	/****************************************** 添加字段 20201125 start ******************************************/
	private BigDecimal okrTarget;
	private BigDecimal kpiTarget;
	private BigDecimal profitKpiTarget;
	/****************************************** 添加字段 20201125   end ******************************************/

	private Integer    yearly;
	private Integer    monthly;

	private Integer virtCount;

	private String customerUsernames;
	private String purchaseUsernames;

	private BigDecimal overRate;//完成率=(完成金额-退货金额)÷KPI指标
	private String     overRateString;

	/****************************************** 字段改名 20201125 start ******************************************/
	private BigDecimal orderAmount;//本月完成金额
	private BigDecimal orderCostAmount;//成本金额 add 20200310
	private BigDecimal orderRefundAmount;//本月退货金额
	private BigDecimal orderRefundCostAmount;//退货成本金额 add 20200310
	/****************************************** 字段改名 20201125   end ******************************************/

	/****************************************** 添加字段 20201125 start ******************************************/
	// 运费
	private BigDecimal orderTransportAmount;

	private BigDecimal goodsAmount;
	private BigDecimal goodsCostAmount;
	private BigDecimal goodsRefundAmount;
	private BigDecimal goodsRefundCostAmount;
	private BigDecimal goodsTransportAmount;
	/****************************************** 添加字段 20201125   end ******************************************/


	/****************************************** 字段改名 20201125 start ******************************************/
	private BigDecimal lastMonthAmount;//上月完成金额
	private BigDecimal lastMonthRate;//上月环比 上月环比=(本月完成金额-上月完成金额)÷上月完成金额×100%
	/****************************************** 字段改名 20201125   end ******************************************/


	// 本月利润
	private BigDecimal profit;
	// 本月毛利率
	private BigDecimal profitRate;
	// 本月毛利完成率
	private BigDecimal profitCompletionRate;

	private List<UnifiedAreaTJ> childrens;


}
