import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:legacy_shared/legacy_shared.dart';

part 'change_password_view_state.freezed.dart';

@freezed
abstract class ChangePasswordViewState with _$ChangePasswordViewState {
  const factory ChangePasswordViewState({
    UserEntity? loggedUser,
    @Default(false) bool isLoading,
    @Default('') String currentPassword,
    @Default('') String newPassword,
    @Default('') String repeatPassword,
    @Default('') String errorMessage
  }) = _ChangePasswordViewState;
}
