#pragma once

#include <iostream>
#include <rapidjson/document.h>
#include <rapidjson/rapidjson.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <vector>

using namespace  std;


class NettyHttpTrainInfo
{
public:
    std::string addTime;
    std::string updateTime;
    int createBy;
    int updateBy;
    int enableFlag;
    std::string attr1;
    std::string attr2;
    std::string attr3;
    int appId;
    int carId;
    int carType;
    std::string carName;
    std::string parentCarCode;
    std::string carCode;
    std::string carImgUrl;
    std::string orderNo;
    std::string remark;

public:
    NettyHttpTrainInfo() {}
    ~NettyHttpTrainInfo() {}

    bool jsonToObject(const rapidjson::Value& object);
};