Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@ -0,0 +1,24 @@
package model
import (
"time"
)
// Log is the universal tag model, contains any type of tags
// The Business field and the Round field will from any business definition
type Log struct {
AdminID int32 `gorm:"column:adminid"`
Oid int64 `gorm:"column:oid"`
Business int8 `gorm:"column:business"`
Target int32 `gorm:"column:target"`
Module int8 `gorm:"column:module"`
Remark string `gorm:"column:remark"`
Note string `gorm:"column:note"`
CTime time.Time `gorm:"column:ctime"`
MTime time.Time `gorm:"column:mtime"`
}
// TableName Tag tablename
func (*Log) TableName() string {
return "workflow_log"
}