package com.remax.visualnovel.constant

/**
 * Created by HJW on 2023/8/25
 */
class LockTypeConstant {
    companion object {
        const val PUBLIC = 1
        const val PRIVATE = 2

        /**
         * 图片公开
         */
        fun isOpen(pubType: Int?) = pubType != PRIVATE

        /**
         * 图片是否解锁
         */
        fun isUnLock(lockType: String?) = lockType != LOCK

        const val LOCK = "LOCK"
        const val UNLOCK = "UNLOCK"
    }
}