mirrored_repositories/Pretty-Ui/Ngamar/lib/features/home
import 'package:ngamar/core/core.dart';

class ProductModel {
  String id;
  String image;
  String name;
  double oldPrice;
  double currentPrice;
  String offPercentage;
  int totalRatings;
  double averageRatings;
  String description;
  String ownerName;
  ProductCategory category;
  ProductFilter filter;
  ProductModel({
    required this.id,
    required this.image,
    required this.name,
    required this.oldPrice,
    required this.currentPrice,
    required this.offPercentage,
    required this.totalRatings,
    required this.averageRatings,
    required this.description,
    required this.ownerName,
    required this.category,
    required this.filter,
  });
}

List<ProductModel> dummyProductList = [
  ProductModel(
    id: '1',
    image: AppAssets.kDummyProduct1,
    name: 'Lokman Sofa Premium',
    oldPrice: 599.99,
    currentPrice: 399.99,
    offPercentage: '30% Off',
    totalRatings: 320,
    averageRatings: 4.9,
    description: dummyTextDescription,
    ownerName: 'John Doe',
    category: ProductCategory.sofa,
    filter: ProductFilter.brand,
  ),
  ProductModel(
    id: '2',
    image: AppAssets.kDummyProduct2,
    name: 'King Bed Leonard',
    oldPrice: 249.99,
    currentPrice: 199.99,
    offPercentage: '20% Off',
    totalRatings: 123,
    averageRatings: 5.0,
    description: dummyTextDescription,
    ownerName: 'Jane Smith',
    category: ProductCategory.bed,
    filter: ProductFilter.latest,
  ),
  ProductModel(
    id: '3',
    image: AppAssets.kDummyProduct3,
    name: 'Lorem Ipsum Chair',
    oldPrice: 199.99,
    currentPrice: 149.99,
    offPercentage: '25% Off',
    totalRatings: 256,
    averageRatings: 4.8,
    description: dummyTextDescription,
    ownerName: 'Robert Johnson',
    category: ProductCategory.chair,
    filter: ProductFilter.mostPopular,
  ),
  ProductModel(
    id: '4',
    image: AppAssets.kDummyProduct4,
    name: 'Classic Desk Lamp',
    oldPrice: 499.99,
    currentPrice: 399.99,
    offPercentage: '20% Off',
    totalRatings: 432,
    averageRatings: 4.7,
    description: dummyTextDescription,
    ownerName: 'Emily Wilson',
    category: ProductCategory.lamp,
    filter: ProductFilter.brand,
  ),
  ProductModel(
    id: '5',
    image: AppAssets.kDummyProduct5,
    name: 'Vintage Coffee Table',
    oldPrice: 799.99,
    currentPrice: 599.99,
    offPercentage: '25% Off',
    totalRatings: 520,
    averageRatings: 4.9,
    description: dummyTextDescription,
    ownerName: 'Michael Brown',
    category: ProductCategory.table,
    filter: ProductFilter.mostPopular,
  ),
  ProductModel(
    id: '6',
    image: AppAssets.kDummyProduct6,
    name: 'Leather Sectional Sofa',
    oldPrice: 149.99,
    currentPrice: 99.99,
    offPercentage: '33% Off',
    totalRatings: 180,
    averageRatings: 4.5,
    description: dummyTextDescription,
    ownerName: 'Sophia Davis',
    category: ProductCategory.sofa,
    filter: ProductFilter.brand,
  ),
  ProductModel(
    id: '7',
    image: AppAssets.kDummyProduct7,
    name: 'Modern Dining Table',
    oldPrice: 39.99,
    currentPrice: 29.99,
    offPercentage: '25% Off',
    totalRatings: 85,
    averageRatings: 4.6,
    description: dummyTextDescription,
    ownerName: 'David Clark',
    category: ProductCategory.table,
    filter: ProductFilter.mostPopular,
  ),
  ProductModel(
    id: '8',
    image: AppAssets.kDummyProduct8,
    name: 'Cozy Armchair',
    oldPrice: 199.99,
    currentPrice: 149.99,
    offPercentage: '25% Off',
    totalRatings: 210,
    averageRatings: 4.8,
    description: dummyTextDescription,
    ownerName: 'Olivia White',
    category: ProductCategory.chair,
    filter: ProductFilter.latest,
  ),
  ProductModel(
    id: '9',
    image: AppAssets.kDummyProduct9,
    name: 'Modern Premium Sofa',
    oldPrice: 149.99,
    currentPrice: 119.99,
    offPercentage: '20% Off',
    totalRatings: 174,
    averageRatings: 4.7,
    description: dummyTextDescription,
    ownerName: 'Daniel Lee',
    category: ProductCategory.chair,
    filter: ProductFilter.mostPopular,
  ),
  ProductModel(
    id: '10',
    image: AppAssets.kDummyProduct10,
    name: 'Rustic Bookshelf',
    oldPrice: 99.99,
    currentPrice: 79.99,
    offPercentage: '20% Off',
    totalRatings: 10,
    averageRatings: 4.6,
    description: dummyTextDescription,
    ownerName: 'Ava Martinez',
    category: ProductCategory.table,
    filter: ProductFilter.latest,
  ),
  ProductModel(
    id: '11',
    image: AppAssets.kDummyProduct11,
    name: 'Accent Wooden Chairs',
    oldPrice: 29.99,
    currentPrice: 19.99,
    offPercentage: '33% Off',
    totalRatings: 68,
    averageRatings: 4.5,
    description: dummyTextDescription,
    ownerName: 'James Harris',
    category: ProductCategory.chair,
    filter: ProductFilter.brand,
  ),
];
