/// Ward Entity
///
/// Represents a ward/district in a city.
library;

import 'package:equatable/equatable.dart';

/// Ward Entity
///
/// Domain entity representing a ward or district within a city.
class Ward extends Equatable {
  final String name; // Frappe ERPNext name/ID
  final String wardName; // Display name
  final String code; // Ward code

  const Ward({
    required this.name,
    required this.wardName,
    required this.code,
  });

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

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