spring roo实体建立关联关系
many to one
entity --class ~.domain.Photo --testAutomatically
field set --fieldName photos --type ~.domain.Photo
field reference --fieldName template --type ~.domain.Template
?
Many to Many
?
field set --fieldName photos --type ~.domain.Photo --cardinality MANY_TO_MANY --class Template
field set --fieldName templates --type ~.domain.Template --cardinality MANY_TO_MANY --class Photo --mappedBy templates
?
增加字段
?
field number --fieldName COMPRESSPERCENTAGE --type ~.domain.Photo