package com.flightfeather.grid.external.vo
|
|
import com.flightfeather.grid.domain.ds1.entity.Clue
|
import com.flightfeather.grid.utils.DateUtil
|
import com.flightfeather.grid.vo.ClueVo
|
import com.flightfeather.grid.vo.ViewObjectInterface
|
|
class ClueDto : ViewObjectInterface<Clue> {
|
|
var id: Int? = null
|
var clueName: String? = null
|
var conclusion: String? = null
|
var address: String? = null
|
var longitude: Double? = null
|
var latitude: Double? = null
|
var discoverTime: String? = null
|
var xfsj: String? = null
|
var alarmTime: String? = null
|
var siteName: String? = null
|
var factor: String? = null
|
var url: String? = null
|
var mapUrl: String? = null
|
var pid: Int? = null
|
var isWind: String? = null
|
var airCheckedOptions: String? = null
|
var onlineCheckedOptions: String? = null
|
var pollutionCheckedOptions: String? = null
|
var createTime: String? = null
|
var center: String? = null
|
var zoom: String? = null
|
var circlecontribution: Double? = null
|
var sitetype: String? = null
|
var simulateenddate: String? = null
|
var pfsj: String? = null
|
var sbsj: String? = null
|
var node: String? = null
|
|
override fun toEntity(): ClueVo = ClueVo().apply {
|
cId = id
|
cClueName = clueName
|
cConclusion = conclusion
|
cAlarmTime = DateUtil.stringToDate(alarmTime)
|
cSiteName = siteName
|
cFactor = factor
|
cReleaseTime = DateUtil.stringToDate(xfsj)
|
cAirCheckedOptions = airCheckedOptions
|
cPollutionCheckedOptions = pollutionCheckedOptions
|
cCreateTime = DateUtil.stringToDate(discoverTime)
|
cCenter = center
|
cZoom = zoom
|
cLongitude = longitude
|
cLatitude = latitude
|
cSiteType = sitetype
|
cReportTime = DateUtil.stringToDate(sbsj)
|
cUploaded = false
|
cAddress = address
|
}
|
}
|