2021-12-09 11:02:41 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
//SerialAdvanced Technology Attachment (STAT)
|
|
|
|
type SerialDisk struct {
|
|
|
|
Id uint `gorm:"column:id;primary_key" json:"id"`
|
2022-01-28 06:06:27 +00:00
|
|
|
UUID string `json:"uuid"`
|
2021-12-09 11:02:41 +00:00
|
|
|
Path string `json:"path"`
|
|
|
|
State int `json:"state"`
|
|
|
|
MountPoint string `json:"mount_point"`
|
2022-01-21 09:50:12 +00:00
|
|
|
CreatedAt int64 `json:"created_at"`
|
2021-12-09 11:02:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (p *SerialDisk) TableName() string {
|
|
|
|
return "o_disk"
|
|
|
|
}
|