package com.ruoyi.iot.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author wzh
 * @since 2023-06-25
 */
@Getter
@Setter
@TableName("t_plan_record")
public class TPlanRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运行记录
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 运行时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 设备ID
     */
    private String deviceId;


    /**
     * 用户ID
     */
    private Long userId;

    /**状态*/
    private Integer status;

    /**
     * 检测状态
     */
    private String checkResult;

    /**
     * 原预约的ID
     */
    private Long planId;

    private LocalDateTime planTime;
    private LocalDateTime checkTime;

    private String ccid;

}
