6c235d3f2a
1.Add the function of modifying the WebUI port. 2.Add the function to modify the search engine. 3.Add the multi-language function and add Chinese translation. 4.Add detailed CPU and memory statistics.
15 lines
353 B
Go
15 lines
353 B
Go
package model
|
|
|
|
//SerialAdvanced Technology Attachment (STAT)
|
|
type SerialDisk struct {
|
|
Id uint `gorm:"column:id;primary_key" json:"id"`
|
|
DiskId string `json:"disk_id"`
|
|
Path string `json:"path"`
|
|
State int `json:"state"`
|
|
MountPoint string `json:"mount_point"`
|
|
}
|
|
|
|
func (p *SerialDisk) TableName() string {
|
|
return "o_disk"
|
|
}
|