package com.unis.crk.hardware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单位硬件管理表
 * </p>
 *
 * @author ghh
 * @since 2021-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Unithardware对象", description="单位硬件管理表")
public class Unithardware implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "单位硬件ID")
    @TableId(value = "UnitHIID", type = IdType.UUID)
    private String UnitHIID;

    @ApiModelProperty(value = "单位ID")
    @TableField("UnitId")
    private String UnitId;

    @ApiModelProperty(value = "硬件编码ID，来源于硬件编码表")
    @TableField("DCID")
    private String dcid;

    @ApiModelProperty(value = "是否启用，0：停用，1：启用")
    @TableField("IsUsed")
    private Boolean IsUsed;

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

    @ApiModelProperty(value = "设备访问端口")
    @TableField("Port")
    private Integer Port;

    @ApiModelProperty(value = "设备分类编号，对于摄像头：大华：300，海康：200，兰溪特：800")
    @TableField("SeriesCode")
    private String SeriesCode;

    @ApiModelProperty(value = "通道号/起始位，对于摄像机代表通道号，通常为0；对于控制器代表通道起始位数")
    @TableField("ChannelCode")
    private Integer ChannelCode;

    @ApiModelProperty(value = "窗口号/结束位，对于摄像机，代表窗口号；对于控制器代表可能的通道结束位数")
    @TableField("WinCode")
    private Integer WinCode;

    @ApiModelProperty(value = "管理账号")
    @TableField("Account")
    private String Account;

    @ApiModelProperty(value = "管理账号密码")
    @TableField("PWD")
    private String pwd;

    @ApiModelProperty(value = "设备用途，1：拍照，2：车牌师表，3：称重显示，4：化验显示")
    @TableField("UseType")
    private Integer UseType;

    @ApiModelProperty(value = "工作机IP")
    @TableField("Filter_IP")
    private String filterIp;

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

    @ApiModelProperty(value = "硬件ID")
    @TableField("HIID")
    private String hiid;

    @ApiModelProperty(value = "天线(true,true,true,true)")
    @TableField("Antenna")
    private String antenna;

    @ApiModelProperty(value = "表示当前读写器工作的最大频点")
    @TableField("Power")
    private Integer power;
}
