update
This commit is contained in:
12
application/admin/command/Crud/stubs/relationmodel.stub
Normal file
12
application/admin/command/Crud/stubs/relationmodel.stub
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace {%modelNamespace%};
|
||||
|
||||
use think\Model;
|
||||
|
||||
class {%relationName%} extends Model
|
||||
{
|
||||
// 表名
|
||||
protected ${%relationTableType%} = '{%relationTableTypeName%}';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user