grails belongsTo使用

grails3 belongsTo,多对一关系 参考:http://docs.grails.org/latest/ref/Domain%20Classes/belongsTo.html   对象说明: 作者:Author 书:Book Book 属于 Author     static belongsTo 有两种使用方式: 方式一: static belongsTo = Author //[Do
相关文章
相关标签/搜索