package cn.muchinfo.rma.global.data.database

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 数据库错误信息
 * @property errorid Int 异常ID
 * @property errorcode String 异常代码
 * @property description String 异常描述
 * @property modulecode String 所属模块
 * @property operatecode String 所属操作
 * @property rownumber String 行号
 * @constructor
 */
@Entity(tableName = "errorcode")
data class ErrorCodeEntity(
    @PrimaryKey(autoGenerate = false)
    var errorid: Int = 0,
    var errorcode: String = "",
    var description: String = "",
    var modulecode: String = "",
    var operatecode: String = "",
    var rownumber: String = ""
)