bill-history.go 685 B

12345678910111213141516171819
  1. package model
  2. import (
  3. "time"
  4. "go.mongodb.org/mongo-driver/bson/primitive"
  5. )
  6. type BillHistory struct {
  7. Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
  8. UserId string `bson:"userId,omitempty" json:"userId"`
  9. TargetId string `bson:"targetId,omitempty" json:"targetId"`
  10. Path string `bson:"path,omitempty" json:"path"`
  11. Collection string `bson:"collection,omitempty" json:"collection"`
  12. // 谁更新了该订单
  13. Desc string `bson:"desc,omitempty" json:"desc"`
  14. Content string `bson:"content,omitempty" json:"content"`
  15. CreateTime time.Time `bson:"createTime,omitempty" json:"createTime"`
  16. }