mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进BelongsTo关联
This commit is contained in:
@@ -30,6 +30,8 @@ abstract class OneToOne extends Relation
|
||||
protected $joinType;
|
||||
// 要绑定的属性
|
||||
protected $bindAttr = [];
|
||||
// 关联方法名
|
||||
protected $relation;
|
||||
|
||||
/**
|
||||
* 设置join类型
|
||||
|
||||
Reference in New Issue
Block a user