\app\modelStudentClass

Summary

Methods
Properties
Constants
student()
college()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

student()

student() : \think\model\relation\HasMany

一个班级有多个学生,一对多

Returns

\think\model\relation\HasMany

college()

college() : \think\model\relation\BelongsTo

一个班级属于一个学院

Returns

\think\model\relation\BelongsTo