sys_auto_code.go 551 B

1234567891011121314151617
  1. package response
  2. type Db struct {
  3. Database string `json:"database" gorm:"column:database"`
  4. }
  5. type Table struct {
  6. TableName string `json:"tableName" gorm:"column:table_name"`
  7. }
  8. type Column struct {
  9. DataType string `json:"dataType" gorm:"column:data_type"`
  10. ColumnName string `json:"columnName" gorm:"column:column_name"`
  11. DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"`
  12. ColumnComment string `json:"columnComment" gorm:"column:column_comment"`
  13. PrimaryKey bool `json:"primaryKey" gorm:"column:primary_key"`
  14. }