import 'package:equatable/equatable.dart'; class UserEntity extends Equatable { final String userId; final String username; final String nickname; final String token; final int orgId; // 组织ID,用于获取场站列表 final String? avatar; final String? email; final String? phone; UserEntity({ required this.userId, required this.username, required this.nickname, required this.token, required this.orgId, this.avatar, this.email, this.phone, }); @override List get props => [ userId, username, nickname, avatar, token, orgId, email, phone, ]; }