You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
698 B

package models
type TDwTableField struct {
Id int32 `xorm:"not null pk autoincr INT(11)"`
TableId int32 `xorm:"not null comment('哪张表') index INT(11)"`
FieldName string `xorm:"not null comment('字段名称') VARCHAR(255)"`
DataType string `xorm:"not null comment('数据类型') VARCHAR(255)"`
FieldLength int32 `xorm:"not null comment('字段长度') INT(11)"`
DecimalPointLength int32 `xorm:"not null default 0 comment('小数点后长度') INT(11)"`
Comment string `xorm:"default 'NULL' comment('描述') VARCHAR(255)"`
IsPk int32 `xorm:"not null default 0 comment('是否为主键') INT(255)"`
}