| | |
| | | package org.jeecg.modules.dry.entity; |
| | | |
| | | import java.io.Serializable; |
| | | import java.io.UnsupportedEncodingException; |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.jeecg.modules.dry.vo.RealTimeDataVo; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import org.jeecgframework.poi.excel.annotation.Excel; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | @ApiModelProperty(value = "更新时间") |
| | | private Date updateTime; |
| | | |
| | | |
| | | public DryHerbFormula(){} |
| | | public DryHerbFormula(RealTimeDataVo realTimeDataVo) { |
| | | this.code = realTimeDataVo.getIndex() + ""; |
| | | this.delay = realTimeDataVo.getDelay(); |
| | | this.name = realTimeDataVo.getName(); |
| | | this.delay = realTimeDataVo.getDelay(); |
| | | this.turn = realTimeDataVo.getTurntime(); |
| | | this.feed = realTimeDataVo.getWeight1(); |
| | | this.target = realTimeDataVo.getMoisture3(); |
| | | this.windTemp = realTimeDataVo.getTemp3(); |
| | | this.et = realTimeDataVo.getTime1(); |
| | | this.tenantId = realTimeDataVo.getTenantid(); |
| | | } |
| | | } |