import type { PageParam } from '@/api';

/**
 * 支付管理
 */
export interface Payment {
  paymentId?: number;
  name?: string;
  appId?: string;
  icon?: string;
  signType?: string;
  // 公钥
  alipayPublicKey?: string;
  privateKey?: string;
  // 公钥证书
  appCertPublicKey?: string;
  alipayCertPublicKey?: string;
  alipayRootCert?: string;
  method?: string;
  isMustTemplate?: number;
  signMode?: string;
  templateId?: number;
  isEnable?: number;
  isDefault?: number;
  others?: string;
  sortNumber?: number;
  status?: number;
  config?: string;
  comments?: string;
  createTime?: string;
  tenantId?: number;
}

/**
 * 支付管理搜索条件
 */
export interface PaymentParam extends PageParam {
  paymentId?: number;
  name?: string;
  method?: string;
}
