package com.flightfeather.grid.external.vo
|
|
import com.flightfeather.grid.domain.ds1.entity.ClueQuestion
|
|
class ClueQuestionDto {
|
|
constructor()
|
|
constructor(clueQuestion: ClueQuestion, baseImgPath: String) {
|
clueQuestion.let {
|
clueId = it.cId
|
questionName = it.cqName
|
questionDescription = it.cqDescription
|
street = it.cqStreet
|
address = it.cqAddress
|
lon = it.cqLongitude
|
lat = it.cqLatitude
|
filePaths = it.cqFilePath.split(";").map { p-> baseImgPath + p }
|
}
|
}
|
|
var clueId: Int? = null
|
var questionName: String? = null
|
var questionDescription: String? = null
|
var street: String? = null
|
var address: String? = null
|
var lon: Double? = null
|
var lat: Double? = null
|
var filePaths: List<String>? = null
|
}
|