1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  | package com.dy.pipIrrRemote.common.dto; 
 |    
 |  import jakarta.validation.constraints.NotBlank; 
 |  import lombok.Data; 
 |    
 |  /** 
 |   * @author ZhuBaoMin 
 |   * @date 2024-07-05 8:55 
 |   * @LastEditTime 2024-07-05 8:55 
 |   * @Description 域名对象,包含通道号、域名、IP、端口号 
 |   */ 
 |    
 |  @Data 
 |  public class Domain extends DtoBase { 
 |      public static final long serialVersionUID = 202407050857001L; 
 |    
 |      /** 
 |       * 功能码 
 |       */ 
 |      @NotBlank(message = "功能码不能为空") 
 |      private String commandCode; 
 |    
 |      /** 
 |       * IP通道号,取值范围:1,2 
 |       */ 
 |      private Integer channel; 
 |    
 |      /** 
 |       * 域名 
 |       */ 
 |      private String domain; 
 |    
 |      /** 
 |       * IP地址 
 |       */ 
 |      private String ip; 
 |    
 |      /** 
 |       * 端口号 
 |       */ 
 |      private Integer port; 
 |  } 
 |  
  |