45 lines
1016 B
Dart
45 lines
1016 B
Dart
import 'package:mobdr/config/constant.dart';
|
|
|
|
class VisiteModel {
|
|
late int id;
|
|
late String name;
|
|
late double price;
|
|
late String image;
|
|
late double rating;
|
|
late int review;
|
|
late int sale;
|
|
late int stock;
|
|
late String location;
|
|
late int photo;
|
|
late String date;
|
|
|
|
VisiteModel(
|
|
{required this.id,
|
|
required this.name,
|
|
required this.price,
|
|
required this.photo,
|
|
required this.image,
|
|
required this.rating,
|
|
required this.review,
|
|
required this.sale,
|
|
required this.stock,
|
|
required this.location,
|
|
required this.date});
|
|
}
|
|
|
|
List<VisiteModel> visiteData = [
|
|
VisiteModel(
|
|
id: 1,
|
|
name: "Villeneuve d'asc ONE-STEP",
|
|
price: 62,
|
|
photo: 1,
|
|
image:
|
|
'https://mp4.ikksgroup.com/photos/1/0/1/8/4/4/101844-thumbnail.JPG',
|
|
rating: 5,
|
|
review: 42,
|
|
sale: 4,
|
|
stock: 5,
|
|
location: "Villeneuve d'asc",
|
|
date: 'Dimanche 26/02/2023 14:00')
|
|
];
|