¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | } |
| | | } |