程序包 org.coodex.mock

注释类型 Mock.Relation

封闭类:
Mock

@Retention(RUNTIME) @Target({FIELD,METHOD,PARAMETER}) public static @interface Mock.Relation
用来指定pojo的关联模拟策略,也就是被修饰的属性可以根据所依赖的属性值进行运算,最大可能保障模拟数据的真实性
  • 元素详细资料

    • dependencies

      String[] dependencies
    • strategy

      String strategy