model

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tables

func Tables() (t []interface{})

Types

type DeviceRouter

type DeviceRouter struct {
	app.Pk
	DeviceCode        string `orm:"column(device)"`  // 设备Id
	GatewayCode       string `orm:"column(gateway)"` // 网关Id
	DeviceChannelCode string `orm:"column(channel)"` // 设备内部Id
	app.TableChangeInfo
}

DeviceRouter 设备路由表, 每次上报后, 更新相应设备的网关编号与网络地址

type GatewayExt added in v0.2.8

type GatewayExt struct {
	app.Pk
	app.TableChangeInfo
	GatewayCode string `orm:"gateway"`
	Sim         string `orm:"sim"`
}

Jump to

Keyboard shortcuts

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