io.github.pleuvoir.sql.bean.MetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql-metadata-plugin Show documentation
Show all versions of sql-metadata-plugin Show documentation
Execute SQL to return result set metadata easily.
package io.github.pleuvoir.sql.bean;
import java.util.List;
import io.github.pleuvoir.sql.kit.DataModel;
import lombok.Data;
@Data
public class MetaData {
private List columnExtendList;
public DataModel asDataModel() {
DataModel dataModel = new DataModel();
dataModel.addData("metaData", this);
return dataModel;
}
}