PlatformDevice.java 3.51 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 String customerName;

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

    /**
     * 设备状态 0 异常 1 正常
     */
    private Integer 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 Integer getStatus() {
        return status;
    }

    public void setStatus(Integer 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;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    @Override
    public String toString() {
        return "PlatformDevice{" +
                "id=" + id +
                ", deviceSn='" + deviceSn + '\'' +
                ", deviceType='" + deviceType + '\'' +
                ", customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", activatTime=" + activatTime +
                ", status=" + status +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createBy=" + createBy +
                ", updateBy=" + updateBy +
                ", remark='" + remark + '\'' +
                '}';
    }
}