update address
This commit is contained in:
27
lib/features/account/domain/entities/city.dart
Normal file
27
lib/features/account/domain/entities/city.dart
Normal file
@@ -0,0 +1,27 @@
|
||||
/// 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)';
|
||||
}
|
||||
Reference in New Issue
Block a user