feed_detail_version.go 570 B

123456789101112131415
  1. package models
  2. type FeedDetailVersion struct {
  3. Id int64 `xorm:"AUTOINCR PK 'id'" json:"id,omitempty"`
  4. PastureId int64 `xorm:"pasture_id" json:"pasture_id"`
  5. FeedTemplateId int64 `xorm:"feed_template_id" json:"feed_template_id"`
  6. GroupVersion int32 `xorm:"group_version" json:"group_version"`
  7. Belong int32 `xorm:"belong" json:"belong"`
  8. CreatedAt int64 `xorm:"created_at" json:"created_at"`
  9. UpdatedAt int64 `xorm:"updated_at" json:"updated_at"`
  10. }
  11. func (f *FeedDetailVersion) TableName() string {
  12. return "feed_detail_version"
  13. }