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" }