30 lines
538 B
Dart
30 lines
538 B
Dart
/// 로그인 성공 시 반환되는 사용자 정보.
|
|
class AuthenticatedUser {
|
|
const AuthenticatedUser({
|
|
required this.id,
|
|
required this.name,
|
|
this.employeeNo,
|
|
this.email,
|
|
this.primaryGroupId,
|
|
this.primaryGroupName,
|
|
});
|
|
|
|
/// 사용자 식별자
|
|
final int id;
|
|
|
|
/// 이름
|
|
final String name;
|
|
|
|
/// 사번
|
|
final String? employeeNo;
|
|
|
|
/// 이메일
|
|
final String? email;
|
|
|
|
/// 기본 소속 그룹 ID
|
|
final int? primaryGroupId;
|
|
|
|
/// 기본 소속 그룹명
|
|
final String? primaryGroupName;
|
|
}
|