package com.flightfeather.grid.external.vo
|
|
import com.flightfeather.grid.domain.ds1.entity.ClueConclusion
|
import com.flightfeather.grid.vo.ViewObjectInterface
|
|
class ClueConclusionDto: ViewObjectInterface<ClueConclusion> {
|
|
constructor()
|
|
constructor(clueConclusion: ClueConclusion) {
|
clueConclusion.let {
|
questionType = it.ccQuestionType
|
clueId = it.cId
|
conclusion = it.ccConclusion
|
details = it.ccDetails
|
}
|
}
|
|
// 问题类型(有问题、无问题、已解决)
|
var questionType: String? = null
|
// 线索id
|
var clueId: Int? = null
|
// 线索结论
|
var conclusion: String? = null
|
// 详细描述
|
var details: String? = null
|
|
override fun toEntity(): ClueConclusion = ClueConclusion().apply {
|
cId = clueId
|
ccQuestionType = questionType
|
ccConclusion = conclusion
|
ccDetails = details
|
}
|
}
|