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.
27 lines
517 B
27 lines
517 B
4 years ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part '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);
|
||
|
|
||
|
}
|