import 'package:hive/hive.dart';

part 'shalat_log.g.dart';

@HiveType(typeId: 7)
class ShalatLog {
  @HiveField(0)
  bool completed;

  @HiveField(1)
  String? location; // 'Rumah' or 'Masjid'

  @HiveField(2)
  bool? qabliyah;

  @HiveField(3)
  bool? badiyah;

  ShalatLog({
    this.completed = false,
    this.location,
    this.qabliyah,
    this.badiyah,
  });
}
