D60.java 1.95 KB
package com.bsth.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import javax.persistence.*;


/**
 * @author PanZhao
 * @ClassName: D60
 * @Description: TODO(调度指令)
 * @date 2016年6月7日 上午10:21:59
 */
@Entity
@Table(name = "bsth_v_directive_60")
public class D60 {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 设备编号
     */
    @JsonIgnore
    private String deviceId;

    /**
     * 时间戳
     */
    @JsonIgnore
    private Long timestamp;

    /**
     * 唯一标识
     */
    @JsonProperty("msgId")
    private Integer msgId;

    /**
     * 46收到时间
     */
    @JsonProperty("deviceReplyTime")
    private Long reply46Time;

    /**
     * 47收到时间
     */
    @JsonProperty("jsyReplyTime")
    private Long reply47Time;

    /**
     * 指令日期
     */
    @JsonIgnore
    private String rq;

    public Integer getId() {
        return id;
    }

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

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }

    public Long getReply46Time() {
        return reply46Time;
    }

    public void setReply46Time(Long reply46Time) {
        this.reply46Time = reply46Time;
    }

    public Long getReply47Time() {
        return reply47Time;
    }

    public void setReply47Time(Long reply47Time) {
        this.reply47Time = reply47Time;
    }

    public String getRq() {
        return rq;
    }

    public void setRq(String rq) {
        this.rq = rq;
    }
}