All Downloads are FREE. Search and download functionalities are using the official Maven repository.

inner.Annotations.scala Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
package com.github.aselab.activerecord.inner

import com.github.aselab.activerecord._

trait Annotations {
  import annotation.meta._

  type Column = org.squeryl.annotations.Column

  type OptionType = org.squeryl.annotations.OptionType

  type Transient = org.squeryl.annotations.Transient @field

  /**
   * ignore field annotation.
   */
  type Ignore = annotations.Ignore @field

  /**
   * unique field annotation.
   */
  type Unique = annotations.Unique @field

  type Required = annotations.Required @field

  type Length = annotations.Length @field

  type Range = annotations.Range @field

  type Accepted = annotations.Accepted @field

  type Email = annotations.Email @field

  type Format = annotations.Format @field

  type Confirmation = annotations.Confirmation @field

  type StringEnum = annotations.StringEnum @field

  type NumberEnum = annotations.NumberEnum @field
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy