30 lines
860 B
Dart
30 lines
860 B
Dart
/*
|
|
* @Author: wangyang 1147192855@qq.com
|
|
* @Date: 2022-08-01 10:02:40
|
|
* @LastEditors: wangyang 1147192855@qq.com
|
|
* @LastEditTime: 2022-09-28 18:07:50
|
|
* @FilePath: \marking_app\lib\common\model\sys\system_version.dart
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'system_version.g.dart';
|
|
|
|
|
|
@JsonSerializable()
|
|
class SystemVersion extends Object{
|
|
|
|
@JsonKey(name: 'version')
|
|
String version;
|
|
|
|
@JsonKey(name: 'apkUrl')
|
|
String apkUrl;
|
|
|
|
@JsonKey(name: 'description')
|
|
String? description;
|
|
|
|
SystemVersion(this.version,this.apkUrl,this.description);
|
|
|
|
factory SystemVersion.fromJson(Map<String, dynamic> srcJson) => _$SystemVersionFromJson(srcJson);
|
|
|
|
} |