Dockerfile
This commit is contained in:
7
model/config/capacity.go
Normal file
7
model/config/capacity.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
type Capacity struct {
|
||||
CapacityUnit string `bson:"capacityUnit" json:"capacityUnit"` // 容量单位(具体单位值)
|
||||
MaxCapacity int `bson:"maxCapacity" json:"maxCapacity"` // 最大容量
|
||||
CurrentCapacity int `bson:"currentCapacity" json:"currentCapacity"` // 当前容量
|
||||
}
|
||||
Reference in New Issue
Block a user