The other types are intersection classes, union classes, complement classes, restrictions, and enumerated classes.
其他方式是交叉类、联合类、补充类、限制类和枚举类。
The only other thing to watch out for is that an enumerated type is defined using a Class and not an Interface like other model classes.
惟一需要当心的是枚举类型。 它被定义成一个 Class,而不是其他模型类中的 Interface!
应用推荐