relationmodel.stub 184 B

123456789101112
  1. <?php
  2. namespace {%modelNamespace%};
  3. use think\Model;
  4. class {%relationName%} extends Model
  5. {
  6. // 表名
  7. protected ${%relationTableType%} = '{%relationTableTypeName%}';
  8. }