package com.njcn.gather.plan.pojo.po;

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 lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("pq_dev_check_history")
public class PqDevCheckHistory {

    @TableId(value = "Id", type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("Plan_Id")
    private String planId;

    @TableField("Dev_Id")
    private String devId;

    @TableField("Dev_Type")
    private String devType;

    @TableField("Manufacturer")
    private String manufacturer;

    @TableField("ReCheck_Num")
    private Integer recheckNum;

    @TableField("Item_Id")
    private String itemId;

    @TableField("Item_Name")
    private String itemName;

    @TableField("Result")
    private Integer result;

    /**
     * 检测结束时间
     */
    @TableField("Check_Time")
    private LocalDateTime checkTime;

    @TableField("State")
    private Integer state;

    @TableField("Create_By")
    private String createBy;

    @TableField(value = "Create_Time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField("Update_By")
    private String updateBy;

    @TableField(value = "Update_Time", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}
