modify define.php

if the change is wrong, please recover it.
add some model files.

If the files are not adapted to the project, tell me and delete them.
Change the Model files and modify tables

Please pay attention to the ImageModel.class and relevant functions in
other model files.