import { PageQueryParam, PageResult } from "../base";

export interface CurrencyCoinQueryParam extends PageQueryParam {
    currency?: string;
}

export type CurrencyCoinPageResult = PageResult<CurrencyCoinItem[]>;

export interface CurrencyCoinItem {
    id: number;
    currency: string;
    symbol: string;
    rate: number;
    coinPrecision: number;
    ctime: string;
    mtime: string;
}

export interface CurrencyCoinFormData {
    id?: number;
    currency: string;
    symbol: string;
    rate: number | string;
    coinPrecision: number;
}
