nested top-level classes 嵌套顶级类
Ten years ago, when the first NEWSWEEK list based on college-level test participation was published, only three of the top 100 schools had graduating classes smaller than 100 students.
十年前,《新闻周刊》发布了第一份基于大学水平考试参与度的排行榜,当时排名前100位的学校中,只有三所学校的毕业班学生人数少于100人。
You will usually find at least one relation per model class, starting from a relation that relates the top-level model classes.
通常你会在每个模型类中找到至少一个关联,从联系顶级模型类的关联开始。
Also note that class definitions must appear at the top level of a module, meaning they cannot be nested classes (classes defined inside other classes or functions).
另外要注意,类定义必须出现在模块的最顶层,这意味着它们不能是嵌套的类(在其它类或函数中定义的类)。
应用推荐