import { UserSubscription } from './user-subscription.model';
import { SubscriptionSelection } from './subscription-selection.model';

export class User {
    id:                number;
    name:              string;
    surnames:          string;
    phone:             string;
    email:             string;
    nif:               string;
    date_of_birth:     Date;
    address:           string;
    zipcode:           string;
    poblacio:          string;
    country:           string;
    password:          string;
    url_profile_photo: string;
    weight:            number;
    height:            number;
    gender:            string;
    email_verified_at: Date;
    one_signal_id:     string;
    created_at:        Date;
    updated_at:        Date;
    stripe_id:         string;
    card_brand:        string;
    card_last_four:    string;
    trial_ends_at:     Date;
    fiscal_address:    string;
    user_subscriptions:UserSubscription[];
    subscriptions_selections:SubscriptionSelection[];
}