package cn.iocoder.yudao.module.mes.dal.dataobject.dv.telemetry;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 设备数采遥测数据 DO
|
*
|
* @author 超级管理员
|
*/
|
@TableName("mes_dv_telemetry")
|
@KeySequence("mes_dv_telemetry_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesDvTelemetryDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
/**
|
* 数采设备ID(外部 tbDeviceId)
|
*/
|
private String tbDeviceId;
|
/**
|
* 设备名称
|
*/
|
private String deviceName;
|
/**
|
* 信号名称
|
*/
|
private String paramName;
|
/**
|
* 设备KEY名称
|
*/
|
private String paramKeyName;
|
/**
|
* 标准值
|
*/
|
private String standardValue;
|
/**
|
* 信号值(实时)
|
*/
|
private String timelyValue;
|
/**
|
* 均值
|
*/
|
private String avgValue;
|
/**
|
* 最大值
|
*/
|
private String maxValue;
|
/**
|
* 最小值
|
*/
|
private String minValue;
|
/**
|
* 是否异常
|
*/
|
private Boolean whetherAnomaly;
|
/**
|
* 遥测数据时间
|
*/
|
private LocalDateTime telemetryDataTime;
|
/**
|
* 单据号
|
*/
|
private String billNo;
|
/**
|
* 班次
|
*
|
* 字典 {@link cn.iocoder.yudao.module.mes.enums.DictTypeConstants#MES_CAL_SHIFT_TYPE}
|
*/
|
private String shiftName;
|
/**
|
* 拉取时间(本次入库时间)
|
*/
|
private LocalDateTime pullTime;
|
|
}
|