增加语音相关业务
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.navinfo.collect.library.data.entity
|
||||
|
||||
import io.realm.RealmObject
|
||||
|
||||
open class AttachmentBean @JvmOverloads constructor(
|
||||
/**
|
||||
* 文件名称
|
||||
*/
|
||||
var name: String = "",
|
||||
/**
|
||||
* 默认0 照片 录音1
|
||||
*/
|
||||
var type: Int = 0
|
||||
|
||||
) : RealmObject()
|
||||
@@ -1,12 +1,11 @@
|
||||
package com.navinfo.collect.library.data.entity
|
||||
|
||||
import com.navinfo.collect.library.utils.GeometryToolsKt
|
||||
import com.navinfo.omqs.bean.Attachment
|
||||
import io.realm.RealmList
|
||||
import io.realm.RealmObject
|
||||
import io.realm.RealmSet
|
||||
import io.realm.annotations.PrimaryKey
|
||||
|
||||
|
||||
/**
|
||||
* @author zhjch
|
||||
* @version V1.0
|
||||
@@ -78,6 +77,8 @@ open class QsRecordBean @JvmOverloads constructor(
|
||||
* 问题记录提交状态 0 未提交;1 已提交;
|
||||
*/
|
||||
var t_status: Int = 0,
|
||||
|
||||
var attachmentBeanList: RealmList<AttachmentBean> = RealmList<AttachmentBean>(),
|
||||
/**
|
||||
* 显示坐标
|
||||
*/
|
||||
@@ -87,8 +88,6 @@ open class QsRecordBean @JvmOverloads constructor(
|
||||
*/
|
||||
var guideGeometry: String = "",
|
||||
|
||||
var attachments:RealmSet<Attachment>,
|
||||
|
||||
) : RealmObject() {
|
||||
|
||||
fun copy(): QsRecordBean {
|
||||
@@ -107,7 +106,7 @@ open class QsRecordBean @JvmOverloads constructor(
|
||||
confirmUserId = confirmUserId,
|
||||
t_lifecycle = t_lifecycle,
|
||||
t_status = t_status,
|
||||
attachments = attachments,
|
||||
attachmentBeanList = attachmentBeanList,
|
||||
)
|
||||
qs.geometry = geometry
|
||||
return qs
|
||||
|
||||
Reference in New Issue
Block a user