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

part 'box.model.g.dart';

@JsonSerializable()
class Box {

  Box();

  factory Box.fromJson(Map<String, dynamic> json) => _$BoxFromJson(json);
  Map<String, dynamic> toJson() => _$BoxToJson(this);

  int id;
  int company_id;
  String name;
  String address;
  String city;
  String country;
  String county;
  String postal_code;
  String phone;
  String email;
  DateTime created_at;
  DateTime updated_at;
  String unjoin_session_before_minutes;
  String join_session_before_days;
  String user_subscription_expires_after_days;
  String workouts_visible_before_session;
  String tax_prcnt_box_order;
  String generate_box_orders_before_renew;
  Usage usage;
}