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;
|
|
}
|