package com.all.pdfreader.pro.app.model

data class RenameResult(
    val success: Boolean,
    val errorMessage: String? = null,
    val newFilePath: String? = null
) {
    companion object {
        fun success(newFilePath: String) = RenameResult(true, null, newFilePath)
        fun failure(message: String) = RenameResult(false, message)
    }
}