Merge pull request #3004 from kiwix/Issue#3003

Convert NetworkLanguageSpec.java into kotlin
This commit is contained in:
Kelson 2022-09-07 07:19:01 +02:00 committed by GitHub
commit a469ff3d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,14 +15,13 @@
* 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")
public class NetworkLanguageSpec {
public String languageISO3;
public boolean enabled;
public int numberOfOccurences;
class NetworkLanguageSpec {
var languageISO3: String? = null
var enabled = false
var numberOfOccurences = 0
}