LunchPick(오늘 뭐 먹Z?) Flutter 앱의 초기 구현입니다. 주요 기능: - 네이버 지도 연동 맛집 추가 - 랜덤 메뉴 추천 시스템 - 날씨 기반 거리 조정 - 방문 기록 관리 - Bluetooth 맛집 공유 - 다크모드 지원 기술 스택: - Flutter 3.8.1+ - Riverpod 상태 관리 - Hive 로컬 DB - Clean Architecture 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
514 B
Dart
29 lines
514 B
Dart
import 'package:hive/hive.dart';
|
|
|
|
part 'visit_record.g.dart';
|
|
|
|
@HiveType(typeId: 2)
|
|
class VisitRecord extends HiveObject {
|
|
@HiveField(0)
|
|
final String id;
|
|
|
|
@HiveField(1)
|
|
final String restaurantId;
|
|
|
|
@HiveField(2)
|
|
final DateTime visitDate;
|
|
|
|
@HiveField(3)
|
|
final bool isConfirmed;
|
|
|
|
@HiveField(4)
|
|
final DateTime createdAt;
|
|
|
|
VisitRecord({
|
|
required this.id,
|
|
required this.restaurantId,
|
|
required this.visitDate,
|
|
required this.isConfirmed,
|
|
required this.createdAt,
|
|
});
|
|
} |