unit.go 463 B

12345678910111213141516171819202122
  1. package utModels
  2. import (
  3. _ "github.com/revel/revel"
  4. )
  5. type Unit struct {
  6. UnitExtId int `gorm:"column:s_id"`
  7. Modtime []uint8
  8. SCode string `gorm:"column:s_code"`
  9. SCodeFull string `gorm:"column:s_code_full"`
  10. Shortname string
  11. Fullname string `gorm:"column:name"`
  12. Name string `gorm:"column:name_part"`
  13. Theme string
  14. UnitTrick string `gorm:"column:unit"`
  15. PersNumber *int `gorm:"column:pers_number"`
  16. }
  17. type UnitParams struct {
  18. }