models

package
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {
	Id                 int    `json:"id" xorm:"not null pk autoincr INT(11)"`
	DeviceType         int    `json:"device_type" xorm:"not null default 0 comment('设备类型:1-') unique INT(11)"`
	DeviceTypeName     string `json:"device_type_name" xorm:"not null VARCHAR(64)"`
	DeviceTypeTitle    string `json:"device_type_title" xorm:"not null default '' comment('设备类型标题') VARCHAR(64)"`
	RId                int    `json:"r_id" xorm:"not null INT(11)"`
	DeviceScreenWidth  int    `json:"device_screen_width" xorm:"not null default 0 comment('屏宽') INT(11)"`
	DeviceScreenHeight int    `json:"device_screen_height" xorm:"not null default 0 comment('屏高') INT(11)"`
	UpdateTime         int    `json:"update_time" xorm:"not null default 0 INT(11)"`
	CreateTime         int    `json:"create_time" xorm:"not null default 0 INT(11)"`
}

type Test1

type Test1 struct {
	Id         int    `json:"id" xorm:"not null pk autoincr INT(10)"`
	Title      string `json:"title" xorm:"VARCHAR(50)"`
	Status     int    `json:"status" xorm:"TINYINT(4)"`
	CreateTime int    `json:"create_time" xorm:"INT(11)"`
	UpdateTime int    `json:"update_time" xorm:"INT(11)"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL