/// City Entity
///
/// Represents a city/province in Vietnam.
library;

import 'package:equatable/equatable.dart';

/// City Entity
///
/// Domain entity representing a city or province.
class City extends Equatable {
  final String name; // Frappe ERPNext name/ID
  final String cityName; // Display name
  final String code; // City code

  const City({
    required this.name,
    required this.cityName,
    required this.code,
  });

  @override
  List<Object?> get props => [name, cityName, code];

  @override
  String toString() => 'City(name: $name, cityName: $cityName, code: $code)';
}
