setting.go 478 B

123456789101112131415
  1. package model
  2. import (
  3. "time"
  4. "go.mongodb.org/mongo-driver/bson/primitive"
  5. )
  6. type Setting struct {
  7. Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
  8. UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime"`
  9. Address string `bson:"address,omitempty" json:"address"`
  10. CompanyName string `bson:"companyName,omitempty" json:"companyName"`
  11. Phone string `bson:"phone,omitempty" json:"phone"`
  12. }