/*
 * @Author: Your Name lishengyin@sz-sunwin.com
 * @Date: 2022-04-26 15:33:34
 * @LastEditors: lishengyin
 * @LastEditTime: 2022-06-21 15:59:31
 * @FilePath: /ins/framework/dataType/include/InsAIList.hpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

#ifndef __INSAILIST_HPP
#define __INSAILIST_HPP

#include "K8sServerBase.hpp"


class InsAIList:public MsgBase
{
public:
    std::string NAME;
    std::string DESCRIPTION;

public:
    InsAIList(){}
    ~InsAIList(){}

    /**
     * @description: objectToJson
     * @param {string&} str
     * @return {*}
     */    
    void ObjectToJson(std::string& str) override;

    /**
     * @description: objectTojson
     * @return {*}
     */    
    void ObjectToJson(rapidjson::Writer<rapidjson::StringBuffer>& writer) override;

    /**
     * @description: jsonToObject
     * @param {string&} json
     * @return {*}
     */    
    bool jsonToObject(const std::string& json) override;

    /**
     * @description: jsonToObject
     * @param {Value&} object
     * @return {*}
     */    
    bool jsonToObject(const rapidjson::Value& object) override;

    /**
     * @description: ObjectToSql
     * @param {string&} sql
     * @return {*}
     */    
    virtual bool ObjectToSql(std::string& sql) override;

    /**
     * @description: ObjectToSql后处理
     * @param {string&} sql
     * @return {*}
     */ 
    virtual bool ObjectToSqlBack(std::string & sql) override;
};






#endif