mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-10 07:48:30 -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/>.
|
||||
*
|
||||
*/
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user