zxl
2026-03-25 d1dfb6e35f38e27fd960dc3ad0130c8d0f5c39bb
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
package com.tievd.jyz.dto;
 
import com.tievd.cube.codegen.annotations.QueryField;
import com.tievd.cube.codegen.annotations.QueryFields;
import com.tievd.jyz.entity.Device;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
 
/**
 * @author hzy
 * datetime 2023-03-01
 *
 */
 
@Data
@Accessors(chain = true)
@QueryFields({@QueryField(value = "name", label = "网关名称"),
        @QueryField(value = "status", label = "状态")})
public class DeviceDTO extends Device {
 
    @Schema(description = "终端数量")
    private Integer cameraCount;
 
    @Schema(description = "终端在线数量")
    private Integer cameraOnlineCount;
 
}