| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "github.com/gogf/gf/os/gtime"
- "lims_adapter/model"
- "lims_adapter/model/access/internal"
- )
- // RecordHistory is the golang structure for table record_history.
- type RecordHistory internal.RecordHistory
- // Fill with you ideas below.
- type RecordHistoryListReq struct {
- Page *model.Page `json:"page"`
- OrderBy *model.OrderBy `json:"orderBy"`
- ProjectSourse string `json:"projectSourse"` // 项目来源,所属系统 mcs、biobank、lims
- ProjectAccount string `json:"projectAccount"` // 开锁人员账号
- ProjectAccountName string `json:"projectAccountName"` // 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误
- SendTo string `json:"sendTo"` // 发送账号名称 历史原因字段有误
- DataItem string `json:"dataItem"` // 设备类型 31:扫码智能锁, 33:人脸识别智能锁
- IsSend *int `json:"isSend"` // 是否发送成功 0成功,1失败,2未发送
- DeviceId string `json:"deviceId"` // 设备id
- DeviceName string `json:"deviceName"` // 设备名
- ChannelCode string `json:"channelCode"` // 传感器编号(门禁ID)
- ChannelName string `json:"channelName"` // 传感器名(门禁名称)
- CreateOnStart *gtime.Time `json:"createOnStart"` // 开锁时间
- CreateOnEnd *gtime.Time `json:"createOnEnd"` // 开锁时间
- }
- type RecordHistoryAddReq struct {
- ProjectSourse string `json:"projectSourse"` // 项目来源,所属系统 mcs、biobank、lims
- ProjectAccount string `json:"projectAccount"` // 开锁人员账号
- ProjectAccountName string `json:"projectAccountName"` // 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误
- SendTo string `json:"sendTo"` // 发送账号名称 历史原因字段有误
- DataItem string `json:"dataItem"` // 设备类型 31:扫码智能锁, 33:人脸识别智能锁
- Message string `json:"message"` // 消息 发送消息内容
- IsSend int `json:"isSend"` // 是否发送成功 0成功,1失败,2未发送
- DeviceId string `json:"deviceId"` // 设备id
- DeviceName string `json:"deviceName"` // 设备名
- ChannelCode string `json:"channelCode"` // 传感器编号(门禁ID)
- ChannelName string `json:"channelName"` // 传感器名(门禁名称)
- CreateOn *gtime.Time `json:"createOn"` // 开锁时间
- }
- type IdsReq struct {
- Id []int `json:"id" v:"required#请输入Id"`
- }
- type IdReq struct {
- Id int `json:"id" v:"required#请输入Id"`
- }
|