All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ckjava.db.utils.ObjectListWithColumn Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package com.ckjava.db.utils;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * column 表示列名
 * dataList 表示表中的数据集
 * 
 * @author chen_k
 *
 * 2018年1月3日-下午7:07:43
 */
@ApiModel("带有列名的数据库查询结果")
public class ObjectListWithColumn {

	@ApiModelProperty("列名 Object[]")
	private Object[] column;
	@ApiModelProperty("数据集合 List ")
	private List dataList;
	@ApiModelProperty("数据库连接信息")
	private String dbUrl;
	@ApiModelProperty("查询语句")
	private String sql;

	public Object[] getColumn() {
		return column;
	}
	public void setColumn(Object[] column) {
		this.column = column;
	}
	public List getDataList() {
		return dataList;
	}
	public void setDataList(List dataList) {
		this.dataList = dataList;
	}
	public String getDbUrl() {
		return dbUrl;
	}
	public void setDbUrl(String dbUrl) {
		this.dbUrl = dbUrl;
	}
	public String getSql() {
		return sql;
	}
	public void setSql(String sql) {
		this.sql = sql;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy