You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import 'package:hive/hive.dart'; |
|
|
|
@HiveType(typeId: 7) // 确保与适配器的typeId一致 |
|
class StdField { |
|
@HiveField(0) |
|
final String name; |
|
|
|
@HiveField(1) |
|
final String chineseName; |
|
|
|
@HiveField(2) |
|
final String dateType; |
|
|
|
StdField({required this.name, required this.chineseName, required this.dateType}); |
|
}
|
|
|