package cn.iocoder.yudao.module.mes.controller.admin.em.meter.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 能耗计量点 Response VO")
|
@Data
|
public class MesEmMeterRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
private Long id;
|
|
@Schema(description = "计量点编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "EM-DL-001")
|
private String code;
|
|
@Schema(description = "计量点名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "变压器车间总电表")
|
private String name;
|
|
@Schema(description = "能源类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Integer energyType;
|
|
@Schema(description = "能源类型名称", example = "电")
|
private String energyTypeName;
|
|
@Schema(description = "计量单位", example = "kWh")
|
private String unit;
|
|
@Schema(description = "表号", example = "DTSD341-001")
|
private String meterNo;
|
|
@Schema(description = "所属车间编号", example = "7")
|
private Long workshopId;
|
|
@Schema(description = "所属车间名称", example = "变压器制造车间")
|
private String workshopName;
|
|
@Schema(description = "所属产线编号", example = "1")
|
private Long lineId;
|
|
@Schema(description = "所属产线名称", example = "变压器生产线")
|
private String lineName;
|
|
@Schema(description = "关联设备编号", example = "1001")
|
private Long machineryId;
|
|
@Schema(description = "关联设备名称", example = "真空浇注罐")
|
private String machineryName;
|
|
@Schema(description = "倍率", example = "1")
|
private BigDecimal ratio;
|
|
@Schema(description = "初始读数", example = "0")
|
private BigDecimal initialReading;
|
|
@Schema(description = "折标煤系数(kgce/计量单位)", example = "0.1229")
|
private BigDecimal coalFactor;
|
|
@Schema(description = "日用量异常上限", example = "500")
|
private BigDecimal leakThreshold;
|
|
@Schema(description = "责任人编号", example = "1")
|
private Long chargeUserId;
|
|
@Schema(description = "责任人名称", example = "张三")
|
private String chargeUserName;
|
|
@Schema(description = "投用日期")
|
private LocalDate installDate;
|
|
@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
private Integer status;
|
|
@Schema(description = "状态名称", example = "启用")
|
private String statusName;
|
|
@Schema(description = "备注", example = "备注")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|