enaklo-flutter/lib/domain/customer/entities/customer_point_entity.dart
2025-09-18 13:01:31 +07:00

19 lines
394 B
Dart

part of '../customer.dart';
@freezed
class CustomerPoint with _$CustomerPoint {
const factory CustomerPoint({
required String status,
required String message,
required int totalPoints,
required String lastUpdated,
}) = _CustomerPoint;
factory CustomerPoint.empty() => const CustomerPoint(
status: '',
message: '',
totalPoints: 0,
lastUpdated: '',
);
}