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

export interface CoinNetworkQueryParam extends PageQueryParam {
  property?: string | null;
  direction?: string | null;
}

export type CoinNetworkPageResult = PageResult<CoinNetworkItem[]>;

export interface CoinNetworkItem {
  id: number;
  name: string;
  protocol: string;
  rpcUrl: string;
  status: number;
  sort: number;
  remark: string;
}

export interface CoinNetworkFormData {
  id?: number;
  name: string;
  protocol: string;
  rpcUrl: string;
  status: number;
  sort: number;
  remark: string;
}
