Home  >  Q&A  >  body text

Should the name of the Model's PHP file be the same as the database name?

Does the PHP file name of Model need to be the same as the database name? Or do the class names need to be consistent?

刘磊刘磊2149 days ago1477

reply all(1)I'll reply

  • Summer

    Summer2018-11-02 09:56:49

    The name of the model file should be consistent with the database table name, and use camel case naming

    reply
    0
  • Cancelreply