123456789101112131415161718 |
- package model
- import "time"
- // 脖环召回记录
- type Recall struct {
- Id int64 `xorm:"pk autoincr 'id'"`
- Pastureid string `xorm:"varchar(30) 'pastureid'"` //牧场id
- Count int64 `xorm:"int(11) 'count'"` //召回数量
- Batch string `xorm:"varchar(30) 'batch'"` //召回批次
- Factory int64 `xorm:"int(11) 'factory'"` //关联召回批次数
- CreateName string `xorm:"varchar(30) 'createname'"` //登记人
- CreateTime time.Time `xorm:"DATETIME 'createtime'"` //登记时间
- }
- func (s *Recall) TableName() string {
- return "recall"
- }
|