9a73bc2a18
Add usb display
15 lines
389 B
Go
15 lines
389 B
Go
package model
|
|
|
|
//SerialAdvanced Technology Attachment (STAT)
|
|
type SerialDisk struct {
|
|
Id uint `gorm:"column:id;primary_key" json:"id"`
|
|
UUID string `json:"uuid"`
|
|
Path string `json:"path"`
|
|
State int `json:"state"`
|
|
MountPoint string `json:"mount_point"`
|
|
CreatedAt int64 `json:"created_at"`
|
|
}
|
|
|
|
func (p *SerialDisk) TableName() string {
|
|
return "o_disk"
|
|
}
|