import { Model , model , property } from '@loopback/repository' ; @ model ( ) export class KeyAndPassword extends Model { @ property ( { type : 'string' , } ) resetKey : string ; @ property ( { type : 'string' , } ) password : string ; @ property ( { type : 'string' , } ) confirmPassword : string ; constructor ( data ? ) { super ( data ) ; } } export interface KeyAndPasswordRelations { } export type KeyAndPasswordWithRelations = KeyAndPassword & KeyAndPasswordRelations ;