/**
 * 投资项目库 相关接口类型定义
 * */
import { ProjectPlanApplyFormItem } from '/@/components/investment/interface/types';
/**
 * 投资项目计划申请列表查询参数类型
 * */
export interface investmentProjectsPlanList {
	page: number;
	size: number;
	projectName?: string;
	projectMainEntity?: string;
	projectNature?: string;
	majorInvestmentProjects?: string;
}
/**
 * 投资项目计划申请列表查询返回类型
 * **/

export interface InvestmentProjectsPlanPageT {
	records: ProjectPlanApplyFormItem[];
	total?: number;
	current?: number;
	pages?: number;
	size?: number;
}
/**
 * 投资详情查询返回类型
 * */
interface ProjectInvestmentEntityT {
	id: number;
	plannedInvestmentYear: string;
	plannedImageAmount: string;
	plannedPaymentAmount: string;
	selfFunding: string;
	externalFunding: string;
	fiscalFunding: string;
	otherFunding: string;
	fiscalFundingSource: string;
	otherFundingSource: string;
	projectPlanId: number;
}

interface EvaluationRecordEntityT {
	id: number;
	projectId: number;
	actualTotalIncome: number;
	actualInvestmentGain: number;
	actualInvestmentReturnRate: number;
	attachmentUrl: string;
	investmentResults: string;
	profitLossSituation: string;
	existingProblems: string;
	improvementSuggestions: string;
	conclusion: string;
	createBy: string;
	createTime: string;
}

export interface ProjectLibraryDetailT {
	id: string;
	projectName: string;
	groupCompany: string;
	projectNature: string;
	projectMainEntity: string;
	projectOwnerUnit: string;
	investmentCategory: string;
	investmentArea: string;
	projectAddress: string;
	projectAddressDetail: string;
	projectInvestmentDirection: string;
	investmentDirectionSegmentation: string;
	projectSource: string;
	constructionNature: string;
	majorInvestmentProjects: string;
	keyProject: string;
	isMainBusiness: string;
	mainBusinessTypes: string;
	mainBusinessCode: string;
	isManufacturingIndustry: string;
	isStrategicEmergingIndustries: string;
	urbanStrategy: string;
	projectStartTime: string;
	projectEndTime: string;
	planInvestmentYear: number;
	planImageQuota: number;
	planPaymentLimit: number;
	ownedFunds: number;
	financialFunds: number;
	otherFunds: number;
	externalRaisedCapital: number;
	governmentFundSourceDesc: string;
	otherFundSourceDesc: number;
	projectDesc: string;
	remark: string;
	projectPreliminaryPlan: string;
	projectPreliminaryPlanAttachment: string;
	projectTotalAmount: number;
	lastYearCompleted: number;
	ourInvestmentTotalAmount: number;
	ourLastYearCompleted: number;
	decisionType: string;
	isProjectApprovalCompleted: string;
	projectApprovalFileNo: string;
	projectApprovalFileInfo: string;
	isDecisionProcedureCompleted: string;
	decisionProcedureFileNo: string;
	decisionFileInfo: string;
	createBy: string;
	createTime: string;
	updateBy: string;
	updateTime: string;
	delFlag: string;
	processInstanceId: string;
	status: string;
	requiresEvaluation: number;
	evaluationStatus: string;
	projectInvestmentEntities: ProjectInvestmentEntityT[];
	evaluationRecordEntities: EvaluationRecordEntityT[];
}
