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.

26 lines
615 B

3 years ago
3 years ago
  1. package request
  2. import "gin-vue-admin/model/common/request"
  3. type SysAutoHistory struct {
  4. request.PageInfo
  5. }
  6. type AutoHistoryByID struct {
  7. ID uint `json:"id"`
  8. }
  9. type DBReq struct {
  10. Database string `json:"database" gorm:"column:database"`
  11. }
  12. type TableReq struct {
  13. TableName string `json:"tableName"`
  14. }
  15. type ColumnReq struct {
  16. ColumnName string `json:"columnName" gorm:"column:column_name"`
  17. DataType string `json:"dataType" gorm:"column:data_type"`
  18. DataTypeLong string `json:"dataTypeLong" gorm:"column:data_type_long"`
  19. ColumnComment string `json:"columnComment" gorm:"column:column_comment"`
  20. }