package cn.flightfeather.supervision.business.report
|
|
import cn.flightfeather.supervision.domain.ds1.entity.Problemlist
|
import cn.flightfeather.supervision.domain.ds1.entity.Problemtype
|
import cn.flightfeather.supervision.domain.ds1.entity.Scense
|
import cn.flightfeather.supervision.domain.ds1.entity.Subtask
|
|
/**
|
* 报告所需源数据
|
* 生成报告时,所需要的数据源
|
*/
|
class DataSource {
|
|
private var subTask: Subtask? = null
|
|
/**
|
* 指定当前进行统计的主体对象
|
*/
|
fun mainObj(subtask: Subtask) {
|
this.subTask = subTask
|
}
|
|
//场景基本信息
|
var scene: Scense? = null
|
|
//问题类型
|
var problemTypes = mutableListOf<Problemtype>()
|
|
//具体的问题
|
var problems = mutableListOf<Problemlist>()
|
}
|