go-common/app/admin/main/up/model/upcrmmodel/creditlog.go

29 lines
716 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package upcrmmodel
import (
"go-common/library/time"
)
const (
//BusinessTypeArticleAudit 稿件的审核
BusinessTypeArticleAudit = 1
)
//SimpleCreditLog simple credit log
type SimpleCreditLog struct {
ID uint `json:"-"`
Type int `json:"type"`
OpType int `json:"op_type"`
Reason int `json:"reason"`
BusinessType int `json:"business_type"`
Mid int64 `json:"mid"`
Oid int64 `json:"oid"`
CTime time.Time `json:"ctime"`
}
//SimpleCreditLogWithContent simple credit log with content
type SimpleCreditLogWithContent struct {
SimpleCreditLog
Content string `form:"content" json:"content"` // 日志内容描述
}