Files
hjsq_server/models/commod/ldy.go
T
2026-10-08 16:50:13 +08:00

15 lines
483 B
Go

package commod
import "91jd-server/common/constant"
type ButtonProp struct {
Style constant.SwitchStyle `form:"style" json:"style" bson:"style"` //开关样式
Enable bool `form:"enable" json:"enable" bson:"enable"` //true:显示按钮
}
type LdyButton struct {
Name string `form:"name" json:"name" bson:"name"` //开关名
Type constant.SwitchAct `form:"type" json:"type" bson:"type"` //开关类型
ButtonProp `bson:",inline"`
}