| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Data |
| | | @TableName("collect_bridge") |
| | | @NoArgsConstructor |
| | | public class CollectBridge { |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | |
| | | private String entrustCode; |
| | | |
| | | @ApiModelProperty("采集值") |
| | | private String collectValue; |
| | | private BigDecimal collectValue; |
| | | |
| | | @ApiModelProperty("时间") |
| | | private LocalDateTime collectDate; |
| | | @ApiModelProperty("采集温度") |
| | | private Double collectTemperature; |
| | | |
| | | @ApiModelProperty("第一次采集时间") |
| | | private LocalDateTime firstCollectDate; |
| | | |
| | | @ApiModelProperty("最后一次采集时间") |
| | | private LocalDateTime lastCollectDate; |
| | | |
| | | public CollectBridge(String entrustCode, BigDecimal collectValue, LocalDateTime firstCollectDate, LocalDateTime lastCollectDate) { |
| | | this.entrustCode = entrustCode; |
| | | this.collectValue = collectValue; |
| | | this.firstCollectDate = firstCollectDate; |
| | | this.lastCollectDate = lastCollectDate; |
| | | } |
| | | } |
| | | |