package com.greenorange.promotion.model.vo.userPerformanceSummary;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 用户绩效汇总 视图对象
 */
@Data
@Schema(description = "用户绩效汇总 视图对象")
public class UserPerformanceSummaryVO implements Serializable {

    /**
     * 用户绩效汇总ID
     */
    @Schema(description = "用户绩效汇总ID", example = "1")
    private Long id;

    /**
     * 订单总金额
     */
    @Schema(description = "订单总金额", example = "")
    private BigDecimal totalAmount;

    /**
     * 净成交
     */
    @Schema(description = "净成交", example = "")
    private BigDecimal netAmount;

    /**
     * 推广人数
     */
    @Schema(description = "推广人数", example = "")
    private Integer promoCount;

    /**
     * 员工数量
     */
    @Schema(description = "员工数量", example = "")
    private Integer empCount;

    /**
     * 下单数量
     */
    @Schema(description = "下单数量", example = "")
    private Integer orderCount;

    /**
     * 待释放
     */
    @Schema(description = "待释放", example = "")
    private BigDecimal toRelease;

    /**
     * 可结算
     */
    @Schema(description = "可结算", example = "")
    private BigDecimal toSettle;

    /**
     * 已结算
     */
    @Schema(description = "已结算", example = "")
    private BigDecimal settled;

    /**
     * 已回退
     */
    @Schema(description = "已回退", example = "")
    private BigDecimal refunded;

    /**
     * 用户id
     */
    @Schema(description = "用户id", example = "")
    private Long userId;


    @Serial
    private static final long serialVersionUID = 1L;
}
