ExcelColumn

org.beangle.data.excel.schema.ExcelColumn
class ExcelColumn(var name: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def asType(clazz: Class[_]): ExcelColumn.this.type
def asType(dt: DataType): ExcelColumn.this.type
def bool(): ExcelColumn.this.type
def data(data: Seq[String]): ExcelColumn.this.type
def datatime(): ExcelColumn.this.type
def date(f: String): ExcelColumn.this.type
def decimal(f: String): ExcelColumn.this.type
def decimal(min: Float, max: Float): ExcelColumn.this.type
def format(f: String): ExcelColumn.this.type
def integer(f: String): ExcelColumn.this.type
def integer(min: Int, max: Int): ExcelColumn.this.type
def length(max: Int): ExcelColumn.this.type
def max(formular: Any): ExcelColumn.this.type
def min(formular: Any): ExcelColumn.this.type
def ref(data: Seq[String]): ExcelColumn.this.type
def remark(r: String): ExcelColumn.this.type
def required(r: Boolean): ExcelColumn.this.type
def time(): ExcelColumn.this.type
def unique(nv: Boolean): ExcelColumn.this.type
def yearMonth(): ExcelColumn.this.type

Concrete fields

var comment: Option[String]

批注

批注

Attributes

var dataType: DataType

数据类型

数据类型

Attributes

var datas: Seq[String]

本列的数据(直接输出到本列的标题下方)

本列的数据(直接输出到本列的标题下方)

Attributes

var format: Option[String]

数据格式

数据格式

Attributes

var formular1: String

约束的第一个公式

约束的第一个公式

Attributes

var formular2: Option[String]

约束的第二个公式

约束的第二个公式

Attributes

var isBool: Boolean

是否布尔型

是否布尔型

Attributes

var isDate: Boolean

是否是日期

是否是日期

Attributes

var isDecimal: Boolean

是否浮点型

是否浮点型

Attributes

var isInt: Boolean

是否整形

是否整形

Attributes

var isTime: Boolean

是否是时间

是否是时间

Attributes

var length: Option[Int]

文本长度

文本长度

Attributes

var name: String
var refs: Seq[String]

引用数据

引用数据

Attributes

var remark: Option[String]

说明

说明

Attributes

var required: Boolean

是否必须

是否必须

Attributes

var unique: Boolean

是否唯一

是否唯一

Attributes