{"published":"2014-04-22 01:05:39","version":"1.0","type":"rich","categories":[],"width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/magnet88jp/","title":"Scala \u306e Class \u3068 Object \u306b\u306f\u306a\u305c\u540c\u3058\u540d\u524d\u3092\u4ed8\u3051\u308b\u306e\u304b\uff1f","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"\u30a4\u30b7\u30e5\u30fc \u4f8b\u3048\u3070\u3053\u3093\u306a\u3093 case class Company(id: Option[Long], name: String) class Companies(tag: Tag) extends Table[Company](tag, \"COMPANY\") { def id = column[Long](\"id\", O.PrimaryKey, O.AutoInc) def name = column[String](\"name\", O.NotNull) def * = (id.?, name) <> (Company.tupled, Company.unapply _) } object Co\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmagnet88jp.hateblo.jp%2Fentry%2F2014%2F04%2F22%2F010539\" title=\"Scala \u306e Class \u3068 Object \u306b\u306f\u306a\u305c\u540c\u3058\u540d\u524d\u3092\u4ed8\u3051\u308b\u306e\u304b\uff1f - \u307e\u3050\u306d\u3063\u3068\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u307e\u3050\u306d\u3063\u3068\u306e\u30d6\u30ed\u30b0","author_name":"magnet88jp","height":"190","url":"https://magnet88jp.hateblo.jp/entry/2014/04/22/010539","blog_url":"https://magnet88jp.hateblo.jp/"}