TcpContRule.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.java110.entity.rule;
  2. /**
  3. * 头部信息封装
  4. * "RuleType":"RULE0001", -- 用来区分走那个规则组
  5. "ServiceCode": "SVC0001", -- 用来判断走那些规则
  6. "TransactionID": "1001000101201603081234567890", -- 交易流水
  7. "ReqTime": "20130817200202123",--请求时间
  8. * Created by wuxw on 2017/7/23.
  9. */
  10. public class TcpContRule {
  11. private String ruleType;
  12. private String serviceCode;
  13. private String transactionId;
  14. private String reqTime;
  15. public String getRuleType() {
  16. return ruleType;
  17. }
  18. public void setRuleType(String ruleType) {
  19. this.ruleType = ruleType;
  20. }
  21. public String getServiceCode() {
  22. return serviceCode;
  23. }
  24. public void setServiceCode(String serviceCode) {
  25. this.serviceCode = serviceCode;
  26. }
  27. public String getTransactionId() {
  28. return transactionId;
  29. }
  30. public void setTransactionId(String transactionId) {
  31. this.transactionId = transactionId;
  32. }
  33. public String getReqTime() {
  34. return reqTime;
  35. }
  36. public void setReqTime(String reqTime) {
  37. this.reqTime = reqTime;
  38. }
  39. }