ProxyNode.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package top.lvzhiqiang.entity;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import lombok.Data;
  5. import java.io.Serializable;
  6. import java.time.LocalDateTime;
  7. /**
  8. * 代理节点表
  9. *
  10. * @author lvzhiqiang
  11. * 2025/10/17 17:16
  12. */
  13. @Data
  14. public class ProxyNode implements Serializable {
  15. /**
  16. * 主键
  17. */
  18. private Long id;
  19. private String protocol;
  20. private String address;
  21. private Integer port;
  22. private String password;
  23. private String status;
  24. private Integer priority;
  25. private String countryCode;
  26. /**
  27. * 创建时间
  28. */
  29. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  30. private LocalDateTime lastTestedAt;
  31. private JSONObject extraConfig;
  32. /**
  33. * 删除标志{1:正常,2:已删除}
  34. */
  35. private Integer deleteFlag;
  36. /**
  37. * 创建时间
  38. */
  39. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  40. private LocalDateTime createTime;
  41. /**
  42. * 最后修改时间
  43. */
  44. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  45. private LocalDateTime modifyTime;
  46. }