package com.mvc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

public class DeviceAccModel {
    private Integer id;

    private String accId;

    private String deviceSn;

    private String deviceName;

    private String deviceQr;

    private String deviceType;

    private String createMan;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8",locale="zh")
    private Date createDate;

    private String certifFlag;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8",locale="zh")
    private Date certifDate;

    private String certifMan;

    private String certifId;

    private String curStateType;

    private String stateChangeId;

    private String cfgId;

    private String unitCode;

    private String stationCode;

    private String useFlag;

    private String unusedBecause;

    private String stationName;//遥测站名称

    private String curStateTypeName;//当前状态名称

    private String addflag;//增加方式  1、单独增加   2、逗号分隔增加 、3开始号，数量增加

    private Integer addnum;//增加的数量

    private Integer page;//页码

    private Integer rows;//每页条数

    private String batCode;

    /**
     * IMEI
     */
    private String imei;

    /**
     * IOT平台类型(1:OneNet,2:AEP)
     */
    private String iotType;

    /**
     * IOT平台中的deviceId
     */
    private String iotDeviceId;

    /**
     * 设备编码管理表ID
     */
    private Integer deviceSnManagementId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccId() {
        return accId;
    }

    public void setAccId(String accId) {
        this.accId = accId == null ? null : accId.trim();
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn == null ? null : deviceSn.trim();
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getDeviceQr() {
        return deviceQr;
    }

    public void setDeviceQr(String deviceQr) {
        this.deviceQr = deviceQr == null ? null : deviceQr.trim();
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType == null ? null : deviceType.trim();
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan == null ? null : createMan.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCertifFlag() {
        return certifFlag;
    }

    public void setCertifFlag(String certifFlag) {
        this.certifFlag = certifFlag == null ? null : certifFlag.trim();
    }

    public Date getCertifDate() {
        return certifDate;
    }

    public void setCertifDate(Date certifDate) {
        this.certifDate = certifDate;
    }

    public String getCertifMan() {
        return certifMan;
    }

    public void setCertifMan(String certifMan) {
        this.certifMan = certifMan == null ? null : certifMan.trim();
    }

    public String getCertifId() {
        return certifId;
    }

    public void setCertifId(String certifId) {
        this.certifId = certifId == null ? null : certifId.trim();
    }

    public String getCurStateType() {
        return curStateType;
    }

    public void setCurStateType(String curStateType) {
        this.curStateType = curStateType == null ? null : curStateType.trim();
    }

    public String getStateChangeId() {
        return stateChangeId;
    }

    public void setStateChangeId(String stateChangeId) {
        this.stateChangeId = stateChangeId == null ? null : stateChangeId.trim();
    }

    public String getCfgId() {
        return cfgId;
    }

    public void setCfgId(String cfgId) {
        this.cfgId = cfgId == null ? null : cfgId.trim();
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode == null ? null : unitCode.trim();
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode == null ? null : stationCode.trim();
    }

    public String getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(String useFlag) {
        this.useFlag = useFlag == null ? null : useFlag.trim();
    }

    public String getUnusedBecause() {
        return unusedBecause;
    }

    public void setUnusedBecause(String unusedBecause) {
        this.unusedBecause = unusedBecause == null ? null : unusedBecause.trim();
    }

    public String getCurStateTypeName() {
        return curStateTypeName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public void setCurStateTypeName(String curStateTypeName) {
        this.curStateTypeName = curStateTypeName;
    }

    public String getAddflag() {
        return addflag;
    }

    public void setAddflag(String addflag) {
        this.addflag = addflag;
    }

    public Integer getAddnum() {
        return addnum;
    }

    public void setAddnum(Integer addnum) {
        this.addnum = addnum;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public String getBatCode() {
        return batCode;
    }

    public void setBatCode(String batCode) {
        this.batCode = batCode == null ? null : batCode.trim();
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei == null ? null : imei.trim();
    }

    public String getIotType() {
        return iotType;
    }

    public void setIotType(String iotType) {
        this.iotType = iotType == null ? null : iotType.trim();
    }

    public String getIotDeviceId() {
        return iotDeviceId;
    }

    public void setIotDeviceId(String iotDeviceId) {
        this.iotDeviceId = iotDeviceId == null ? null : iotDeviceId.trim();
    }

    public Integer getDeviceSnManagementId() {
        return deviceSnManagementId;
    }

    public void setDeviceSnManagementId(Integer deviceSnManagementId) {
        this.deviceSnManagementId = deviceSnManagementId;
    }
}
