1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  | package com.dayu.baselibrary.dbbean; 
 |    
 |  import androidx.room.Entity; 
 |  import androidx.room.PrimaryKey; 
 |    
 |  /** 
 |   * author: zuo 
 |   * Date: 2024-04-25 
 |   * Time: 17:50 
 |   * 备注:首次启动程序选择的模块 
 |   */ 
 |  @Entity 
 |  public class LibraryBean { 
 |      @PrimaryKey(autoGenerate = true) 
 |      public long id; 
 |      //0:河南版本,1齐河单机版 
 |      private int type; 
 |    
 |      public int getType() { 
 |          return type; 
 |      } 
 |    
 |      public void setType(int type) { 
 |          this.type = type; 
 |      } 
 |  } 
 |  
  |