package model import ( "time" "go.mongodb.org/mongo-driver/bson/primitive" ) // 单位 type Unit struct { Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Name string `bson:"name,omitempty" json:"name"` CreateTime time.Time `bson:"createTime,omitempty" json:"createTime"` }