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.
26 lines
574 B
26 lines
574 B
10 months ago
|
import 'package:huixiang/generated/json/base/json_field.dart';
|
||
|
import 'package:huixiang/generated/json/user_entity.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class UserEntity {
|
||
|
UserEntity();
|
||
|
|
||
|
String? account;
|
||
|
String? avatar;
|
||
|
String? expiration;
|
||
|
String? expire;
|
||
|
String? mobile;
|
||
|
String? name;
|
||
|
String? refreshToken;
|
||
|
String? token;
|
||
|
String? tokenType;
|
||
|
String? userId;
|
||
|
String? userType;
|
||
|
String? workDescribe;
|
||
|
|
||
|
factory UserEntity.fromJson(Map<String, dynamic> json) =>
|
||
|
$UserEntityFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => $UserEntityToJson(this);
|
||
|
}
|