|
@@ -10,7 +10,7 @@ import (
|
|
|
)
|
|
|
|
|
|
type FeedTemplate struct {
|
|
|
- Id int64 `xorm:"id" json:"id"`
|
|
|
+ Id int64 `xorm:"AUTOINCR 'id'" json:"id"`
|
|
|
PastureId int64 `xorm:"pastureid" json:"pasture_id"`
|
|
|
TCode string `xorm:"tcode" json:"t_code"`
|
|
|
TName string `xorm:"tname" json:"t_name"`
|