import { Pricing } from './pricing.model';
import { Role } from './role.model';
import { Company } from './company.model';
import { User } from './user.model';
import { BoxOrder } from './box-order.model';

export class UserSubscription {
    id:            number;
    pricing_id:    number;
    user_id:       number;
    role_id:       number;
    start_date:    Date;
    end_date:      Date;
    price:         number;
    wod_counter:   number;
    open_counter:  number;
    total_counter: number;
    stripe_id:     null;
    renew:         boolean;
    created_at:    Date;
    updated_at:    Date;
    active:        number;
    company_id:    number;
    box_ids:       number[];
    pricing:       Pricing;
    role:          Role;
    company:       Company;
    user:          User;
    box_orders:    BoxOrder[];
}