entity

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkInfo

type LinkInfo struct {
	Id        int         `orm:"id,primary" json:"id"`        // 主键
	Name      string      `orm:"name" json:"name"`            // 连接名称
	Mark      string      `orm:"mark" json:"mark"`            // 连接标记
	CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
	UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改时间
}

LinkInfo is the golang structure for table link_info.

type LinkNet

type LinkNet struct {
	Id         int         `orm:"id,primary" json:"id"`          // 主键
	Name       string      `orm:"name" json:"name"`              // 连接名称
	Mark       string      `orm:"mark" json:"mark"`              // 串口标记
	RemoteType int         `orm:"remote_type" json:"remoteType"` // 远程类型
	RemoteAddr string      `orm:"remote_addr" json:"remoteAddr"` // 远程地址
	RemotePort string      `orm:"remote_port" json:"remotePort"` // 远程端口号
	Timeout    int         `orm:"timeout" json:"timeout"`        // 超时时间
	CreatedAt  *gtime.Time `orm:"created_at" json:"createdAt"`   // 创建时间
	UpdatedAt  *gtime.Time `orm:"updated_at" json:"updatedAt"`   // 修改时间
}

LinkNet is the golang structure for table link_net.

type LinkSerial

type LinkSerial struct {
	Id           int         `orm:"id,primary" json:"id"`              // 主键
	Name         string      `orm:"name" json:"name"`                  // 连接名称
	Mark         string      `orm:"mark" json:"mark"`                  // 串口标记
	SerialName   string      `orm:"serial_name" json:"serialName"`     // 串口号
	SerialBaund  int         `orm:"serial_baund" json:"serialBaund"`   // 串口波特率
	SerialParity string      `orm:"serial_parity" json:"serialParity"` // 串口校验位
	SerialData   int         `orm:"serial_data" json:"serialData"`     // 串口数据位
	SerialStop   int         `orm:"serial_stop" json:"serialStop"`     // 串口停止位
	CreatedAt    *gtime.Time `orm:"created_at" json:"createdAt"`       // 创建时间
	UpdatedAt    *gtime.Time `orm:"updated_at" json:"updatedAt"`       // 修改时间
}

LinkSerial is the golang structure for table link_serial.

Jump to

Keyboard shortcuts

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