결재 API 계약 보완 및 테스트 정리
This commit is contained in:
29
lib/features/auth/domain/entities/authenticated_user.dart
Normal file
29
lib/features/auth/domain/entities/authenticated_user.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
/// 로그인 성공 시 반환되는 사용자 정보.
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user