Skip to content

Instantly share code, notes, and snippets.

View gudaoxuri's full-sized avatar

gudaoxuri gudaoxuri

View GitHub Profile
/*
Set yourself up:
1) Download Scala - http://www.scala-lang.org/downloads
2) Unzip/untar to your favourite location and put the bin subdir in your `PATH` environment variable
3) Start a Scala REPL by running `scala`. You should see the prompt:
scala>
This is the so called REPL (Read-Eval-Print Loop). You may type any Scala
@gudaoxuri
gudaoxuri / ez-framework_auth_model.scala
Last active March 30, 2016 08:25
ez-framework auth service model
/**
* 账号实体
*/
@Entity("Account")
case class EZ_Account() extends SecureModel with StatusModel {
@Unique
@Require
@Label("Code") // organization_code@login_id
@BeanProperty var code: String = _