PIbd-31_Belianin_N._N._PMD/lib/property_model.dart
nikbel2004@outlook.com a3214bce28 laboratory_2
2024-09-17 00:43:15 +04:00

27 lines
443 B
Dart

enum PropertyType {
apartment,
flat,
house,
atelier
}
class Property {
final String title;
String? description;
final String? location;
final DateTime? daterent;
double price;
bool isAvailable;
PropertyType type;
Property ({
required this.title,
this.description,
required this.location,
this.daterent,
required this.price,
this.isAvailable = false,
this.type = PropertyType.flat,
});
}