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

/**
 * 合同
 */
export interface Income {
  incomeId?: any;
  contractId?: any;
  incomeNo?: any;
  incomeDate?: any;
  incomeCompanyId?: any;
  payCompanyId?: any;
  payCompanyName?: any;
  amount?: any;
  companyName?: any;
  totalIncomeAmount?: any;
  totalInvoicingAmount?: any;
  incomeType?: any;
  expectIncomeDate?: any;
  expectIncomeAmount?: any;
  incomeMethod?: any;
  invoicingNo?: any;
  fileList?: any;
  remark?: any;
  status?: any;
  userId?: any;
  signName?: any;
  signDate?: any;
  contractNumber?: any;
  projectName?: any;
  incomeCompanyName?: any;
  customerName?: any;
}

/**
 * 合同搜索条件
 */
export interface IncomeParam extends PageParam {
  projectName?: string;
  contractNo?: string;
}

export const INCOME_STATUS_LIST = ['已收款', '已作废']
