original_map.go 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. import (
  6. "time"
  7. "gorm.io/gorm"
  8. )
  9. const TableNameOriginalMap = "original_map"
  10. // OriginalMap mapped from table <original_map>
  11. type OriginalMap struct {
  12. ID string `gorm:"column:id;type:varchar(100);primaryKey" json:"id"`
  13. DeviceNo string `gorm:"column:device_no;type:varchar(100);not null" json:"device_no"`
  14. DeviceName string `gorm:"column:device_name;type:varchar(100);not null" json:"device_name"`
  15. DeviceType string `gorm:"column:device_type;type:varchar(100);not null" json:"device_type"`
  16. MapID string `gorm:"column:map_id;type:varchar(100);not null" json:"map_id"`
  17. MapType string `gorm:"column:map_type;type:varchar(50);not null" json:"map_type"`
  18. MapName string `gorm:"column:map_name;type:varchar(255);not null" json:"map_name"`
  19. FloorID string `gorm:"column:floor_id;type:varchar(100);not null" json:"floor_id"`
  20. Floor string `gorm:"column:floor;type:varchar(100);not null" json:"floor"`
  21. BuildID string `gorm:"column:build_id;type:varchar(100);not null" json:"build_id"`
  22. BuildName string `gorm:"column:build_name;type:varchar(100);not null" json:"build_name"`
  23. MapCreateTime string `gorm:"column:map_create_time;type:varchar(100);not null" json:"map_create_time"`
  24. MapUpdateTime string `gorm:"column:map_update_time;type:varchar(100);not null" json:"map_update_time"`
  25. MapVersion string `gorm:"column:map_version;type:varchar(100);not null" json:"map_version"`
  26. PjiMapZipURL string `gorm:"column:pji_map_zip_url;type:varchar(255);not null" json:"pji_map_zip_url"`
  27. CustomAreaID int32 `gorm:"column:custom_area_id;type:int(11);not null" json:"custom_area_id"`
  28. CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null" json:"created_at"`
  29. UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime" json:"updated_at"`
  30. DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime" json:"deleted_at"`
  31. CicvMapPgmURL *string `gorm:"column:cicv_map_pgm_url;type:varchar(255)" json:"cicv_map_pgm_url"`
  32. CicvMapZipURL *string `gorm:"column:cicv_map_zip_url;type:varchar(255)" json:"cicv_map_zip_url"`
  33. }
  34. // TableName OriginalMap's table name
  35. func (*OriginalMap) TableName() string {
  36. return TableNameOriginalMap
  37. }