From 23855599412c4d61b38d78f0f3abd3430a48b5b1 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 25 六月 2025 11:51:38 +0800 Subject: [PATCH] Merge branch 'mdc_hyjs_master' --- lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentRunningSection.java | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 114 insertions(+), 0 deletions(-) diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentRunningSection.java b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentRunningSection.java new file mode 100644 index 0000000..00110c7 --- /dev/null +++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/entity/MdcEquipmentRunningSection.java @@ -0,0 +1,114 @@ +package org.jeecg.modules.mdc.entity; + +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; +import org.jeecg.common.system.base.entity.JeecgEntity; +import org.jeecgframework.poi.excel.annotation.Excel; +import org.springframework.format.annotation.DateTimeFormat; + +import java.io.Serializable; +import java.util.Date; +import java.util.Set; + +/** + * @Description: 璁惧杩愯鏃舵鐘舵�佽〃 + * @Author: jeecg-boot + * @Date: 2023-04-13 + * @Version: V1.0 + */ +@Data +@TableName("mdc_equipment_running_section") +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@ApiModel(value = "mdc_equipment_running_section瀵硅薄", description = "璁惧杩愯鏃舵鐘舵�佽〃") +public class MdcEquipmentRunningSection extends JeecgEntity implements Serializable { + + /** + * 璁惧缂栧彿 + */ + @Excel(name = "璁惧缂栧彿", width = 15) + @ApiModelProperty(value = "璁惧缂栧彿") + private String equipmentId; + /** + * 鎶ヨ鍙� + */ + @Excel(name = "鎶ヨ鍙�", width = 15) + @ApiModelProperty(value = "鎶ヨ鍙�") + private String alarm; + /** + * 鏃堕暱 + */ + @Excel(name = "鏃堕暱", width = 15) + @ApiModelProperty(value = "鏃堕暱") + private Long duration; + /** + * 鐘舵��,0:鍏虫満,1:寮�鏈�,2:寰呮満,3:宸ヤ綔,22:鎶ヨ + */ + @Excel(name = "鐘舵��,0:鍏虫満,1:寮�鏈�,2:寰呮満,3:宸ヤ綔,22:鎶ヨ", width = 15) + @ApiModelProperty(value = "鐘舵��,0:鍏虫満,1:寮�鏈�,2:寰呮満,3:宸ヤ綔,22:鎶ヨ") + private Integer status; + /** + * 绋嬪簭鍙� + */ + @Excel(name = "绋嬪簭鍙�", width = 15) + @ApiModelProperty(value = "绋嬪簭鍙�") + private String sequenceNumber; + /** + * beltLine + */ + @Excel(name = "beltLine", width = 15) + @ApiModelProperty(value = "beltLine") + private String beltLine; + /** + * 寮�濮嬫椂闂� + */ + @Excel(name = "寮�濮嬫椂闂�", width = 20, format = "yyyy-MM-dd") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @ApiModelProperty(value = "寮�濮嬫椂闂�") + private Date startTime; + /** + * 缁撴潫鏃堕棿 + */ + @Excel(name = "缁撴潫鏃堕棿", width = 20, format = "yyyy-MM-dd") + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @ApiModelProperty(value = "缁撴潫鏃堕棿") + private Date endTime; + /** + * 寮�濮嬫椂闂存埑 + */ + @Excel(name = "寮�濮嬫椂闂存埑", width = 15) + @ApiModelProperty(value = "寮�濮嬫椂闂存埑") + private Long startLong; + /** + * 缁撴潫鏃堕棿鎴� + */ + @Excel(name = "缁撴潫鏃堕棿鎴�", width = 15) + @ApiModelProperty(value = "缁撴潫鏃堕棿鎴�") + private Long endLong; + + /** + * 鍏宠仈鎶ヨ淇℃伅 + */ + @TableField(exist = false) + private Set<TmpEquipmentAlarm> tmpEquipmentAlarmSet; + + public MdcEquipmentRunningSection() { + } + + public MdcEquipmentRunningSection(Integer status, String equipmentId, Date startTime, Date endTime, Long startLong, Long endLong) { + this.status = status; + this.equipmentId = equipmentId; + this.startTime = startTime; + this.endTime = endTime; + this.startLong = startLong; + this.endLong = endLong; + } +} -- Gitblit v1.9.3