simulation_test_record.go 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 TableNameSimulationTestRecord = "simulation_test_record"
  10. // SimulationTestRecord mapped from table <simulation_test_record>
  11. type SimulationTestRecord struct {
  12. ID string `gorm:"column:id;type:varchar(100);primaryKey" json:"id"`
  13. DeviceID string `gorm:"column:device_id;type:varchar(100);not null" json:"device_id"`
  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. AlgoImageName string `gorm:"column:algo_image_name;type:varchar(100);not null" json:"algo_image_name"`
  17. AlgoVersion string `gorm:"column:algo_version;type:varchar(50);not null" json:"algo_version"`
  18. PgmPath string `gorm:"column:pgm_path;type:varchar(255);not null" json:"pgm_path"`
  19. WorldPath string `gorm:"column:world_path;type:varchar(255);not null" json:"world_path"`
  20. TestBagPath string `gorm:"column:test_bag_path;type:varchar(255);not null" json:"test_bag_path"`
  21. TestDuration int32 `gorm:"column:test_duration;type:int(11);not null" json:"test_duration"`
  22. TestDistance int32 `gorm:"column:test_distance;type:int(11);not null" json:"test_distance"`
  23. AlgoEvaluationLevel string `gorm:"column:algo_evaluation_level;type:varchar(50);not null" json:"algo_evaluation_level"`
  24. AlgoEvaluationReport string `gorm:"column:algo_evaluation_report;type:varchar(100);not null" json:"algo_evaluation_report"`
  25. CreatedAt time.Time `gorm:"column:created_at;type:datetime;not null" json:"created_at"`
  26. UpdatedAt *time.Time `gorm:"column:updated_at;type:datetime" json:"updated_at"`
  27. DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime" json:"deleted_at"`
  28. }
  29. // TableName SimulationTestRecord's table name
  30. func (*SimulationTestRecord) TableName() string {
  31. return TableNameSimulationTestRecord
  32. }