Grailsã®ãã¡ã¤ã³ã¯ã©ã¹ã«ããã¦ãããã¤ãã®åè£ã®æ°å¤ã®ãããããã¨ãããã£ã¼ã«ããä½æããscaffoldã§çæããç»é¢ããCRUDæä½ãããã¨ãã¾ãã ç°¡åãªã®ã¯ãããã§ããã class Domain { Integer something static constraints = { something inList:[1,2,3] } } ãããæ°å¤ãã£ã¼ã«ãã«éã¨ãã¦ã§ã¯ãªãåã ã®å¤ã«ããããã®æå³ãããå ´åããã¨ãã°ãè ¹ã®ç¶æ ã表ããã£ã¼ã«ãã®å¤ã¨ãã¦ã 1: ã¯ããºã 2:ã¾ãã·ã 3:ãã°ããã¸ã£ã ã表ç¾ãããããªãã®ã ã£ãã¨ãã¾ãããã®ã¨ãããããªãã¨ããScaffoldã®ç»é¢ä¸ã§ã¯æ°å¤ã§ã¯ãªãæå³ã®ãããæååã§è¡¨ç¤ºãããé¸æå ¥åããããããã§ããããããã¼ã¿ãã®ãã®ãæååã«ããã®ãDBä¸ã®è¡¨ç¾ãããããããªãã®ã§ããã ã¨ãã¾ã*1ã ã¨ãããã¨ã§enumã®åº
{{#tags}}- {{label}}
{{/tags}}