mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-15 21:45:31 +00:00
* initial completion of the sharing function * Adjusting multi-partition disk mounts * Add file sharing function * update usb auto mount shell * update samba config * add umount disk function * update change log * update usb auto mount \ * update usb auto mount * Update periodical.go * Update periodical.go * resolve alpha.1 issues * Update UI
26 lines
685 B
Go
26 lines
685 B
Go
/*
|
|
* @Author: LinkLeong link@icewhale.org
|
|
* @Date: 2021-12-07 17:14:41
|
|
* @LastEditors: LinkLeong
|
|
* @LastEditTime: 2022-08-17 18:46:43
|
|
* @FilePath: /CasaOS/service/model/o_disk.go
|
|
* @Description:
|
|
* @Website: https://www.casaos.io
|
|
* Copyright (c) 2022 by icewhale, All Rights Reserved.
|
|
*/
|
|
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"
|
|
}
|