oilcard.go 770 B

12345678910111213141516171819202122
  1. package model
  2. type Oilcard struct {
  3. Id string `gorm:"column:id"`
  4. PastureId string `gorm:"column:pastureId"`
  5. DepartmentName string `gorm:"column:departmentName"`
  6. DepartmentId string `gorm:"column:departmentId"`
  7. CardCode string `gorm:"column:cardCode"`
  8. CardType string `gorm:"column:cardType"`
  9. CardAmount string `gorm:"column:cardAmount"`
  10. EqId string `gorm:"column:eqId"`
  11. EqCode string `gorm:"column:eqCode"`
  12. EmpId string `gorm:"column:empId"`
  13. Enable string `gorm:"column:enable"`
  14. LastcardAmount string `gorm:"column:lastcardAmount"`
  15. OilType string `gorm:"column:oilType"`
  16. OilName string `gorm:"column:oilName"`
  17. }
  18. func (t Oilcard) TableName() string {
  19. return "oilcard"
  20. }