PlatformDevice.java 3.43 KB
package com.glsx.model;

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

/**
 * <p>Description:
 * <p>Project: shop
 *
 * @author wbh
 * @date 2020-12-15
 */

/**
 * 设备管理表
 */
public class PlatformDevice implements Serializable {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 设备SN
     */
    private String deviceSn;

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

    /**
     * 客户id  t_platform_customer表的id
     */
    private Integer customerId;

    /**
     * 激活时间
     */
    private Date activatTime;

    /**
     * 设备状态 0 异常 1 正常
     */
    private Byte status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private Integer createBy;

    /**
     * 更新人
     */
    private Integer updateBy;

    /**
     * 备注
     */
    private String remark;

    public Integer getId() {
        return id;
    }

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

    public String getDeviceSn() {
        return deviceSn;
    }

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

    public String getDeviceType() {
        return deviceType;
    }

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

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Date getActivatTime() {
        return activatTime;
    }

    public void setActivatTime(Date activatTime) {
        this.activatTime = activatTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deviceSn=").append(deviceSn);
        sb.append(", deviceType=").append(deviceType);
        sb.append(", customerId=").append(customerId);
        sb.append(", activatTime=").append(activatTime);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}