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

/**
 * 收益
 */
export interface Profit {
  profitId?: number;
  orderId?: number;
  userId?: number;
  orderNo?: string;
  isRenew?: number;
  scene?: number;
  sceneDis?: string;
  money?: string;
  remark?: string;
  sortNumber?: number;
  comments?: string;
  status?: number;
  merchantCode?: string;
  merchantName?: string;
  equipmentCode?: string;
  orderUserName?: string;
  orderRealName?: string;//用户实名
  createTime?: string;
  updateTime?: string;
  relationOrderNo?:string;//关联订单号
}

/**
 * 收益搜索条件
 */
export interface ProfitParam extends PageParam {
  keywords?: string;
  orderNo?: string;
  orderUserName?: string;
  merchantName?: string;
  merchantCode?: string;
  beginDate?: string;
  endDate?: string;
  scene?: number;
  beneficiaryName?:string;//收益人
}
