sys_autocode.go 648 B

1234567891011121314151617181920212223242526
  1. package request
  2. import "github.com/flipped-aurora/gin-vue-admin/server/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. }