By convention, Grails looks for a script with the same name as your domain class but ending with the word "Constraints" (e.g., EmployeeBeanConstraints.groovy).
根据惯例,Grails以领域类名+“Constraints”为名字(如employeebeanconstraints . groovy),去查找脚本。
For a specific class, you would specify the full class name rather than ending the package name with the ellipses.
对于特定类,需要指定完整的类名而不是在包名称之后加省略号。
This decade has seen Portugal produce a never-ending assembly line of top-class wingers.
过去的十年间,葡萄牙涌现了一批世界级的边路球员。
应用推荐