SmartScenceSupstatus.java 1.24 KB
package cn.com.glsx.smart.modules.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>Description:
 * <p>Project: chejia-smart
 *
 * @author wbh
 * @date 2021-03-19
 */


/**
 * 车家智能场景支持设备条件表
 */
@Data
@Table(name = "smart_scence_supstatus")
public class SmartScenceSupstatus {
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    private Integer id;

    /**
     * 产品支持状态code
     */
    @Column(name = "scene_supstatus_code")
    private String sceneSupstatusCode;

    /**
     * 产品支持状态value
     */
    @Column(name = "scene_supstatus_value")
    private String sceneSupstatusValue;

    /**
     * 产品id
     */
    @Column(name = "product_id")
    private String productId;

    /**
     * 状态对应的指令code
     */
    @Column(name = "order_code")
    private String orderCode;

    @Column(name = "order_value")
    private String orderValue;

    /**
     * 1.等于 2.大于 3.小于
     */
    @Column(name = "`type`")
    private String type;

    /**
     * 状态 1上线 0下线
     */
    @Column(name = "status")
    private Byte status;
}