Files
lckt-server/model/app/domain.go
2025-09-11 21:03:57 +08:00

17 lines
716 B
Go

package app
import "git.echol.cn/loser/lckt/global"
type Domain struct {
global.GVA_MODEL
Name string `json:"name" gorm:"column:name;comment:域名名称"` // 域名名称
DomainUrl string `json:"domain_url" gorm:"column:domain;comment:域名"` // 域名
Description string `json:"description" gorm:"column:description;comment:域名描述"` // 域名描述
Status int `json:"status" gorm:"column:status;comment:状态 1 启用 2 禁用"` // 状态 1 启用 2 禁用
Type int `json:"type" gorm:"column:type;comment:类型 1 炮灰域名 2 入口域名"` // 类型 1 炮灰域名 2 入口域名
}
func (Domain) TableName() string {
return "app_domain"
}