import { BaseDto } from '../db/DBAccess';

export class PushTransportDto implements BaseDto {
    //the id will be assigned by the ObjectStore but might be useful to you.
    //it is globally unique
    id: string;
    pushRegistration: string;

    static get dbName(): string {
        return 'PushTransport';
    }

    constructor(userId: string, pushRegistration: string) {
        this.id = userId;
        this.pushRegistration = pushRegistration;
    }
}