mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-11 00:23:58 -04:00
Merge pull request #3004 from kiwix/Issue#3003
Convert NetworkLanguageSpec.java into kotlin
This commit is contained in:
commit
a469ff3d85
@ -15,14 +15,13 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
package org.kiwix.kiwixmobile.core.data.local.entity
|
||||||
|
|
||||||
package org.kiwix.kiwixmobile.core.data.local.entity;
|
import com.yahoo.squidb.annotations.TableModelSpec
|
||||||
|
|
||||||
import com.yahoo.squidb.annotations.TableModelSpec;
|
|
||||||
|
|
||||||
@TableModelSpec(className = "NetworkLanguageDatabaseEntity", tableName = "networkLanguages")
|
@TableModelSpec(className = "NetworkLanguageDatabaseEntity", tableName = "networkLanguages")
|
||||||
public class NetworkLanguageSpec {
|
class NetworkLanguageSpec {
|
||||||
public String languageISO3;
|
var languageISO3: String? = null
|
||||||
public boolean enabled;
|
var enabled = false
|
||||||
public int numberOfOccurences;
|
var numberOfOccurences = 0
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user