Files
1Panel/agent/app/model/ftp.go

14 lines
452 B
Go

package model
type Ftp struct {
BaseModel
User string `gorm:"not null" json:"user"`
Password string `gorm:"not null" json:"password"`
Status string `gorm:"not null" json:"status"`
Path string `gorm:"not null" json:"path"`
Description string `gorm:"not null" json:"description"`
UID uint `gorm:"column:uid;not null;default:1000" json:"-"`
GID uint `gorm:"column:gid;not null;default:1000" json:"-"`
}