import 'package:mobdr/config/constant.dart';

class FlashsaleModel {
  late int id;
  late String name;
  late double price;
  late String image;
  late int discount;
  late double countItem;
  late int sale;

  FlashsaleModel(
      {required this.id,
      required this.name,
      required this.price,
      required this.image,
      required this.discount,
      required this.countItem,
      required this.sale});
}

/*
Flashsale Data Information
width = 700px
height = 700px
 */
List<FlashsaleModel> flashsaleData = [
  FlashsaleModel(
      id: 1,
      name:
          'BARDI Smart IP Camera CCTV Wifi IoT HomeAutomation Support iOS Android',
      price: 32.3,
      image: GLOBAL_URL + '/apps/ecommerce/product/1.jpg',
      discount: 35,
      countItem: 20,
      sale: 17),
  FlashsaleModel(
      id: 2,
      name: 'TEROPONG MINI 30 X 60 BINOCULARS HD NIGHT VERSION 30 X 60',
      price: 9,
      image: GLOBAL_URL + '/apps/ecommerce/product/2.jpg',
      discount: 20,
      countItem: 20,
      sale: 19),
  FlashsaleModel(
      id: 3,
      name:
          'CAFELE Premium Light Glass Case - iPhone 11 Pro iPhone 11 Pro Max - iP 11 Pro Max',
      price: 12.85,
      image: GLOBAL_URL + '/apps/ecommerce/product/3.jpg',
      discount: 30,
      countItem: 60,
      sale: 13),
  FlashsaleModel(
      id: 4,
      name:
          'Logitech G502 Hero / Mouse Logitech G 502 Hero Original Garansi Resmi',
      price: 68.25,
      image: GLOBAL_URL + '/apps/ecommerce/product/4.jpg',
      discount: 20,
      countItem: 130,
      sale: 70),
  FlashsaleModel(
      id: 5,
      name: 'Pioneer SE-C5TW TWS Bluetooth Truly Wireless Earphones - Hitam',
      price: 56.85,
      image: GLOBAL_URL + '/apps/ecommerce/product/5.jpg',
      discount: 15,
      countItem: 20,
      sale: 10),
  FlashsaleModel(
      id: 6,
      name:
          'Anker SoundCore Life Note Wireless Earbuds Bluetooth Earphones A3908 - Hitam',
      price: 76.6,
      image: GLOBAL_URL + '/apps/ecommerce/product/6.jpg',
      discount: 40,
      countItem: 130,
      sale: 99),
  FlashsaleModel(
      id: 7,
      name:
          'Audio Technica AT-LP60X Fully Automatic Belt-Drive Stereo Turntable',
      price: 215.58,
      image: GLOBAL_URL + '/apps/ecommerce/product/7.jpg',
      discount: 20,
      countItem: 40,
      sale: 30),
  FlashsaleModel(
      id: 8,
      name: 'Xiaomi Deerma CM800 UV Anti Mite Vacuum Cleaner Dust Bed Sofa',
      price: 44.28,
      image: GLOBAL_URL + '/apps/ecommerce/product/8.jpg',
      discount: 30,
      countItem: 20,
      sale: 15),
  FlashsaleModel(
      id: 9,
      name:
          'Sony SRS- XB12 / XB 12 Extra Bass Portable Bluetooth Speaker - Black',
      price: 53.33,
      image: GLOBAL_URL + '/apps/ecommerce/product/9.jpg',
      discount: 10,
      countItem: 41,
      sale: 2),
  FlashsaleModel(
      id: 10,
      name:
          'Changhong Google certified Android Smart TV 32 inch 32H4 LED TV-L32H4',
      price: 240.61,
      image: GLOBAL_URL + '/apps/ecommerce/product/10.jpg',
      discount: 46,
      countItem: 20,
      sale: 18),
  FlashsaleModel(
      id: 11,
      name: 'READY DJI Mavic Air Fly More Combo',
      price: 776.67,
      image: GLOBAL_URL + '/apps/ecommerce/product/11.jpg',
      discount: 10,
      countItem: 20,
      sale: 20),
  FlashsaleModel(
      id: 12,
      name:
          'gopro hero 8 black garansi resmi TAM / go pro hero8 black / 8black',
      price: 391.76,
      image: GLOBAL_URL + '/apps/ecommerce/product/12.jpg',
      discount: 15,
      countItem: 20,
      sale: 19),
  FlashsaleModel(
      id: 13,
      name:
          'QZSD Q-202F - Flat Lay Tripod - Transverse Center Column FREE Holder U',
      price: 40.74,
      image: GLOBAL_URL + '/apps/ecommerce/product/13.jpg',
      discount: 10,
      countItem: 20,
      sale: 7),
  FlashsaleModel(
      id: 14,
      name:
          'WD My Passport 2TB Hardisk Eksternal 2.5" USB 3.0 HDD External Baru - 1TB, Merah',
      price: 63.3,
      image: GLOBAL_URL + '/apps/ecommerce/product/14.jpg',
      discount: 40,
      countItem: 14,
      sale: 10),
  FlashsaleModel(
      id: 15,
      name:
          'SanDisk 128GB Kartu Memori 100MB/S Ultra Microsd SD With Adapter Card',
      price: 12,
      image: GLOBAL_URL + '/apps/ecommerce/product/15.jpg',
      discount: 40,
      countItem: 140,
      sale: 96),
  FlashsaleModel(
      id: 16,
      name: 'SanDisk Extreme Pro USB 3.1 Solid State Flash Drive 256GB',
      price: 120,
      image: GLOBAL_URL + '/apps/ecommerce/product/16.png',
      discount: 40,
      countItem: 20,
      sale: 4),
  FlashsaleModel(
      id: 17,
      name: 'Harley Davidson Skull & Flames Nylon Bomber Jacket',
      price: 104.16,
      image: GLOBAL_URL + '/apps/ecommerce/product/17.jpg',
      discount: 20,
      countItem: 60,
      sale: 50),
  FlashsaleModel(
      id: 18,
      name:
          'video intercom doorbell Wireless wifi HD Res - Cloud Storage ESCAM V6',
      price: 55.825,
      image: GLOBAL_URL + '/apps/ecommerce/product/18.jpg',
      discount: 20,
      countItem: 20,
      sale: 17),
  FlashsaleModel(
      id: 19,
      name:
          'DEADBOLT DOOR LOCK SMART DOOR LOCK / SMART LOCK DOOR MEREK SEYVEN - EZ-TTLOCK',
      price: 150,
      image: GLOBAL_URL + '/apps/ecommerce/product/19.jpg',
      discount: 20,
      countItem: 20,
      sale: 6),
  FlashsaleModel(
      id: 20,
      name: 'BT-RIDER" GPS NAVIGATION ANDROID 6.0, 5 in WATERPROOF',
      price: 191.66,
      image: GLOBAL_URL + '/apps/ecommerce/product/20.jpg',
      discount: 20,
      countItem: 20,
      sale: 15),
];
