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.
41 lines
2.6 KiB
Go
41 lines
2.6 KiB
Go
package Model
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
// "time"
|
|
)
|
|
|
|
type T_Screen struct {
|
|
Scr_ID string `gorm:"column:id;primary_key" json:"id"` //屏幕ID
|
|
Scr_SortID int64 `gorm:"column:scr_sortid" json:"scr_sortid"` //屏幕分类ID 和屏幕窗体分类相同
|
|
Scr_Name string `gorm:"column:scr_name" json:"scr_name"` //屏幕名称
|
|
Scr_Describe string `gorm:"column:scr_describe" json:"scr_describe"` //屏幕描述
|
|
Scr_Width int64 `gorm:"column:scr_width" json:"scr_width"` //屏幕宽
|
|
Scr_Height int64 `gorm:"column:scr_height" json:"scr_height"` //屏幕高
|
|
Scr_Xpoint int64 `gorm:"column:scr_xpoint" json:"scr_xpoint"` //屏幕X坐标
|
|
Scr_Ypoint int64 `gorm:"column:scr_ypoint" json:"scr_ypoint"` //屏幕Y坐标
|
|
Scr_IsEnabled int64 `gorm:"column:scr_isenabled" json:"scr_isenabled"` //是否显示 0不显示 1显示
|
|
Scr_Serial int64 `gorm:"column:scr_serial" json:"scr_serial"` //排序编号
|
|
Scr_CreateTime time.Time `gorm:"column:scr_createtime" json:"scr_createtime"` //创建时间
|
|
Scr_UpdateTime time.Time `gorm:"column:scr_updatetime" json:"scr_updatetime"` //修改时间
|
|
Scr_Bgcolor string `gorm:"column:scr_bgcolor" json:"scr_bgcolor"` //Scr_Bgcolor
|
|
}
|
|
|
|
type SQLT_Screen struct {
|
|
Scr_ID sql.NullString `gorm:"column:id;primary_key" json:"id"` //屏幕ID
|
|
Scr_SortID sql.NullInt64 `gorm:"column:scr_sortid" json:"scr_sortid"` //屏幕分类ID 和屏幕窗体分类相同
|
|
Scr_Name sql.NullString `gorm:"column:scr_name" json:"scr_name"` //屏幕名称
|
|
Scr_Describe sql.NullString `gorm:"column:scr_describe" json:"scr_describe"` //屏幕描述
|
|
Scr_Width sql.NullInt64 `gorm:"column:scr_width" json:"scr_width"` //屏幕宽
|
|
Scr_Height sql.NullInt64 `gorm:"column:scr_height" json:"scr_height"` //屏幕高
|
|
Scr_Xpoint sql.NullInt64 `gorm:"column:scr_xpoint" json:"scr_xpoint"` //屏幕X坐标
|
|
Scr_Ypoint sql.NullInt64 `gorm:"column:scr_ypoint" json:"scr_ypoint"` //屏幕Y坐标
|
|
Scr_IsEnabled sql.NullInt64 `gorm:"column:scr_isenabled" json:"scr_isenabled"` //是否显示 0不显示 1显示
|
|
Scr_Serial sql.NullInt64 `gorm:"column:scr_serial" json:"scr_serial"` //排序编号
|
|
Scr_CreateTime sql.NullTime `gorm:"column:scr_createtime" json:"scr_createtime"` //创建时间
|
|
Scr_UpdateTime sql.NullTime `gorm:"column:scr_updatetime" json:"scr_updatetime"` //修改时间
|
|
Scr_Bgcolor sql.NullString `gorm:"column:scr_bgcolor" json:"scr_bgcolor"` //Scr_Bgcolor
|
|
|
|
}
|