Browse Source

add station name

sainw 5 years ago
parent
commit
4a2d4ae5bb
1 changed files with 5 additions and 4 deletions
  1. 5 4
      vo.go

+ 5 - 4
vo.go

@@ -38,13 +38,14 @@ type SyncLog struct {
 // Client data
 type ClientPriceUpdate struct {
 	Model
-	CompanyId     uint64 `json:"company_id"` // only used by FOS
-	StationId     uint64 `json:"station_id"` // only used by FOS
+	CompanyId     uint64 `json:"company_id"`   // only used by FOS
+	StationId     uint64 `json:"station_id"`   // only used by FOS
+	StationName   uint64 `json:"station_name"` // only used by FOS
 	PriceUpdateId uint64 `json:"price_update_id"`
 	GradeId       uint64 `json:"grade_id"`
 	GradeText     string `json:"grade_text"`
 	GradePrice    uint64 `json:"grade_price"`
 	NewGradePrice uint64 `json:"new_grade_price"`
-	RecCreatedAt  string `json:"rec_created_at"`
-	RecUpdatedAt  string `json:"rec_updated_at"`
+	RecCreatedAt  string `json:"rec_created_at"` // record created time
+	RecUpdatedAt  string `json:"rec_updated_at"` // record updated time
 }