请问如何从dsl雕刻家生成场,如下所示:
public class MyClass {
@Column(name = "MY_FIELD_1", required length=13)
private String myField1;
@Column(name = "MY_FIELD_2")
@Size(min = 13, max = 13)
private String myField2;
}
我的dsl如下:
DataTransferObject MyClass {
hint="..."
String myField1 required;
String myField2 required;
}
感谢前进。