| 12345678910111213141516171819202122232425262728 |
- package model
- import "dashoo.cn/common_definition/comm_def"
- type BaseModel struct {
- LaboratoryId int `json:"laboratory_id"` // 实验室ID
- LaboratoryName string `json:"laboratory_name"` // 实验室名称
- }
- // DeviceStatistics 实验设备使用数据
- type DeviceStatistics struct {
- BaseModel
- BaseEquipment int `json:"base_equipment"` // 基础科研设备
- LaboratoryEquipment int `json:"laboratory_equipment"` // 实验室设备
- UseTime float64 `json:"use_time"` // 使用时长
- ExperimentalData int `json:"experimental_data"` // 实验数据
- }
- // ExperimentalData 实验数据
- type ExperimentalData struct {
- Year string `json:"year"` // 年份
- Quantity float64 `json:"quantity"` // 实验数据数量
- }
- type Resp struct {
- CommonMsg *comm_def.CommonMsg `json:"common_msg"`
- Data interface{}
- }
|