| 123456789101112131415161718192021222324252627282930313233343536373839 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package equipment
- import (
- internal2 "lims_adapter/model/equipment/internal"
- )
- // BaseEquipmentQualification is the golang structure for table base_equipment_qualification.
- type BaseEquipmentQualification internal2.BaseEquipmentQualification
- // Fill with you ideas below.
- // 添加、修改预约资格
- type AddOrUpdateQualification struct {
- Ids []int `json:"ids"` // 用户Id列表
- InstrumentId int `json:"instrument_id"` // 设备Id
- QualificationType string `json:"qualification_type"` // 预约资格:"normal"普通资格,"senior"资深资格
- }
- // 预约资格分页查询
- type QualificationListReq struct {
- Current int `json:"current"`
- Size int `json:"size"`
- Enabled int `json:"enabled"` // 用户是否启用 0 禁用 1 启用
- InstrumentId int `json:"instrument_id"` // 设备Id
- Type int `json:"type"'` // 1、预约资格,2、优先预约权
- }
- // 删除预约资格
- type IdReq struct {
- Id int `json:"id"`
- UserId int `json:"user_id"`
- EquipmentId int `json:"equipment_id"`
- Date string `json:"date"`
- Belongs string `json:"belongs"`
- }
|