import 'package:app_hit_a_wod/src/models/box.model.dart';
import 'package:app_hit_a_wod/src/models/company.model.dart';
import 'package:json_annotation/json_annotation.dart';

part 'pricing.model.g.dart';

@JsonSerializable()
class Pricing {

  Pricing();

  factory Pricing.fromJson(Map<String, dynamic> json) => _$PricingFromJson(json);
  Map<String, dynamic> toJson() => _$PricingToJson(this);

  int id;
  int company_id;
  String name;
  String description;
  String stripe_id;
  double price;
  double vat_included;
  int wod_counter;
  int open_counter;
  int total_counter;
  int days;
  String start_time;
  String end_time;
  bool recharge_weekly;
  DateTime created_at;
  DateTime updated_at;
  List<Box> boxes;
  Company company;
  List<int> box_ids;

}