接口 RootEntity.WhenIdRequired

封闭类:
RootEntity<E extends RootEntity<E>>

public static interface RootEntity.WhenIdRequired
ID必须传入的场景