• haoyanbin's avatar
    1 · 9bf9e037
    haoyanbin authored
    9bf9e037
api_log.go 723 Bytes
// 自动生成模板InsurLog
package model

import (
	"time"
)

type ApiLog struct {
	Id         uint      `gorm:"column:id;primary_key;AUTO_INCREMENT" json:"id"`
	UserId     uint      `gorm:"column:user_id;" json:"userId"`
	Status     int       `gorm:"column:status;" json:"status"`
	Api        string    `gorm:"column:api;NOT NULL" json:"api"`
	Req        string    `gorm:"column:req;NOT NULL" json:"req"`
	Reply      string    `gorm:"column:reply;NOT NULL" json:"reply"`
	CreateTime time.Time `json:"createTime" form:"createTime" gorm:"column:create_time;comment:;type:timestamp;default:null"`
	UpdateTime time.Time `json:"updateTime" form:"updateTime" gorm:"column:update_time;comment:;type:timestamp;default:null"`
}