com.app.common.loadbalance.TLoadbalanceRouter Maven / Gradle / Ivy
The newest version!
package com.app.common.loadbalance;
import com.alibaba.fastjson.annotation.JSONField;
/**
*负载路由表 Po对象
*
*2022.08.31: 创建. 模板插件(V1.3.7781.22279(build:20210421)) 模板版本(v1.0.0.1)
*/
public class TLoadbalanceRouter {
@JSONField(name = "id",serialize=true)
public String id = "";//
@JSONField(name = "server_name",serialize=true)
public String servername;//服务名
@JSONField(name = "server_name_dest",serialize=true)
public String servernamedest;//路由服务器名
@JSONField(name = "request_args_key",serialize=true)
public String requestargskey;//请求参数key
@JSONField(name = "subscribe_args_key",serialize=true)
public String subscribeargskey;//订阅参数key
@JSONField(name = "args_type",serialize=true)
public String argstype;//1:Limit枚举,2:区间
@JSONField(name = "args_value",serialize=true)
public String argsvalue;//参数值
@JSONField(name = "create_time",serialize=true)
public String createtime;//创建时间
@JSONField(name = "update_time",serialize=true)
public String updatetime;//更新时间
@Override
public String toString() {
return "TLoadbalanceRouter [id=" + id + ", servername=" + servername + ", servernamedest=" + servernamedest
+ ", requestargskey=" + requestargskey + ", subscribeargskey=" + subscribeargskey + ", argstype="
+ argstype + ", argsvalue=" + argsvalue + ", createtime=" + createtime + ", updatetime="
+ updatetime + "]";
}
}