models

package
v0.0.0-...-9b1755c Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfDevice

type CfDevice struct {
	DevId         int64  `json:"local_device_id" gorm:"column:dev_id"`                        // 服务id
	DevType       int64  `json:"device_type_id" gorm:"column:dev_type"`                       // 类型
	DevStatus     int64  `json:"device_status" gorm:"column:dev_status"`                      // 状态
	DevActive     int64  `json:"device_active" gorm:"column:dev_active"`                      // 状态
	DevCode       string `json:"device_code" gorm:"column:dev_code;type:varchar(50)"`         // 设备代码
	DevDesc       string `json:"device_desc" gorm:"column:dev_desc;type:varchar(50)"`         // 设备描述
	DevPosition   string `json:"device_position" gorm:"column:dev_position;type:varchar(50)"` // 位置
	DevIp         string `json:"device_ip" gorm:"column:dev_ip;type:varchar(40)"`             // ip
	LocDesc       string `json:"loc_desc" gorm:"column:loc_desc;type:varchar(60)"`            // loc_desc
	RoomDesc      string `json:"room_desc" gorm:"column:room_desc;type:varchar(60)"`          // room_desc
	BedCode       string `json:"bed_code" gorm:"column:bed_code;type:varchar(255)"`           // bed_code
	DevCreateTime string `json:"create_at" gorm:"column:dev_create_time"`                     // 创建时间
}

func GetCfDevice

func GetCfDevice() ([]*CfDevice, error)

type RestfulMsg

type RestfulMsg struct {
	gorm.Model
	Url    string `json:"url" gorm:"column:url"`
	Status bool   `json:"status" gorm:"column:status"`
	ErrMsg string `json:"err_msg" gorm:"column:err_msg"`
}

type ServerMsg

type ServerMsg struct {
	PlatformServiceId int64  `json:"platform_service_id" gorm:"column:platform_service_id"`       // 服务id
	ServiceTypeId     int64  `json:"service_type_id" gorm:"column:service_type_id"`               // 服务类型id
	ServiceName       string `json:"service_name" gorm:"column:service_name;type:varchar(256)"`   // 服务类型名称
	ServiceTitle      string `json:"service_title" gorm:"column:service_title;type:varchar(256)"` // 服务类型名称
	FaultMsg          string `json:"fault_msg" gorm:"column:fault_msg;type:varchar(256)"`         // 错误信息
	Status            bool   `json:"status" gorm:"column:status"`                                 // 服务装填
}

type Telphone

type Telphone struct {
	TelId             int64  `json:"tel_id" gorm:"column:tel_id"`                                              // id
	SsTelGroupId      int64  `json:"ss_tel_group_id" gorm:"column:ss_tel_group_id"`                            // 项目分类,急诊、维修、检查等等
	TelDesc           string `json:"tel_desc" gorm:"column:tel_desc;type:varchar(50)"`                         //通讯录名称
	TelHousePhone     string `json:"tel_house_phone" gorm:"column:tel_house_phone;type:varchar(15)"`           // 内线电话
	TelOutsidePhone   string `json:"tel_outside_phone" gorm:"column:tel_outside_phone;type:varchar(15)"`       // 外线电话
	TelLocContactName string `json:"tel_loc_contact_name" gorm:"column:tel_loc_contact_name;type:varchar(30)"` // 拼音码
}

type TelphoneGroup

type TelphoneGroup struct {
	TelgId       int64  `json:"telg_id" gorm:"column:telg_id"`                       // id
	TelgCode     int64  `json:"telg_code" gorm:"column:telg_code"`                   // 代码
	TelgDesc     string `json:"telg_desc" gorm:"column:telg_desc;type:varchar(30)"`  // 描述
	TelgIcon     string `json:"telg_icon" gorm:"column:telg_icon;type:varchar(255)"` // 分类图标
	TelgParentId int64  `json:"telg_parent_id" gorm:"column:telg_parent_id"`         // 父级id
}

Jump to

Keyboard shortcuts

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