ProcessStatisticsVO.java 1.1 KB
package com.skua.modules.process.vo;

import com.skua.tool.util.DigitalUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="production_duty_group_user数据传输对象", description="生产值班班组-用户")
public class ProcessStatisticsVO {
    @ApiModelProperty(value = "流程名称")
    private String processName;
    @ApiModelProperty(value = "流程key")
    private String processKey;
    @ApiModelProperty(value = "未签到数量")
    private String claimCount;
    @ApiModelProperty(value = "代办任务数量")
    private String todoCount;

    @ApiModelProperty(value = "总数")
    private String totalCount;

    public String getTotalCount() {
        return DigitalUtils.add( this.getTotalCount()  , this.getClaimCount() ) ;
    }

    public ProcessStatisticsVO(){
    }

    public ProcessStatisticsVO(String processName, String processKey, String claimCount, String todoCount) {
        this.processName = processName;
        this.processKey = processKey;
        this.claimCount = claimCount;
        this.todoCount = todoCount;
    }
}