dws22.go 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. package model
  2. import (
  3. "git.getensh.com/common/gopkgsv2/database"
  4. "gorm.io/gorm"
  5. )
  6. type Dws22Model interface {
  7. Get(db *gorm.DB) (*Dws22, error)
  8. }
  9. type Dws22 struct {
  10. ID int64 `gorm:"column:id" json:"id"`
  11. Initial string `gorm:"column:initial" json:"initial"`
  12. BrandId string `gorm:"column:brand_id" json:"brand_id"`
  13. BrandName string `gorm:"column:brand_name" json:"brand_name"`
  14. SeriesId string `gorm:"column:series_id" json:"series_id"`
  15. SeriesName string `gorm:"column:series_name" json:"series_name"`
  16. StyleId string `gorm:"column:style_id" json:"style_id"`
  17. StyleName string `gorm:"column:style_name" json:"style_name"`
  18. Level string `gorm:"column:level" json:"level"`
  19. Maker string `gorm:"column:maker" json:"maker"`
  20. MakerId string `gorm:"column:maker_id" json:"maker_id"`
  21. OnSale string `gorm:"column:on_sale" json:"on_sale"`
  22. ModelYear string `gorm:"column:model_year" json:"model_year"`
  23. MarketTime string `gorm:"column:market_time" json:"market_time"`
  24. PriceYuan string `gorm:"column:price_yuan" json:"price_yuan"`
  25. Price string `gorm:"column:price" json:"price"`
  26. SubLevel string `gorm:"column:sub_level" json:"sub_level"`
  27. FuelTypeDetail1 string `gorm:"column:fuel_type_detail1" json:"fuel_type_detail1"`
  28. EmissionStandard string `gorm:"column:emission_standard" json:"emission_standard"`
  29. FastChargingTime string `gorm:"column:fast_charging_time" json:"fast_charging_time"`
  30. SlowChargingTime string `gorm:"column:slow_charging_time" json:"slow_charging_time"`
  31. FastChargeAmount string `gorm:"column:fast_charge_amount" json:"fast_charge_amount"`
  32. MaximumPower string `gorm:"column:maximum_power" json:"maximum_power"`
  33. MaximumTorque string `gorm:"column:maximum_torque" json:"maximum_torque"`
  34. Engine string `gorm:"column:engine" json:"engine"`
  35. Alternator string `gorm:"column:alternator" json:"alternator"`
  36. GearboxDesc string `gorm:"column:gearbox_desc" json:"gearbox_desc"`
  37. Lwh string `gorm:"column:lwh" json:"lwh"`
  38. VehicleStructure string `gorm:"column:vehicle_structure" json:"vehicle_structure"`
  39. MaximumSpeed string `gorm:"column:maximum_speed" json:"maximum_speed"`
  40. HundredAccelerate string `gorm:"column:hundred_accelerate" json:"hundred_accelerate"`
  41. HundredAccelerateMeasure string `gorm:"column:hundred_accelerate_measure" json:"hundred_accelerate_measure"`
  42. BrakingDistanceMeasure string `gorm:"column:braking_distance_measure" json:"braking_distance_measure"`
  43. MaximumSimulationMilageMeasure string `gorm:"column:maximum_simulation_milage_measure" json:"maximum_simulation_milage_measure"`
  44. OilWearComrehensive string `gorm:"column:oil_wear_comrehensive" json:"oil_wear_comrehensive"`
  45. OilWearMeasure string `gorm:"column:oil_wear_measure" json:"oil_wear_measure"`
  46. VehicleWarranty string `gorm:"column:vehicle_warranty" json:"vehicle_warranty"`
  47. Long string `gorm:"column:long" json:"long"`
  48. Wide string `gorm:"column:wide" json:"wide"`
  49. High string `gorm:"column:high" json:"high"`
  50. Wheelbase string `gorm:"column:wheelbase" json:"wheelbase"`
  51. FrontWheelDistance string `gorm:"column:front_wheel_distance" json:"front_wheel_distance"`
  52. BackWheelDistance string `gorm:"column:back_wheel_distance" json:"back_wheel_distance"`
  53. MinimumGroundClearance string `gorm:"column:minimum_ground_clearance" json:"minimum_ground_clearance"`
  54. DoorNumber string `gorm:"column:door_number" json:"door_number"`
  55. SeatNumber string `gorm:"column:seat_number" json:"seat_number"`
  56. OilboxVolume string `gorm:"column:oilbox_volume" json:"oilbox_volume"`
  57. TrunkVolume string `gorm:"column:trunk_volume" json:"trunk_volume"`
  58. UnladenMass string `gorm:"column:unladen_mass" json:"unladen_mass"`
  59. EngineType string `gorm:"column:engine_type" json:"engine_type"`
  60. Displacement string `gorm:"column:displacement" json:"displacement"`
  61. DisplacementL string `gorm:"column:displacement_l" json:"displacement_l"`
  62. AirIntakForm string `gorm:"column:air_intak_form" json:"air_intak_form"`
  63. AirIntakFormDetail string `gorm:"column:air_intak_form_detail" json:"air_intak_form_detail"`
  64. CylinderArrangement string `gorm:"column:cylinder_arrangement" json:"cylinder_arrangement"`
  65. CylinderNumber string `gorm:"column:cylinder_number" json:"cylinder_number"`
  66. CylinderValveNumber string `gorm:"column:cylinder_valve_number" json:"cylinder_valve_number"`
  67. ReductionRatio string `gorm:"column:reduction_ratio" json:"reduction_ratio"`
  68. ValveMechanism string `gorm:"column:valve_mechanism" json:"valve_mechanism"`
  69. CylinderDiameter string `gorm:"column:cylinder_diameter" json:"cylinder_diameter"`
  70. PistonStroke string `gorm:"column:piston_stroke" json:"piston_stroke"`
  71. MaximumHorsepower string `gorm:"column:maximum_horsepower" json:"maximum_horsepower"`
  72. MaximumPowerRpm string `gorm:"column:maximum_power_rpm" json:"maximum_power_rpm"`
  73. Rpm string `gorm:"column:rpm" json:"rpm"`
  74. EngineTechnology string `gorm:"column:engine_technology" json:"engine_technology"`
  75. FuelTypeDetail string `gorm:"column:fuel_type_detail" json:"fuel_type_detail"`
  76. FuelLable string `gorm:"column:fuel_lable" json:"fuel_lable"`
  77. OilSupplyMode string `gorm:"column:oil_supply_mode" json:"oil_supply_mode"`
  78. CylinderHeadMaterial string `gorm:"column:cylinder_head_material" json:"cylinder_head_material"`
  79. CylinderMaterial string `gorm:"column:cylinder_material" json:"cylinder_material"`
  80. MotorType string `gorm:"column:motor_type" json:"motor_type"`
  81. TotalMotorPower string `gorm:"column:total_motor_power" json:"total_motor_power"`
  82. TotalMotorTorque string `gorm:"column:total_motor_torque" json:"total_motor_torque"`
  83. FrontElectricMaximumPower string `gorm:"column:front_electric_maximum_power" json:"front_electric_maximum_power"`
  84. FrontElectricTorque string `gorm:"column:front_electric_torque" json:"front_electric_torque"`
  85. BackElectricMaximumPower string `gorm:"column:back_electric_maximum_power" json:"back_electric_maximum_power"`
  86. BackElectricTorque string `gorm:"column:back_electric_torque" json:"back_electric_torque"`
  87. SystemIntegratedPower string `gorm:"column:system_integrated_power" json:"system_integrated_power"`
  88. SystemIntegratedTorque string `gorm:"column:system_integrated_torque" json:"system_integrated_torque"`
  89. MotorNumber string `gorm:"column:motor_number" json:"motor_number"`
  90. MotorLayout string `gorm:"column:motor_layout" json:"motor_layout"`
  91. BatteryType string `gorm:"column:battery_type" json:"battery_type"`
  92. MaximumSimulationMilage string `gorm:"column:maximum_simulation_milage" json:"maximum_simulation_milage"`
  93. BatteryEnergy string `gorm:"column:battery_energy" json:"battery_energy"`
  94. HundredElectricityConsumption string `gorm:"column:hundred_electricity_consumption" json:"hundred_electricity_consumption"`
  95. BatteryPackWarranty string `gorm:"column:battery_pack_warranty" json:"battery_pack_warranty"`
  96. GearNumber string `gorm:"column:gear_number" json:"gear_number"`
  97. GearboxType string `gorm:"column:gearbox_type" json:"gearbox_type"`
  98. DriveType string `gorm:"column:drive_type" json:"drive_type"`
  99. FrontSuspentionType string `gorm:"column:front_suspention_type" json:"front_suspention_type"`
  100. BackSuspentionType string `gorm:"column:back_suspention_type" json:"back_suspention_type"`
  101. AssistType string `gorm:"column:assist_type" json:"assist_type"`
  102. BodyStructure string `gorm:"column:body_structure" json:"body_structure"`
  103. FrontBrakeType string `gorm:"column:front_brake_type" json:"front_brake_type"`
  104. BackBrakeType string `gorm:"column:back_brake_type" json:"back_brake_type"`
  105. ParkingBrakeType string `gorm:"column:parking_brake_type" json:"parking_brake_type"`
  106. FrontWheelSpecification string `gorm:"column:front_wheel_specification" json:"front_wheel_specification"`
  107. BackWheelSpecification string `gorm:"column:back_wheel_specification" json:"back_wheel_specification"`
  108. SpareWheelSpecification string `gorm:"column:spare_wheel_specification" json:"spare_wheel_specification"`
  109. MainSeatAirbag string `gorm:"column:main_seat_airbag" json:"main_seat_airbag"`
  110. AuxiliarySeatAirbag string `gorm:"column:auxiliary_seat_airbag" json:"auxiliary_seat_airbag"`
  111. FrontSideAirbag string `gorm:"column:front_side_airbag" json:"front_side_airbag"`
  112. BackSideAirbag string `gorm:"column:back_side_airbag" json:"back_side_airbag"`
  113. FontHeadAirbag string `gorm:"column:font_head_airbag" json:"font_head_airbag"`
  114. BackHeadAirbag string `gorm:"column:back_head_airbag" json:"back_head_airbag"`
  115. KneeAirbag string `gorm:"column:knee_airbag" json:"knee_airbag"`
  116. PassengerSeatCushionAirbag string `gorm:"column:passenger_seat_cushion_airbag" json:"passenger_seat_cushion_airbag"`
  117. FrontMiddleAirbag string `gorm:"column:front_middle_airbag" json:"front_middle_airbag"`
  118. BackBeltAirbag string `gorm:"column:back_belt_airbag" json:"back_belt_airbag"`
  119. RearSeatAntiSlideAirbag string `gorm:"column:rear_seat_anti_slide_airbag" json:"rear_seat_anti_slide_airbag"`
  120. RearCentralAirbag string `gorm:"column:rear_central_airbag" json:"rear_central_airbag"`
  121. PassivePedestrianProtection string `gorm:"column:passive_pedestrian_protection" json:"passive_pedestrian_protection"`
  122. TirePresureMonitor string `gorm:"column:tire_presure_monitor" json:"tire_presure_monitor"`
  123. RunFlatTire string `gorm:"column:run_flat_tire" json:"run_flat_tire"`
  124. SeatBeltWarning string `gorm:"column:seat_belt_warning" json:"seat_belt_warning"`
  125. IsoFix string `gorm:"column:iso_fix" json:"iso_fix"`
  126. Abs string `gorm:"column:abs" json:"abs"`
  127. EbdCbc string `gorm:"column:ebd_cbc" json:"ebd_cbc"`
  128. EbaBasBa string `gorm:"column:eba_bas_ba" json:"eba_bas_ba"`
  129. AsrTcsTrc string `gorm:"column:asr_tcs_trc" json:"asr_tcs_trc"`
  130. Esp string `gorm:"column:esp" json:"esp"`
  131. ParallelAuxiliary string `gorm:"column:parallel_auxiliary" json:"parallel_auxiliary"`
  132. LaneDepartureWarningSystem string `gorm:"column:lane_departure_warning_system" json:"lane_departure_warning_system"`
  133. LaneKeeping string `gorm:"column:lane_keeping" json:"lane_keeping"`
  134. RoadTrafficSignRecognition string `gorm:"column:road_traffic_sign_recognition" json:"road_traffic_sign_recognition"`
  135. ActiveBrake string `gorm:"column:active_brake" json:"active_brake"`
  136. NightVision string `gorm:"column:night_vision" json:"night_vision"`
  137. FatigueDrivingWarning string `gorm:"column:fatigue_driving_warning" json:"fatigue_driving_warning"`
  138. FrontParkingRador string `gorm:"column:front_parking_rador" json:"front_parking_rador"`
  139. BackParkingRador string `gorm:"column:back_parking_rador" json:"back_parking_rador"`
  140. AutomaticDrivingAssistance string `gorm:"column:automatic_driving_assistance" json:"automatic_driving_assistance"`
  141. ReverseVehicleSideWarningSystem string `gorm:"column:reverse_vehicle_side_warning_system" json:"reverse_vehicle_side_warning_system"`
  142. CruiseSystem string `gorm:"column:cruise_system" json:"cruise_system"`
  143. DrivingModeSelection string `gorm:"column:driving_mode_selection" json:"driving_mode_selection"`
  144. AutomaticParking string `gorm:"column:automatic_parking" json:"automatic_parking"`
  145. EngineStartStopTechnology string `gorm:"column:engine_start_stop_technology" json:"engine_start_stop_technology"`
  146. AutoHold string `gorm:"column:auto_hold" json:"auto_hold"`
  147. AscentAssist string `gorm:"column:ascent_assist" json:"ascent_assist"`
  148. Hdc string `gorm:"column:hdc" json:"hdc"`
  149. VariableSuspension string `gorm:"column:variable_suspension" json:"variable_suspension"`
  150. AirSuspension string `gorm:"column:air_suspension" json:"air_suspension"`
  151. EInductionSuspension string `gorm:"column:e_induction_suspension" json:"e_induction_suspension"`
  152. VariableSteeringRatio string `gorm:"column:variable_steering_ratio" json:"variable_steering_ratio"`
  153. CentralDiffLock string `gorm:"column:central_diff_lock" json:"central_diff_lock"`
  154. OverallActiveSteeringSystem string `gorm:"column:overall_active_steering_system" json:"overall_active_steering_system"`
  155. Edl string `gorm:"column:edl" json:"edl"`
  156. WadeSensingSystem string `gorm:"column:wade_sensing_system" json:"wade_sensing_system"`
  157. SkylightType string `gorm:"column:skylight_type" json:"skylight_type"`
  158. SportsAppearanceKit string `gorm:"column:sports_appearance_kit" json:"sports_appearance_kit"`
  159. Tail string `gorm:"column:tail" json:"tail"`
  160. RimMaterial string `gorm:"column:rim_material" json:"rim_material"`
  161. Eosd string `gorm:"column:eosd" json:"eosd"`
  162. FramelessDesignDoor string `gorm:"column:frameless_design_door" json:"frameless_design_door"`
  163. SideSlidingDoor string `gorm:"column:side_sliding_door" json:"side_sliding_door"`
  164. ElectricTrunk string `gorm:"column:electric_trunk" json:"electric_trunk"`
  165. InductiveTrunk string `gorm:"column:inductive_trunk" json:"inductive_trunk"`
  166. RearCompartmentPositionMemory string `gorm:"column:rear_compartment_position_memory" json:"rear_compartment_position_memory"`
  167. TheTailgateGlassOpensIndependently string `gorm:"column:the_tailgate_glass_opens_independently" json:"the_tailgate_glass_opens_independently"`
  168. RoofLuggageRack string `gorm:"column:roof_luggage_rack" json:"roof_luggage_rack"`
  169. ElectronicAntiTheft string `gorm:"column:electronic_anti_theft" json:"electronic_anti_theft"`
  170. CentralControlLock string `gorm:"column:central_control_lock" json:"central_control_lock"`
  171. KeyType string `gorm:"column:key_type" json:"key_type"`
  172. KeylessStartSystem string `gorm:"column:keyless_start_system" json:"keyless_start_system"`
  173. KeylessEntrySystem string `gorm:"column:keyless_entry_system" json:"keyless_entry_system"`
  174. HideElectricDoorHandle string `gorm:"column:hide_electric_door_handle" json:"hide_electric_door_handle"`
  175. ActiveIntakeGrille string `gorm:"column:active_intake_grille" json:"active_intake_grille"`
  176. RemoteStart string `gorm:"column:remote_start" json:"remote_start"`
  177. OutsidePedal string `gorm:"column:outside_pedal" json:"outside_pedal"`
  178. BatteryPreHeating string `gorm:"column:battery_pre_heating" json:"battery_pre_heating"`
  179. SteeringWheelMaterial string `gorm:"column:steering_wheel_material" json:"steering_wheel_material"`
  180. SteeringWheelAdjustment string `gorm:"column:steering_wheel_adjustment" json:"steering_wheel_adjustment"`
  181. MultiFunctionalSteeringWheel string `gorm:"column:multi_functional_steering_wheel" json:"multi_functional_steering_wheel"`
  182. SteeringWheelShift string `gorm:"column:steering_wheel_shift" json:"steering_wheel_shift"`
  183. SteeringWheelHeating string `gorm:"column:steering_wheel_heating" json:"steering_wheel_heating"`
  184. SteeringWheelRemember string `gorm:"column:steering_wheel_remember" json:"steering_wheel_remember"`
  185. DrivingComputerDisplay string `gorm:"column:driving_computer_display" json:"driving_computer_display"`
  186. FullLcdDashboard string `gorm:"column:full_lcd_dashboard" json:"full_lcd_dashboard"`
  187. FullLcdDashboardSize string `gorm:"column:full_lcd_dashboard_size" json:"full_lcd_dashboard_size"`
  188. HudRisingNumberDisplay string `gorm:"column:hud_rising_number_display" json:"hud_rising_number_display"`
  189. CarDrivingRecorder string `gorm:"column:car_driving_recorder" json:"car_driving_recorder"`
  190. ActiveNoiseReduction string `gorm:"column:active_noise_reduction" json:"active_noise_reduction"`
  191. MobilePhoneWirelessCharging string `gorm:"column:mobile_phone_wireless_charging" json:"mobile_phone_wireless_charging"`
  192. ElectricallyAdjustablePedal string `gorm:"column:electrically_adjustable_pedal" json:"electrically_adjustable_pedal"`
  193. SeatMaterial string `gorm:"column:seat_material" json:"seat_material"`
  194. SportSeat string `gorm:"column:sport_seat" json:"sport_seat"`
  195. MainSeatAdjustmentMode string `gorm:"column:main_seat_adjustment_mode" json:"main_seat_adjustment_mode"`
  196. AuxiliarySeatAdjustmentMode string `gorm:"column:auxiliary_seat_adjustment_mode" json:"auxiliary_seat_adjustment_mode"`
  197. MainElectricAdust string `gorm:"column:main_electric_adust" json:"main_electric_adust"`
  198. AuxiliaryElectricAdust string `gorm:"column:auxiliary_electric_adust" json:"auxiliary_electric_adust"`
  199. FrontSeatFunction string `gorm:"column:front_seat_function" json:"front_seat_function"`
  200. ElectricSeatRemeber string `gorm:"column:electric_seat_remeber" json:"electric_seat_remeber"`
  201. AuxiliaryAdjustableButton string `gorm:"column:auxiliary_adjustable_button" json:"auxiliary_adjustable_button"`
  202. SecondRowSeatAdjustment string `gorm:"column:second_row_seat_adjustment" json:"second_row_seat_adjustment"`
  203. RearSeatElectricAdjustment string `gorm:"column:rear_seat_electric_adjustment" json:"rear_seat_electric_adjustment"`
  204. RearSeatFunction string `gorm:"column:rear_seat_function" json:"rear_seat_function"`
  205. BackFoldTable string `gorm:"column:back_fold_table" json:"back_fold_table"`
  206. SecondIndependent string `gorm:"column:second_independent" json:"second_independent"`
  207. SeatLayoutForm string `gorm:"column:seat_layout_form" json:"seat_layout_form"`
  208. BackDownType string `gorm:"column:back_down_type" json:"back_down_type"`
  209. RearSeatPowerDown string `gorm:"column:rear_seat_power_down" json:"rear_seat_power_down"`
  210. FrontHandrail string `gorm:"column:front_handrail" json:"front_handrail"`
  211. BackHandrail string `gorm:"column:back_handrail" json:"back_handrail"`
  212. BackCupHolder string `gorm:"column:back_cup_holder" json:"back_cup_holder"`
  213. HeatingCoolingCupHolder string `gorm:"column:heating_cooling_cup_holder" json:"heating_cooling_cup_holder"`
  214. CentralColourScreen string `gorm:"column:central_colour_screen" json:"central_colour_screen"`
  215. CenterConsoleLargeScreenSize string `gorm:"column:center_console_large_screen_size" json:"center_console_large_screen_size"`
  216. Gps string `gorm:"column:gps" json:"gps"`
  217. NavigationTrafficInformationDisplay string `gorm:"column:navigation_traffic_information_display" json:"navigation_traffic_information_display"`
  218. RoadRescueCall string `gorm:"column:road_rescue_call" json:"road_rescue_call"`
  219. CentralLcdSplitScreen string `gorm:"column:central_lcd_split_screen" json:"central_lcd_split_screen"`
  220. CarPhone string `gorm:"column:car_phone" json:"car_phone"`
  221. MobileInternet string `gorm:"column:mobile_internet" json:"mobile_internet"`
  222. VoiceControl string `gorm:"column:voice_control" json:"voice_control"`
  223. GestureControl string `gorm:"column:gesture_control" json:"gesture_control"`
  224. FaceRecognition string `gorm:"column:face_recognition" json:"face_recognition"`
  225. CarInternet string `gorm:"column:car_internet" json:"car_internet"`
  226. Ota string `gorm:"column:ota" json:"ota"`
  227. CarTv string `gorm:"column:car_tv" json:"car_tv"`
  228. BackLcd string `gorm:"column:back_lcd" json:"back_lcd"`
  229. RearControlMultimedia string `gorm:"column:rear_control_multimedia" json:"rear_control_multimedia"`
  230. ChargingInterface string `gorm:"column:charging_interface" json:"charging_interface"`
  231. NumberOfInterfaces string `gorm:"column:number_of_interfaces" json:"number_of_interfaces"`
  232. CdDvd string `gorm:"column:cd_dvd" json:"cd_dvd"`
  233. PowerOf220v string `gorm:"column:power_of220v" json:"power_of220v"`
  234. InterfaceOf12v string `gorm:"column:interface_of12v" json:"interface_of12v"`
  235. SpeakerBrand string `gorm:"column:speaker_brand" json:"speaker_brand"`
  236. SpeakerNumber string `gorm:"column:speaker_number" json:"speaker_number"`
  237. Near string `gorm:"column:near" json:"near"`
  238. Far string `gorm:"column:far" json:"far"`
  239. LightingFeatures string `gorm:"column:lighting_features" json:"lighting_features"`
  240. Daytime string `gorm:"column:daytime" json:"daytime"`
  241. AdaptiveFarNear string `gorm:"column:adaptive_far_near" json:"adaptive_far_near"`
  242. AutoHead string `gorm:"column:auto_head" json:"auto_head"`
  243. SteeringAssistLamp string `gorm:"column:steering_assist_lamp" json:"steering_assist_lamp"`
  244. SideTurn string `gorm:"column:side_turn" json:"side_turn"`
  245. Fog string `gorm:"column:fog" json:"fog"`
  246. HeadlampRainFogMode string `gorm:"column:headlamp_rain_fog_mode" json:"headlamp_rain_fog_mode"`
  247. HeightAdjustable string `gorm:"column:height_adjustable" json:"height_adjustable"`
  248. Clean string `gorm:"column:clean" json:"clean"`
  249. HeadlampDelayOff string `gorm:"column:headlamp_delay_off" json:"headlamp_delay_off"`
  250. TouchReadingLamp string `gorm:"column:touch_reading_lamp" json:"touch_reading_lamp"`
  251. Atmosphere string `gorm:"column:atmosphere" json:"atmosphere"`
  252. FrontElectricWindow string `gorm:"column:front_electric_window" json:"front_electric_window"`
  253. BackElectricWindow string `gorm:"column:back_electric_window" json:"back_electric_window"`
  254. WindowOneKey string `gorm:"column:window_one_key" json:"window_one_key"`
  255. AntiPinchHand string `gorm:"column:anti_pinch_hand" json:"anti_pinch_hand"`
  256. MultilayerSoundInsulationGlass string `gorm:"column:multilayer_sound_insulation_glass" json:"multilayer_sound_insulation_glass"`
  257. ExteriorRearviewMirrorFunction string `gorm:"column:exterior_rearview_mirror_function" json:"exterior_rearview_mirror_function"`
  258. InteriorRearviewMirrorFunction string `gorm:"column:interior_rearview_mirror_function" json:"interior_rearview_mirror_function"`
  259. BackSunshade string `gorm:"column:back_sunshade" json:"back_sunshade"`
  260. BackSideSunshade string `gorm:"column:back_side_sunshade" json:"back_side_sunshade"`
  261. BackSidePrivacy string `gorm:"column:back_side_privacy" json:"back_side_privacy"`
  262. Cosmetic string `gorm:"column:cosmetic" json:"cosmetic"`
  263. BackWiper string `gorm:"column:back_wiper" json:"back_wiper"`
  264. FrontWiper string `gorm:"column:front_wiper" json:"front_wiper"`
  265. HeatableSprayNozzle string `gorm:"column:heatable_spray_nozzle" json:"heatable_spray_nozzle"`
  266. AirconditionControlType string `gorm:"column:aircondition_control_type" json:"aircondition_control_type"`
  267. RearIndependentAirConditioner string `gorm:"column:rear_independent_air_conditioner" json:"rear_independent_air_conditioner"`
  268. RearSeatAirOutlet string `gorm:"column:rear_seat_air_outlet" json:"rear_seat_air_outlet"`
  269. TemperatureZoneControl string `gorm:"column:temperature_zone_control" json:"temperature_zone_control"`
  270. CarAirPurifier string `gorm:"column:car_air_purifier" json:"car_air_purifier"`
  271. Pm25Device string `gorm:"column:pm25_device" json:"pm25_device"`
  272. NegativeIonGenerator string `gorm:"column:negative_ion_generator" json:"negative_ion_generator"`
  273. FragranceSystem string `gorm:"column:fragrance_system" json:"fragrance_system"`
  274. Refrigerator string `gorm:"column:refrigerator" json:"refrigerator"`
  275. AuxiliaryDrivingChip string `gorm:"column:auxiliary_driving_chip" json:"auxiliary_driving_chip"`
  276. ChipComputingPower string `gorm:"column:chip_computing_power" json:"chip_computing_power"`
  277. NumberOfCameras string `gorm:"column:number_of_cameras" json:"number_of_cameras"`
  278. NumberOfUltrasonicRadars string `gorm:"column:number_of_ultrasonic_radars" json:"number_of_ultrasonic_radars"`
  279. NumberOfMillimeterWaveRadars string `gorm:"column:number_of_millimeter_wave_radars" json:"number_of_millimeter_wave_radars"`
  280. NumberOfLidars string `gorm:"column:number_of_lidars" json:"number_of_lidars"`
  281. BodyColour string `gorm:"column:body_colour" json:"body_colour"`
  282. InteriorColor string `gorm:"column:interior_color" json:"interior_color"`
  283. IsOn int64 `gorm:"column:is_on" json:"is_on"`
  284. CreatedAt int64 `gorm:"column:created_at" json:"created_at"`
  285. UpdatedAt int64 `gorm:"column:updated_at" json:"updated_at"`
  286. }
  287. type defalutDws22Model struct {
  288. tableName string
  289. }
  290. func NewDws22Model() Dws22Model {
  291. return &defalutDws22Model{
  292. tableName: "t_adm_dws22",
  293. }
  294. }
  295. func (d *defalutDws22Model) Get(db *gorm.DB) (*Dws22, error) {
  296. var res Dws22
  297. err := database.Get(db, &res, database.Option{
  298. TableName: d.tableName,
  299. })
  300. return &res, err
  301. }