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.

16 lines
466 B

  1. package request
  2. type DBReq struct {
  3. Database string `json:"database" gorm:"column:database"`
  4. }
  5. type TableReq struct {
  6. TableName string `json:"tableName"`
  7. }
  8. type ColumnReq struct {
  9. ColumnName string `json:"columnName" gorm:"column:column_name"`
  10. DataType string `json:"dataType" gorm:"column:data_type"`
  11. DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"`
  12. ColumnComment string `json:"columnComment" gorm:"column:column_comment"`
  13. }