ye4s_wms/application/admin/command/Crud/stubs/mixins/modelrelationmethod.stub
liufumingren e8605149c0 初始化
2026-08-06 17:04:35 +08:00

5 lines
201 B
Plaintext

public function {%relationMethod%}()
{
return $this->{%relationMode%}('{%relationClassName%}', '{%relationForeignKey%}', '{%relationPrimaryKey%}', [], 'LEFT')->setEagerlyType(0);
}