Coverage Summary for Class: CategorizedTransactionEntity (com.georgeci.moneysurfer.data.db.entity)

Class Class, % Method, % Branch, % Line, % Instruction, %
CategorizedTransactionEntity 100% (1/1) 100% (1/1) 100% (20/20) 100% (108/108)


 package com.georgeci.moneysurfer.data.db.entity
 
 import androidx.room.ColumnInfo
 
 data class CategorizedTransactionEntity(
     @ColumnInfo(name = "id") val id: String,
     @ColumnInfo(name = "workspaceId") val workspaceId: String,
     @ColumnInfo(name = "accountId") val accountId: String,
     @ColumnInfo(name = "amount") val amount: Long,
     @ColumnInfo(name = "currencyCode") val currencyCode: String,
     @ColumnInfo(name = "categoryId") val categoryId: String?,
     @ColumnInfo(name = "categoryName") val categoryName: String?,
     @ColumnInfo(name = "note") val note: String,
     @ColumnInfo(name = "merchant") val merchant: String,
     @ColumnInfo(name = "tags") val tags: String,
     @ColumnInfo(name = "operationAt") val operationAt: Long,
     @ColumnInfo(name = "operationDate") val operationDate: String,
     @ColumnInfo(name = "type") val type: String,
     @ColumnInfo(name = "status") val status: String,
     @ColumnInfo(name = "createdAt") val createdAt: Long,
     @ColumnInfo(name = "updatedAt") val updatedAt: Long,
     @ColumnInfo(name = "transferId") val transferId: String? = null,
     @ColumnInfo(name = "splitId") val splitId: String? = null,
     /**
      * How many legs this row's split group has in the whole table, or `0` for a row that is not
      * part of a split — see `TransactionDao.getCategorizedWindow`. Not a stored column: it is
      * counted per row, so it can never drift the way a denormalized leg count would under LWW sync.
      */
     @ColumnInfo(name = "splitLegCount") val splitLegCount: Int = 0,
     @ColumnInfo(name = "recurringRuleId") val recurringRuleId: String? = null,
 )