You've already forked CasaOS
mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-07-06 23:37:26 +02:00
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"
|
||
|
}
|