package com.unis.detectionnum.common.vo;

import lombok.Data;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="摄像头设备参数VO",description="摄像头设备参数VO")
@Data
public class DeviceCameraParamVO{

	@ApiModelProperty(value="设备编号（仓房code+001）")
    private String sbCode;

	@ApiModelProperty(value="设备名称")
    private String sbName;

	@ApiModelProperty(value="所属仓房编号")
    private String cfbh;

	@ApiModelProperty(value="所属仓房名称")
    private String cfmc;

	@ApiModelProperty(value="设备ip地址")
    private String sbIpdz;

	@ApiModelProperty(value="设备子网掩码")
    private String sbZwym;

	@ApiModelProperty(value="设备网关")
    private String sbWgdz;

	@ApiModelProperty(value="设备端口号")
    private String sbDkh;

	@ApiModelProperty(value="设备协议版本")
    private String sbXybb;

	@ApiModelProperty(value="设备类型(0:探头   1:摄像头)")
    private Integer sbLx;

	@ApiModelProperty(value="设备状态（0，正常。1，错误）")
    private Integer sbZt;

	@ApiModelProperty(value="粮食告警阈值设置（外网暂时无法获取公司参数配置，暂时在设备设置）")
    private Double sbAlarmNum;

	@ApiModelProperty(value="创建时间")
    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

	@ApiModelProperty(value="备注")
    private String remark;

	/**
	 * 账户
	 */
	@ApiModelProperty(value="账户")
    private String account;

	/**
	 * 密码
	 */
	@ApiModelProperty(value="密码")
    private String password;

	/**
	 * 通道号
	 */
	@ApiModelProperty(value="通道号")
    private String passageway;

	/**
	 * 匹配标识
	 */
	@ApiModelProperty(value="匹配标识")
    private String matchIdentifier;
}