import { Plan } from './plan.model';
import { CompanyOrder } from './company-order.model';

export class Subscription {
    id:number;
    company_id:number;
    plan_id:number;
    start_date:Date;
    end_date:Date;
    name:string;
    stripe_id:string;
    stripe_status:string;
    stripe_plan:string;
    quantity:number;
    active:boolean;
    plan:Plan;
    ends_at:Date;
    company_orders:CompanyOrder[];
}