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.

18 lines
821 B

3 years ago
3 years ago
  1. package system
  2. import "github.com/flipped-aurora/gin-vue-admin/global"
  3. // 自动迁移代码记录,用于回滚,重放使用
  4. type SysAutoCodeHistory struct {
  5. global.GVA_MODEL
  6. TableName string `json:"tableName"`
  7. RequestMeta string `gorm:"type:text" json:"requestMeta,omitempty"` // 前端传入的结构化信息
  8. AutoCodePath string `gorm:"type:text" json:"autoCodePath,omitempty"` // 其他meta信息 path;path
  9. InjectionMeta string `gorm:"type:text" json:"injectionMeta,omitempty"` // 注入的内容 RouterPath@functionName@RouterString;
  10. StructName string `json:"structName"`
  11. StructCNName string `json:"structCNName"`
  12. ApiIDs string `json:"apiIDs,omitempty"` // api表注册内容
  13. Flag int `json:"flag"` // 表示对应状态 0 代表创建, 1 代表回滚 ...
  14. }