import 'package:freezed_annotation/freezed_annotation.dart';

part 'two_fa_secret_entity.freezed.dart';

@freezed
abstract class TwoFASecretEntity with _$TwoFASecretEntity {
  const factory TwoFASecretEntity({
    required bool isCreated,
    required TwoFASecretItemEntity item,
  }) = _TwoFASecretEntity;
}

@freezed
abstract class TwoFASecretItemEntity with _$TwoFASecretItemEntity {
  const factory TwoFASecretItemEntity({
    required String secret,
    required String qr,
  }) = _TwoFASecretItemEntity;
}
