2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00
Files
panel/app/models/website.go
2023-06-22 16:51:37 +08:00

16 lines
370 B
Go

package models
import (
"github.com/goravel/framework/database/orm"
)
type Website struct {
orm.Model
Name string `gorm:"unique;not null"`
Status bool `gorm:"default:true;not null;index"`
Path string `gorm:"not null"`
Php int `gorm:"default:0;not null;index"`
Ssl bool `gorm:"default:false;not null;index"`
Remark string `gorm:"default:''"`
}