fix get table function
add some function of base model
front