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

scalikejdbc.metadata.Column.scala Maven / Gradle / Ivy

There is a newer version: 4.3.2
Show newest version
package scalikejdbc.metadata

/**
 * Column meta data
 *
 * @param name name
 * @param typeCode type code(int)
 * @param typeName type name
 * @param size size
 * @param isRequired not null
 * @param isPrimaryKey primary key
 * @param isAutoIncrement auto increment
 * @param description comment
 * @param defaultValue default value
 */
case class Column(
  name: String,
  typeCode: Int,
  typeName: String,
  size: Int = 0,
  isRequired: Boolean = false,
  isPrimaryKey: Boolean = false,
  isAutoIncrement: Boolean = false,
  description: String = null,
  defaultValue: String = null
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy