callback.go 307 B

1234567891011121314
  1. package model
  2. // Callback struct
  3. type Callback struct {
  4. ID int32 `gorm:"column:id"`
  5. URL string `gorm:"column:url"`
  6. Business int8 `gorm:"column:business"`
  7. State int8 `gorm:"column:state"`
  8. }
  9. // TableName by Callback
  10. func (*Callback) TableName() string {
  11. return "workflow_callback"
  12. }