SmartDeviceOrder.java 1013 Bytes
package cn.com.glsx.smart.modules.entity;

import lombok.Data;

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

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

@Data
@Table(name = "smart_device_order")
public class SmartDeviceOrder {
    @Id
    @Column(name = "id")
    private Integer id;

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

    @Column(name = "order_code")
    private String orderCode;

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

    /**
     * 设备类型 1.非固定值不需要查询 2.固定值需要查询
     */
    @Column(name = "order_type")
    private String orderType;

    /**
     * 1.String类型 2.Interger类型 3.boolean类型
     */
    @Column(name = "order_value_type")
    private String orderValueType;

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