1234567891011121314151617181920212223242526272829303132333435 |
- package model
- type HActiveOriginal struct {
- Id int64 `gorm:"column:id"`
- UUID int64 `gorm:"column:UUID"`
- IntPastureId int32 `gorm:"column:intPastureId"`
- EID1 int64 `gorm:"column:EID1"`
- HeatDate string `gorm:"column:heatdate;type:date"` // 明确指定列名
- CreateTime string `gorm:"column:createtime"` // 明确指定列名
- Low int32 `gorm:"column:low"`
- High int32 `gorm:"column:high"`
- Rumina int32 `gorm:"column:Rumina"`
- Active int32 `gorm:"column:active"`
- Intake int32 `gorm:"column:intake"`
- Inactive int32 `gorm:"column:inactive"`
- Other int32 `gorm:"column:Other"`
- Gasp int32 `gorm:"column:Gasp"`
- Voltage int32 `gorm:"column:voltage"`
- UpPec int32 `gorm:"column:UpPec"`
- Version int32 `gorm:"column:Version"`
- Sign int32 `gorm:"column:Sign"`
- Remain int32 `gorm:"column:Remain"`
- Feed int32 `gorm:"column:feed"`
- FrameId int32 `gorm:"column:frameid"` // 明确指定列名
- Imei int64 `gorm:"column:Imei"`
- ReceiveNum int32 `gorm:"column:receivenum"`
- FrameNb int32 `gorm:"column:frameNb"`
- Senser int32 `gorm:"column:senser"`
- HIB string `gorm:"column:HIB"`
- Nb int32 `gorm:"column:nb"`
- }
- func (h *HActiveOriginal) TableName() string {
- return "h_active_original"
- }
|