export interface SpeciesNameTableColumns {
	id: number; // 主键
	speciesCode: string; // 物种编号
	name: string; // 物种名称
	content: string; // 物种名称内容
	sourcesData: string; // 数据来源
	createUser: number; // 数据采集人
	createDate: string; // 数据采集信息
	auditUser: number; // 数据核查人
	auditDate: string; // 数据核查日期
	remark: string; // 备注
}

export interface SpeciesNameInfoData {
	id: number | undefined; // 主键
	speciesCode: string | undefined; // 物种编号
	name: string | undefined; // 物种名称
	content: string | undefined; // 物种名称内容
	sourcesData: string | undefined; // 数据来源
	createUser: number | undefined; // 数据采集人
	createDate: string | undefined; // 数据采集信息
	auditUser: number | undefined; // 数据核查人
	auditDate: string | undefined; // 数据核查日期
	remark: string | undefined; // 备注
}

export interface SpeciesNameTableDataState {
	ids: any[];
	tableData: {
		data: Array<SpeciesNameTableColumns>;
		total: number;
		loading: boolean;
		param: {
			pageNum: number;
			pageSize: number;
			id: number | undefined;
			speciesCode: string | undefined;
			name: string | undefined;
			content: string | undefined;
			sourcesData: string | undefined;
			createUser: number | undefined;
			createDate: string | undefined;
			auditUser: number | undefined;
			auditDate: string | undefined;
			dateRange: string[];
		};
	};
}

export interface SpeciesNameEditState {
	loading: boolean;
	isShowDialog: boolean;
	formData: SpeciesNameInfoData;
	rules: object;
}
