Refs https://github.com/CakeDC/utils/issues/94, fixing the softdelete issue for plugin models and some coding standard issues