📜  grails 中的约束 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:19.536000             🧑  作者: Mango

代码示例2
class User {
    ...

    static constraints = {
        login shared: "myShared"
    }
}