增加语音相关业务

This commit is contained in:
qiji4215
2023-05-04 11:02:33 +08:00
parent 62ce5b1566
commit 9379e7a7bb
14 changed files with 313 additions and 190 deletions

View File

@@ -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()

View File

@@ -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