package com.ycl.vo.casePool;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import lombok.Data;
|
|
|
public class WorkOrderVO {
|
@ExcelProperty(value = "姓名", index = 1)
|
private String name;
|
@ExcelProperty(value = "任务总数", index = 2)
|
private Integer taskCount;
|
@ExcelProperty(value = "已完成数量", index = 3)
|
private Integer finishCount;
|
@ExcelProperty(value = "未完成数量", index = 4)
|
private Integer notFinishCount;
|
@ExcelProperty(value = "完成率", index = 5)
|
private Double finishRadio;
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Integer getTaskCount() {
|
return taskCount;
|
}
|
|
public void setTaskCount(Integer taskCount) {
|
this.taskCount = taskCount;
|
}
|
|
public Integer getFinishCount() {
|
return finishCount;
|
}
|
|
public void setFinishCount(Integer finishCount) {
|
this.finishCount = finishCount;
|
}
|
|
public Integer getNotFinishCount() {
|
return this.taskCount - this.finishCount;
|
}
|
|
public void setNotFinishCount(Integer notFinishCount) {
|
this.notFinishCount = notFinishCount;
|
}
|
|
public Double getFinishRadio() {
|
return ((double) this.finishCount) / ((double) this.taskCount);
|
}
|
|
public void setFinishRadio(Double finishRadio) {
|
this.finishRadio = finishRadio;
|
}
|
}
|