package com.storlead.sales.pojo.vo.report;

import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "数据简报列表VO")
public class DashboardSketchPageVO extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "组织id")
    private Long organizationId;

    @ApiModelProperty(value = "组织名称")
    private String organizationName;

    @ApiModelProperty(value = "简报类型：10：周报，20：月报,30：季度，40：半年度，50：年度")
    private Integer sketchType;

    @ApiModelProperty(value = "简报名称")
    private String sketchName;

    @ApiModelProperty(value = "组织类别：10：个人，20：部门,30：分公司，40：集团")
    private Integer organizationType;

    @ApiModelProperty(value = "年")
    private Integer year;

    @ApiModelProperty(value = "月")
    private Integer month;

    @ApiModelProperty(value = "具体周期")
    private Integer cycle;

    @ApiModelProperty(value = "周期名称")
    private String cycleName;

    @ApiModelProperty(value = "订单新增总金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "客户新增数")
    private Integer customerNewNum;

    @ApiModelProperty(value = "商机新增数")
    private Integer businessNewNum;

    @ApiModelProperty(value = "订单新增数")
    private Integer orderNewNum;

    @ApiModelProperty(value = "线索新增数")
    private Integer leadNewNum;

    @ApiModelProperty(value = "跟进新增数")
    private Integer followNewNum;

    @ApiModelProperty(value = "邮件新增数")
    private Integer mailNewNum;

    @ApiModelProperty(value = "JSON格式存储数据")
    private String sketchDataJson;

    @ApiModelProperty(value = "上级部门名称")
    private String deptName;

    @ApiModelProperty(value = "上级公司名称")
    private String companyName;

}
