feequery.go 674 B

12345678910111213141516171819202122
  1. package model
  2. type FeeQuery struct {
  3. Id int64 `gorm:"column:id"`
  4. PastureId int64 `gorm:"column:pastureId"`
  5. RBUKRS string `gorm:"column:RBUKRS"`
  6. WERKS string `gorm:"column:WERKS"`
  7. FYLX string `gorm:"column:FYLX;comment:类型"` //类型
  8. GJAHR string `gorm:"column:GJAHR;comment:年份"` //年份
  9. POPER int64 `gorm:"column:POPER;comment:日期"` //日期
  10. HSL string `gorm:"column:HSL;comment:金额"` //金额
  11. Date string `gorm:"column:Date;comment:时间"` //时间
  12. }
  13. func (t *FeeQuery) TableName() string {
  14. return "feequery"
  15. }
  16. type FeeQueryAndPasture struct {
  17. FeeQuery `xorm:"extends"`
  18. Pasture `xorm:"extends"`
  19. }