You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
2.5 KiB
Go

package Model
import (
"database/sql"
"time"
)
type T_ScreenForm struct {
SF_ID string `gorm:"column:id;primary_key" json:"id"` //窗体ID
SF_ScreenID string `gorm:"column:sf_screenid" json:"sf_screenid"` //大屏 系统窗体ID
SF_TypeID int64 `gorm:"column:sf_typeid" json:"sf_typeid"` //投屏窗体类型ID
SF_Name string `gorm:"column:sf_name" json:"sf_name"` //投屏窗体名称
SF_Describe string `gorm:"column:sf_describe" json:"sf_describe"` //投屏窗体描述
SF_Content string `gorm:"column:sf_content" json:"sf_content"` //投屏窗体内容
SF_Width int64 `gorm:"column:sf_width" json:"sf_width"` //宽
SF_Bgcolor string `gorm:"column:sf_bgcolor" json:"sf_bgcolor"` //窗体的背景色
SF_ScreenPath string `gorm:"column:sf_screenpath" json:"sf_screenpath"` //窗体背景路径
SF_Height int64 `gorm:"column:sf_height" json:"sf_height"` //高
SF_CreateTime time.Time `gorm:"column:sf_createtime" json:"sf_createtime"` //创建时间
SF_UpdateTime time.Time `gorm:"column:sf_updatetime" json:"sf_updatetime"` //修改时间
SF_Z float64 `gorm:"column:sf_z" json:"sf_z"`
}
type SQLT_ScreenForm struct {
SF_ID sql.NullString `gorm:"column:id;primary_key" json:"id"` //窗体ID
SF_ScreenID sql.NullString `gorm:"column:sf_screenid" json:"sf_screenid"` //大屏 系统窗体ID
SF_TypeID sql.NullInt64 `gorm:"column:sf_typeid" json:"sf_typeid"` //投屏窗体类型ID
SF_Name sql.NullString `gorm:"column:sf_name" json:"sf_name"` //投屏窗体名称
SF_Describe sql.NullString `gorm:"column:sf_describe" json:"sf_describe"` //投屏窗体描述
SF_Content sql.NullString `gorm:"column:sf_content" json:"sf_content"` //投屏窗体内容
SF_Width sql.NullInt64 `gorm:"column:sf_width" json:"sf_width"` //宽
SF_Bgcolor sql.NullString `gorm:"column:sf_bgcolor" json:"sf_bgcolor"` //窗体的背景色
SF_ScreenPath sql.NullString `gorm:"column:sf_screenpath" json:"sf_screenpath"` //窗体背景路径
SF_Height sql.NullInt64 `gorm:"column:sf_height" json:"sf_height"` //高
SF_CreateTime sql.NullTime `gorm:"column:sf_createtime" json:"sf_createtime"` //创建时间
SF_UpdateTime sql.NullTime `gorm:"column:sf_updatetime" json:"sf_updatetime"` //修改时间
SF_Z sql.NullFloat64 `gorm:"column:sf_z" json:"sf_z"`
}