@uiowa/uiowa-mfk-material
Version:
mfk, uiowa-mfk
27 lines (26 loc) • 744 B
TypeScript
import { Mfk } from './mfk';
export declare class FavoriteMfk {
id: number;
alias: string;
mfk: Mfk;
/**
* Favorite MFK
* @param id: The key for this favorite MFK in database. By default: 0.
* @param alias: The alias
* @param mfk: The Mfk object
*/
constructor(id?: number, alias?: string, mfk?: Mfk);
/**
* cast an object to type of FavoriteMFK
*
* --> plain JSON object doesn't have type at run time.
*/
static cast(obj: any): FavoriteMfk;
/**
* check if this Favorite MFK matches all 10 field values of a specified MFK.
*
* @param mfk an MFK
* @returns boolean
*/
matches(mfk: Mfk): boolean;
}