package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wr
 * @since 2023-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pms_terminal_detection")
@ApiModel(value="PmsTerminalDetection对象", description="")
public class PmsTerminalDetection extends BaseEntity implements  Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "终端编号")
    @TableId(value = "Id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "终端名称")
    @TableField("Name")
    private String name;

    @ApiModelProperty(value = "组织机构名称")
    @TableField("Org_Name")
    private String orgName;

    @ApiModelProperty(value = "组织机构ID(外键)")
    @TableField("Org_No")
    private String orgNo;

    @ApiModelProperty(value = "生产厂家(字典)")
    @TableField("Manufacture")
    private String manufacture;

    @ApiModelProperty(value = "安装位置")
    private String installPlace;

    @ApiModelProperty(value = "送检单位")
    @TableField("inspection_Unit")
    private String inspectionUnit;

    @ApiModelProperty(value = "检测结果(0:未开展 1:已开展)")
    private Integer testResults;

    @ApiModelProperty(value = "检测时间")
    @TableField("inspection_Time")
    private LocalDate inspectionTime;

    @ApiModelProperty(value = "下次检测时间")
    @TableField("next_inspection_Time")
    private LocalDate nextInspectionTime;

    @ApiModelProperty(value = "检测报告文件名称")
    @TableField("inspection_Name")
    private String inspectionName;

    @ApiModelProperty(value = "检测报告")
    @TableField("inspection_Report")
    private String inspectionReport;

    @ApiModelProperty(value = "原始数据报告文件名称")
    @TableField("original_Name")
    private String originalName;

    @ApiModelProperty(value = "原始数据报告")
    @TableField("original_Report")
    private String originalReport;

    @ApiModelProperty(value = "数据状态：0-删除；1-正常； ")
    @TableField("Status")
    private Integer status;

    @ApiModelProperty(value = "创建用户")
    @TableField("Create_By")
    private String createBy;

    @ApiModelProperty(value = "更新用户")
    @TableField("Update_By")
    private String updateBy;


}
