CcGateways.java 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.ruoyi.cc.domain;
  2. import com.fasterxml.jackson.annotation.JsonInclude;
  3. import lombok.Data;
  4. import lombok.experimental.Accessors;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import com.ruoyi.common.annotation.Excel;
  8. import com.ruoyi.common.core.domain.BaseEntity;
  9. import java.io.Serializable;
  10. import java.util.Date;
  11. import java.util.HashMap;
  12. import java.util.List;
  13. import java.util.Map;
  14. /**
  15. * 线路配置对象 cc_gateways
  16. *
  17. * @author ruoyi
  18. * @date 2024-12-22
  19. */
  20. @Data
  21. @Accessors(chain = true)
  22. public class CcGateways implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. /** id */
  25. private Long id;
  26. /** 网关名称 */
  27. private String gwName;
  28. /** profile名称 */
  29. private String profileName;
  30. /** 外呼的主叫号码 */
  31. private String caller;
  32. /** 被叫前缀; */
  33. private String calleePrefix;
  34. /** 网关地址; ip地址:端口 */
  35. private String gwAddr;
  36. /** 外呼语音编码 */
  37. private String codec;
  38. /** 网关名称描述; */
  39. private String gwDesc;
  40. /** 网关最大并发数; 仅用作手工选择参考,不用于程序判断: */
  41. private Long maxConcurrency;
  42. /** 注册模式下;认证用户名 */
  43. private String authUsername;
  44. /** 反向注册模式下;分机号 */
  45. private String authUsername2;
  46. /** 注册模式下;认证密码 */
  47. private String authPassword;
  48. /** 使用优先级; 数字1-9; 数字越小,越优先被使用 */
  49. private Long priority;
  50. /** 更新时间 */
  51. private Long updateTime;
  52. /** 是否需要认证注册; 0 对接模式, 1注册模式, 2反向注册模式 */
  53. private Long register;
  54. /** 自定义属性 */
  55. private String configs;
  56. /** 网关用途 0 dropped; 1 phonebar; 2 outbound tasks; 3. Unlimited */
  57. private Integer purpose;
  58. /** 查询条件请求参数 */
  59. @JsonInclude(JsonInclude.Include.NON_EMPTY)
  60. private Map<String, Object> params = new HashMap<>();
  61. private Integer pageSize;
  62. private Integer pageNum;
  63. private List<Long> gatewayIds;
  64. }