package com.ruoyi.device.mqtt.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 报税口密文数据
 *
 * @author lwm
 */
public class CiphertextData implements Serializable
{
    private static final long serialVersionUID = 1L;
 
    /**
     * 设备 SN码
     */
    private Long deviceSn;

    /**
     * 设备类型
     */
    private String deviceType;

    /**
     * 密文数据（十六进制字符串）
     */
    private String data;

    /**
     * 发送次数（重试计数）
     */
    private Integer sendTimes;

    /**
     * 发送时间戳（毫秒）
     */
    private Long sendTime;

    /**
     * 数据接收时间
     */
    private Date dateTime;

    /**
     * Redis Hash 一级键（数据类型标识）
     */
    private String key1;

    /**
     * Redis Hash 二级键（唯一标识：网关_采集器_税号_枪号_流水号）
     */
    private String key2;

    /**
     * 提枪时间
     */
    private Date raiseTime;

    /**
     * 挂枪时间
     */
    private Date hangTime;

    /**
     * 平台标识（用于区分不同的业务平台）
     */
    private String platform;

    public Long getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(Long deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getData()
    {
        return data;
    }

    public void setData(String data)
    {
        this.data = data;
    }

    public Integer getSendTimes()
    {
        return sendTimes;
    }

    public void setSendTimes(Integer sendTimes)
    {
        this.sendTimes = sendTimes;
    }

    public Long getSendTime()
    {
        return sendTime;
    }

    public void setSendTime(Long sendTime)
    {
        this.sendTime = sendTime;
    }

    public Date getDateTime()
    {
        return dateTime;
    }

    public void setDateTime(Date dateTime)
    {
        this.dateTime = dateTime;
    }

    public String getKey1()
    {
        return key1;
    }

    public void setKey1(String key1)
    {
        this.key1 = key1;
    }

    public String getKey2()
    {
        return key2;
    }

    public void setKey2(String key2)
    {
        this.key2 = key2;
    }

    public Date getRaiseTime()
    {
        return raiseTime;
    }

    public void setRaiseTime(Date raiseTime)
    {
        this.raiseTime = raiseTime;
    }

    public Date getHangTime()
    {
        return hangTime;
    }

    public void setHangTime(Date hangTime)
    {
        this.hangTime = hangTime;
    }

    public String getPlatform()
    {
        return platform;
    }

    public void setPlatform(String platform)
    {
        this.platform = platform;
    }
}
