package com.cool.store.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author suzhuhong
 * @Date 2024/4/8 19:12
 * @Version 1.0
 */
@Data
public class PendingCountDTO {

    @ApiModelProperty("加盟申请待处理")
    private Integer intendPendingCount;
    @ApiModelProperty("邀约面谈待处理数据")
    private Integer interviewPendingCount;
    @ApiModelProperty("一审面试待处理数据")
    private Integer firstInterviewPendingCount;
    @ApiModelProperty("支付待处理数据")
    private Integer payStagePendingCount;
    @ApiModelProperty("意向签约待处理数据")
    private Integer signingPendingCount;
    @ApiModelProperty("门店实训待处理数量")
    private Integer storeExperiencePendingCount;
    @ApiModelProperty("二审面试待处理数据")
    private Integer secondInterviewPendingCount;
    @ApiModelProperty("总数")
    private Integer totalCount;

    public Integer getTotalCount() {
        totalCount = intendPendingCount + interviewPendingCount + firstInterviewPendingCount + payStagePendingCount + signingPendingCount + storeExperiencePendingCount + secondInterviewPendingCount;
        return totalCount;
    }
}
