dream.first.core.model.BaseSqlModel Maven / Gradle / Ivy
/**
*
*/
package dream.first.core.model;
import org.yelong.core.model.Modelable;
import org.yelong.core.model.sql.SqlModel;
/**
* 一个SqlModel和模型之间的适配器
*
* @param model type
* @since 2.0
*/
public abstract class BaseSqlModel extends SqlModel implements Modelable {
private static final long serialVersionUID = 3813146467899989274L;
@SuppressWarnings("unchecked")
@Override
public M getModel() {
return (M) this;
}
@Override
public Class extends Modelable> getModelClass() {
return getClass();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy