// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "lims_adapter/model" "lims_adapter/model/access/internal" ) // AccessPath is the golang structure for table access_path. type AccessPath internal.AccessPath // Fill with you ideas below. type AccessPathListReq struct { Page *model.Page `json:"page"` OrderBy *model.OrderBy `json:"orderBy"` ObjName string `json:"objName"` // 设备名称或房间名称(实验室) ObjType *int `json:"objType"` // 对象类型 0 仪器设备 1房间(实验室) LockId string `json:"lockId"` // 门禁ID } type AccessPathAddReq struct { ObjId string `json:"objId"` // 设备ID或房间ID(实验室) ObjName string `json:"objName"` // 设备名称或房间名称(实验室) ObjType int `json:"objType"` // 对象类型 0 仪器设备 1房间(实验室) LockId []string `json:"lockId"` // 门禁ID } type ObjLock struct { ObjId string `json:"objId"` // 设备ID或房间ID(实验室) ObjName string `json:"objName"` // 设备名称或房间名称(实验室) ObjType int `json:"objType"` // 对象类型 0 仪器设备 1房间(实验室) Lock []*DeviceLockRelate `json:"lock"` } type AccessPathUpdateReq struct { ObjId string `json:"objId"` // 设备ID或房间ID(实验室) ObjName string `json:"objName"` // 设备名称或房间名称(实验室) ObjType int `json:"objType"` // 对象类型 0 仪器设备 1房间(实验室) LockId []string `json:"lockId"` // 门禁ID } type AccessPathDeleteReqItem struct { ObjId string `json:"objId"` // 设备ID或房间ID(实验室) ObjType int `json:"objType"` // 对象类型 0 仪器设备 1房间(实验室) } type AccessPathGetReq struct { ObjId string `json:"objId"` // 设备ID或房间ID(实验室) ObjType int `json:"objType"` // 对象类型 0 仪器设备 1房间(实验室) } type AccessPathDeleteReq []AccessPathDeleteReqItem