TreadNode.java 1.04 KB
package com.yoho.rfid.model;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Created by chenchao on 2017/11/3.
 */
public class TreadNode {

    private String name;

    private long aliveDatetime;

    private String aliveDateTime;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAliveDateTime() {
        return aliveDateTime;
    }

    public void setAliveDateTime(String aliveDateTime) {
        this.aliveDateTime = aliveDateTime;
    }

    public long getAliveDatetime() {
        return aliveDatetime;
    }

    public void setAliveDatetime(long aliveDatetime) {
        this.aliveDatetime = aliveDatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("name", name)
                .append("aliveDatetime", aliveDatetime)
                .append("aliveDateTime", aliveDateTime)
                .toString();
    }
}