12345678910111213141516171819202122 |
- package model
- type FeeQuery struct {
- Id int64 `gorm:"column:id"`
- PastureId int64 `gorm:"column:pastureId"`
- RBUKRS string `gorm:"column:RBUKRS"`
- WERKS string `gorm:"column:WERKS"`
- FYLX string `gorm:"column:FYLX;comment:类型"` //类型
- GJAHR string `gorm:"column:GJAHR;comment:年份"` //年份
- POPER int64 `gorm:"column:POPER;comment:日期"` //日期
- HSL string `gorm:"column:HSL;comment:金额"` //金额
- Date string `gorm:"column:Date;comment:时间"` //时间
- }
- func (t *FeeQuery) TableName() string {
- return "feequery"
- }
- type FeeQueryAndPasture struct {
- FeeQuery `xorm:"extends"`
- Pasture `xorm:"extends"`
- }
|