12345678910111213141516171819202122232425262728 |
- package comm
- import (
- "time"
- "go.mongodb.org/mongo-driver/bson/primitive"
- )
- type License struct {
- Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
- State string `bson:"state,omitempty" json:"state"`
- SaltStr string `bson:"saltstr,omitempty" json:"saltstr"`
- AesKey string `bson:"aesKey,omitempty" json:"aesKey"`
- RsaPublic string `bson:"rsaPublic,omitempty" json:"rsaPublic"`
- RsaPrivate string `bson:"rsaPrivate,omitempty" json:"rsaPrivate"`
- CpuId string `bson:"cpuId,omitempty" json:"cpuId"`
- MacId string `bson:"macId,omitempty" json:"macId"`
- AppId string `bson:"appId,omitempty" json:"appId"`
- ExpiredAfter time.Time `bson:"expiredAfter,omitempty" json:"expiredAfter"`
- StartAt time.Time `bson:"startAt,omitempty" json:"startAt"`
- Company string `bson:"company,omitempty" json:"company"`
- Title string `bson:"title,omitempty" json:"title"`
- CreateTime time.Time `bson:"createTime,omitempty" json:"createTime"`
- UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime"`
- DeployedTime time.Time `bson:"deployedTime,omitempty" json:"deployedTime"`
- }
|