package com.casic.missiles.modular.system.dto;

import com.baomidou.mybatisplus.activerecord.Model;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * 闸井查询
 */
@Data
public class DeviceDto  extends Model<DeviceDto> {

    /**
     * id : 1
     * wellCode : N51F131
     * devcode : 41201802450
     * deviceName : 井盖35336443
     * deviceType : 5
     * deviceTypeName : 井盖状态监测仪
     * watchType : 井盖开启
     * communication : 3G/4G
     * modelId : 5
     * modelName : BIRMM-WELL100
     * deptid : 24
     * deptName : 一分公司
     * installDate : 2018-12-27
     * position : 宋郎路
     * concenId : 5
     * concenCode : 468764135
     * onlineState : 0
     * onlineStateName : 在线
     * valid : 1
     * ts : 2018-12-27 00:00:00
     */

    private Long id;//主键
    @Length(max = 15,min = 12)
    private String wellCode;//闸井编号
    private String devcode;//设备编号
    private String deviceName;//设备名称
    private Long deviceType;//设备类型
    private String deviceTypeName;//设备类型名称
    private String watchType;//
    private String communication;
    private Long modelId;
    private String modelName;
    private String deptid;
    private String deptName;
    private String installDate;
    private String position;
    private Long concenId;
    private String concenCode;
    private String onlineState;
    private String onlineStateName;
    private String valid;
    private String ts;
    private String bfzt;
    private String bfztName;
    private String wellId;
    private String area;
    private String areaFullName;

    private String dayCount;
    private String monthCount;
    private String totalCount;
    private String watchNum;
    private String uptime;
    private String statusName;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
