import { CompanySubscription } from './company-subscription.model';
import { Usage } from './usage.model';
import { Box } from './box.model';

export class Company {
    id:                 number;
    name:               string;
    slogan:             string;
    logo_url:           string;
    cif:                string;
    address:            string;
    city:               string;
    zipcode:            string;
    country:            string;
    county:             string;
    phone:              string;
    email:              string;
    fact_name:          string;
    fact_address_line1: string;
    fact_address_line2: string;
    fact_zipcode:       string;
    fact_city:          string;
    fact_county:        string;
    fact_country_code:  string;
    fact_prefix:        string;
    fact_serie:         string;
    card_brand:         string;
    card_last_four:     string;
    trial_ends_at:      Date;
    created_at:         Date;
    updated_at:         Date;
    active_plan:        CompanySubscription;
    fiscal_address:     string;
    usage:              Usage;
    is_stripe_active:   boolean;
    boxes:              Box[];
    stripe_public_key:  string;
    stripe_private_key: string;
}