import { Injectable } from "@angular/core" ; import { BaseDao } from "../base.dao" ; import { StorageLocationModel } from "../../data-store/storage-location.model" ; import { AthleteModel } from "@elevate/shared/models" ; @ Injectable ( ) export class AthleteDao extends BaseDao < AthleteModel > { public static readonly STORAGE_LOCATION : StorageLocationModel = new StorageLocationModel ( "athlete" ) ; public static readonly DEFAULT_STORAGE_VALUE : AthleteModel = AthleteModel . DEFAULT_MODEL ; public getDefaultStorageValue ( ) { return AthleteDao . DEFAULT_STORAGE_VALUE ; } public getStorageLocation ( ) { return AthleteDao . STORAGE_LOCATION ; } }