creditlog.go 716 B

12345678910111213141516171819202122232425262728
  1. package upcrmmodel
  2. import (
  3. "go-common/library/time"
  4. )
  5. const (
  6. //BusinessTypeArticleAudit 稿件的审核
  7. BusinessTypeArticleAudit = 1
  8. )
  9. //SimpleCreditLog simple credit log
  10. type SimpleCreditLog struct {
  11. ID uint `json:"-"`
  12. Type int `json:"type"`
  13. OpType int `json:"op_type"`
  14. Reason int `json:"reason"`
  15. BusinessType int `json:"business_type"`
  16. Mid int64 `json:"mid"`
  17. Oid int64 `json:"oid"`
  18. CTime time.Time `json:"ctime"`
  19. }
  20. //SimpleCreditLogWithContent simple credit log with content
  21. type SimpleCreditLogWithContent struct {
  22. SimpleCreditLog
  23. Content string `form:"content" json:"content"` // 日志内容描述
  24. }