db_err_models.go 367B

123456789101112131415
  1. package models
  2. type DBErrorRecord struct {
  3. ID int64 `gorm:"column:id"`
  4. OrgID int64 `gorm:"column:org_id"`
  5. ErrDesc string `gorm:"column:err_desc"`
  6. Status int8 `gorm:"column:status"`
  7. CreateTime int64 `gorm:"column:ctime"`
  8. ModifyTime int64 `gorm:"column:mtime"`
  9. }
  10. func (DBErrorRecord) TableName() string {
  11. return "xt_db_err_records"
  12. }