package datamodels import "time" type DbType struct { DbTypeId int64 `json:"dbTypeId" xorm:"'db_type_id' bigint pk comment('主键ID') "` DbTypeTitle string `json:"dbTypeTitle" xorm:"'db_type_title' varchar(50) comment('模型名称') "` GetTables string `json:"getTables" xorm:"'get_tables' varchar(255) comment('描述') "` GetTableDef string `json:"getTableDef" xorm:"'get_table_def' varchar(255) comment('描述') "` DbTypeDesc string `json:"dbTypeDesc" xorm:"'db_type_desc' varchar(255) comment('模型名称') "` DbTypeLink string `json:"dbTypeLink" xorm:"'db_type_link' varchar(255) comment('模型名称') "` CreatedBy int64 `json:"createdBy" xorm:"'created_by'"` CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"` UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"` UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"` DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"` DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"` DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"` } func (t *DbType) TableName() string { return "ds_db_type" }